X86: Don't assert on older Intel CPUs [BZ #20647]
[glibc.git] / ChangeLog
blob81dd89ff27c420a1e1d4f7604b28f51cfdd2eccd
1 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
3         [BZ #20647]
4         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5         maximum CPUID level is less than 2.
7 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10         (totalorder): New declaration.
11         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
12         New macro.
13         * math/Versions (totalorder): New libm symbol at version
14         GLIBC_2.25.
15         (totalorderf): Likewise.
16         (totalorderl): Likewise.
17         * math/Makefile (libm-calls): Add s_totalorderF.
18         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
19         string.
20         * math/libm-test.inc (PAYLOAD_DIG): New macro.
21         (qnan_value_pl): Likewise.
22         (snan_value_pl): Likewise.
23         (qnan_value): Define using qnan_value_pl.
24         (snan_value): Define using snan_value_pl.
25         (struct test_ff_i_data): Add comment about which tests use this
26         structure.
27         (RUN_TEST_ff_b): New macro.
28         (RUN_TEST_LOOP_ff_b): Likewise.
29         (totalorder_test_data): New array.
30         (totalorder_test): New function.
31         (main): Call totalorder_test.
32         * math/test-tgmath.c (NCALLS): Increase to 122.
33         (F(compile_test)): Call totalorder.
34         (F(totalorder)): New function.
35         * manual/arith.texi (FP Comparison Functions): Document
36         totalorder, totalorderf and totalorderl.
37         * manual/libm-err-tab.pl: Update comment on interfaces without
38         ulps tabulated.
39         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
40         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
41         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
42         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
43         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
44         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
45         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
46         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
47         totalorder.
48         (CFLAGS-nldbl-totalorder.c): New variable.
49         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
50         file.
51         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
52         Add test-totalorderl-ldbl-128ibm.
53         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
54         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
55         test-totalorderl-ldbl-96.
56         * sysdeps/nacl/libm.abilist: Update.
57         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
58         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
59         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
60         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
62         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
63         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
64         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
65         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
68         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
69         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
70         Likewise.
71         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
72         Likewise.
73         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
74         Likewise.
75         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
76         Likewise.
77         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
78         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
79         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
80         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
81         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
82         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
83         Likewise.
84         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
85         Likewise.
86         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
87         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
88         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
90 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
92         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
93         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
94         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
95         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
96         remove ENOSYS implementation.
97         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
98         Consolidate all Linux implementations.
100 2016-10-11  Florian Weimer  <fweimer@redhat.com>
102         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
103         * resolv/herror.c (herror): Cast away const-ness.
104         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
105         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
107 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
109         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
110         instead of M_NAN + M_NAN.
111         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
113 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
115         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
116         unused variable 'p'.
118 2016-10-09  Alan Modra  <amodra@gmail.com>
119             Andreas Schwab  <schwab@linux-m68k.org>
121         [BZ #20554]
122         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
123         [PIC && !SHARED]: Set up PIC register for PLT call.
125 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
127         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
128         conditional on value of [__FLT_EVAL_METHOD__].
129         * math/test-iseqsig-excess-precision.c: New file.
130         * math/Makefile (tests): Add test-iseqsig-excess-precision.
132 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
134         * math/s_iseqsig_template.c: Include math-private.h.
136         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
137         * posix/tst-posix_fadvise.c: New file.
138         * posix/tst-posix_fadvise64.c: Likewise.
139         * posix/tst-posix_fadvise-common.c: Likewise.
140         * sysdeps/unix/sysv/linux/arm/kernel-features.h
141         (__ASSUME_FADVISE64_64_6ARG): Define.
142         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
143         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
144         * sysdeps/unix/sysv/linux/tile/kernel-features.h
145         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
146         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
147         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
148         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
149         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
150         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
151         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
152         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
153         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
156         Likewise.
157         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
158         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
159         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
160         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
161         Alias to __posix_fadvise64_l32.
162         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
163         Add compat definition to posix_fadvise64.
164         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
165         Add versioned definition to posix_fadvise64.
166         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
167         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
168         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
169         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
170         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
172         * io/Makefile (tests): Add tst-posix_fallocate and
173         tst-posix_fallocate64.
174         * io/tst-posix_fallocate-common.c: New file.
175         * io/tst-posix_fallocate.c: Likewise.
176         * io/tst-posix_fallocate64.c: Likewise.
177         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
178         file.
179         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
180         Likewise.
181         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
182         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
183         Likewise.
184         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
185         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
186         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
187         SYSCALL_LL to pass both offset and len arguments.
188         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
189         Likewise.
190         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
191         __libc_pwrite64 alias used by posix_fallocate64.
193         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
194         tst-fallocate64.
195         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
196         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
197         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
198         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
199         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
200         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
201         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
202         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
203         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
204         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
205         macro on offset argument.
206         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
207         SYSCALL_LL64 on offset argument.
209         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
210         tst-fallocate64.
211         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
212         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
213         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
214         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
215         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
216         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
217         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
218         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
219         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
220         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
221         macro on offset argument.
222         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
223         SYSCALL_LL64 on offset argument.
224         * test-skeleton.c (FAIL_RET): Add macro.
225         (FAIL_EXIT): Likewise.
226         (FAIL_EXIT1): Likewise.
227         (_FAIL): Likewise.
229 2016-10-07  Florian Weimer  <fweimer@redhat.com>
231         [BZ #20629]
232         resolv: Remove RES_USEBSTRING and its implementation.
233         * resolv/resolv.h (RES_USEBSTRING): Remove.
234         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
235         (digitvalue, encode_bitstring, decode_bitstring): Remove.
236         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
237         (labellen): Remove extended label types support.
238         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
239         * resolv/res_init.c (res_setoptions): Likewise.
240         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
242 2016-10-07  Florian Weimer  <fweimer@redhat.com>
244         resolv: Remove RES_NOIP6DOTINT and its implementation.
245         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
246         (RES_NOIP6DOTINT): Remove.
247         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
248         handling.
249         * resolv/res_debug.c (p_option): Likewise.
250         * resolv/res_init.c (res_setoptions): Likewise.
251         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
253 2016-10-07  Florian Weimer  <fweimer@redhat.com>
255         resolv: Deprecate unimplemented flags.
256         * misc/sys/cdefs.h (__glibc_macro_warning1)
257         (__glibc_macro_warning): Define.
258         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
259         (RES_KEEPTSIG): Mark as deprecated.
260         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
261         RES_NOCHECKNAME, RES_KEEPTSIG.
262         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
264 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
266         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
267         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
268         Use strong_alias to create symbols for glibc verison 2.19.
270 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
272         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
274 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
276         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
278 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
280         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
282 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
284         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
285         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
286         in header for using it as type for ifunc function because __GI_* symbols
287         for ppc32 do not target the ifunc symbols.
288         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
290 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
292         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
293         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
294         libc_ifunc_hidden_def.
295         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
296         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
297         Redirect ifunced function in header for using it as type of ifunc'ed
298         function. Redefine libc_hidden_def to use fallback non ifunc'ed
299         function for __GI_* symbol.
300         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
301         * include/libc-symbols.h
302         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
304 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
306         [BZ #20478]
307         * sysdeps/s390/multiarch/ifunc-resolve.h
308         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
309         to create ifunc symbols.
310         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
311         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
312         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
313         for using it as type for ifunc function.
314         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
315         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
316         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
317         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
318         * sysdeps/s390/multiarch/strcat.c: Likewise.
319         * sysdeps/s390/multiarch/strchr.c: Likewise.
320         * sysdeps/s390/multiarch/strcmp.c: Likewise.
321         * sysdeps/s390/multiarch/strcpy.c: Likewise.
322         * sysdeps/s390/multiarch/strcspn.c: Likewise.
323         * sysdeps/s390/multiarch/strlen.c: Likewise.
324         * sysdeps/s390/multiarch/strncmp.c: Likewise.
325         * sysdeps/s390/multiarch/strncpy.c: Likewise.
326         * sysdeps/s390/multiarch/strnlen.c: Likewise.
327         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
328         * sysdeps/s390/multiarch/strrchr.c: Likewise.
329         * sysdeps/s390/multiarch/strspn.c: Likewise.
330         * sysdeps/s390/multiarch/wcschr.c: Likewise.
331         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
332         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
333         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
334         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
335         * sysdeps/s390/multiarch/wmemset.c: Likewise.
336         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
337         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
338         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
339         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
340         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
341         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
343 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
345         * include/libc-symbols.h (__ifunc_resolver):
346         New macro is used by __ifunc* macros.
347         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
348         depending on HAVE_GCC_IFUNC.
349         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
350         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
352         Redirect ifunced function in header for using as type for ifunc function.
353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
357         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
358         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
359         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
360         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
361         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
362         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
363         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
364         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
365         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
366         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
372         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
373         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
374         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
375         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
376         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
377         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
378         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
379         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
380         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
381         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
382         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
383         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
384         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
385         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
387         Add libc_hidden_def() and use libc_ifunc_hidden() macro
388         instead of libc_ifunc() macro.
389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
390         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
392 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
394         * config.h.in (HAVE_GCC_IFUNC): New undef.
395         * configure.ac: Add check if gcc supports attribute ifunc feature.
396         * configure: Regenerated.
397         * manual/install.texi: Add recommendation for gcc with
398         indirect-function support.
399         * INSTALL: Regenerated.
401 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
403         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
404         macro.
405         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
406         (__iseqsig): New declaration.
407         * math/s_iseqsig_template.c: New file.
408         * math/Versions (__iseqsigf): New libm symbol at version
409         GLIBC_2.25.
410         (__iseqsig): Likewise.
411         (__iseqsigl): Likewise.
412         * math/libm-test.inc (iseqsig_test_data): New array.
413         (iseqsig_test): New function.
414         (main): Call iseqsig_test.
415         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
416         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
417         * manual/libm-err-tab.pl: Update comment on interfaces without
418         ulps tabulated.
419         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
420         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
421         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
422         * sysdeps/nacl/libm.abilist: Update.
423         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
424         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
425         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
426         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
427         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
428         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
429         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
430         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
431         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
432         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
433         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
434         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
436         Likewise.
437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
438         Likewise.
439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
440         Likewise.
441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
442         Likewise.
443         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
444         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
445         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
446         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
447         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
449         Likewise.
450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
451         Likewise.
452         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
456 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
458         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
459         do_sincos_2, sloww, sloww1): Update comments.
461         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
462         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
464         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
465         K boolean and rename it.
466         (__sin): Adjust.
467         (__cos): Adjust.
469 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
470             Siddhesh Poyarekar  <siddhesh@sourceware.org>
472         * manual/nss.texi: Fix typos in the manual.
474 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
476         * manual/contrib.texi: Fix typos in the manual.
478         * manual/maint.texi: Fix typos in the manual.
480         * manual/install.texi: Fix typos in the manual.
481         * INSTALL: Regenerated.
483         * manual/lang.texi: Fix typos in the manual.
485         * manual/probes.texi: Fix typos in the manual.
487         * manual/threads.texi: Fix typos in the manual.
489         * manual/debug.texi: Fix typos in the manual.
491         * manual/crypt.texi: Fix typos in the manual.
493         * manual/conf.texi: Fix typos in the manual.
495         * manual/sysinfo.texi: Fix typos in the manual.
497         * manual/users.texi: Fix typos in the manual.
499         * manual/job.texi: Fix typos in the manual.
501         * manual/process.texi: Fix typos in the manual.
503         * manual/argp.texi: Fix typos in the manual.
504         * manual/getopt.texi: Likewise.
505         * manual/startup.texi: Likewise.
507         * manual/signal.texi: Fix typos in the manual.
509         * manual/setjmp.texi: Fix typos in the manual.
511         * manual/resource.texi: Fix typos in the manual.
513         * manual/time.texi: Fix typos in the manual.
515         * manual/arith.texi: Fix typos in the manual.
517         * manual/math.texi: Fix typos in the manual.
519         * manual/syslog.texi: Fix typos in the manual.
521         * manual/terminal.texi: Fix typos in the manual.
523         * manual/socket.texi: Fix typos in the manual.
525         * manual/filesys.texi: Fix typos in the manual.
527         * manual/llio.texi: Fix typos in the manual.
529         * manual/stdio.text: Fix typos in the manual.
531 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
533         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
534         instead of K1.
536         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
537         SHIFT_QUADRANT and make it bool.
538         (do_sincos_2): Likewise.
539         (sloww): Likewise.
540         (sloww1): Likewise.
541         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
542         (__cos): Likewise.
544 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
546         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
548 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
550         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
551         Define to __WORDSIZE, not conditional on [LONG_MAX ==
552         0x7fffffffL].
553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
555 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
557         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
558         inline by __inline__.
559         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
560         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
561         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
562         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
563         sigset_t from signal.h.
564         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
565         which is already required.
567 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
569         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
571 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
573         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
574         (struct tcp_repair_window): New type.
576 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
578         * libio/tst-memstream3.c: Include string.h.
580 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
582         [BZ #18241]
583         [BZ #20181]
584         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
585         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
586         write position is at the end the buffer.
587         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
588         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
589         (_IO_str_seekoff): Set correct offset from negative displacement and
590         set EINVAL for invalid ones.
591         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
592         buffer length.
593         (_IO_wstr_switch_to_get_mode): New function.
594         (_IO_wstr_seekoff): Set correct offset from negative displacement and
595         set EINVAL for invalid ones.
596         * libio/tst-memstream3.c: New file.
597         * libio/tst-wmemstream3.c: Likewise.
598         * manual/examples/memstrm.c: Remove warning when priting size_t.
600 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
602         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
603         macro to use __builtin_fma.
604         * sysdeps/x86_64/fpu/dla.h: Remove file.
606         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
607         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
608         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
610 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
612         [BZ #20292]
613         * elf/Makefile (routines): Add dl-addr-obj.
614         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
615         tst-_dl_addr_inside_object.
616         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
617         [ifeq (yesyes,$(have-fpie)$(build-shared))]
618         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
619         [ifeq (yesyes,$(have-fpie)$(build-shared))]
620         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
621         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
622         * elf/dl-open.c: Likewise.
623         * elf/dl-addr-obj.c: New file.
624         * elf/tst-_dl_addr_inside_object.c: New file.
626 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
628         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
629         <bits/iscanonical.h>.
630         * bits/iscanonical.h: New file.
631         * math/s_iscanonicall.c: Likewise.
632         * math/Versions (__iscanonicall): New libm symbol at version
633         GLIBC_2.25.
634         * math/libm-test.inc (iscanonical_test_data): New array.
635         (iscanonical_test): New function.
636         (main): Call iscanonical_test.
637         * math/Makefile (headers): Add bits/iscanonical.h.
638         (type-ldouble-routines): Add s_iscanonicall.
639         * manual/arith.texi (Floating Point Classes): Document
640         iscanonical.
641         * manual/libm-err-tab.pl: Update comment on interfaces without
642         ulps tabulated.
643         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
644         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
645         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
646         Likewise.
647         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
648         test-iscanonical-ldbl-128ibm.
649         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
650         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
651         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
652         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
653         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
654         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
655         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
657         Likewise.
658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
659         Likewise.
660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
661         Likewise.
662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
663         Likewise.
664         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
665         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
667 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
669         * string/bits/string3.h: Remove C++ style comments.
671 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
673         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
674         instead of ternary condition.
675         (do_sincos_2): Likewise.
676         (__sin): Likewise.
677         (__cos): Likewise.
678         (slow): Likewise.
679         (sloww): Likewise.
680         (sloww1): Likewise.
681         (bsloww): Likewise.
682         (bsloww1): Likewise.
684         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
685         instead of ternary condition.
686         (do_sin_slow): Likewise.
687         (do_sincos_1): Likewise.
688         (do_sincos_2): Likewise.
689         (__cos): Likewise.
690         (sloww): Likewise.
691         (sloww1): Likewise.
692         (sloww2): Likewise.
693         (bsloww): Likewise.
694         (bsloww1): Likewise.
695         (bsloww2): Likewise.
697         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
698         check from here...
699         (slow2): ... and here...
700         (__sin): ... to here.
702 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
704         * math/math.h
705         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
706         Cast argument to its own type.
707         * math/test-iszero-excess-precision.c: New file.
708         * math/Makefile (tests): Add test-iszero-excess-precision.
709         (CFLAGS-test-iszero-excess-precision.c): New variable.
711 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
713         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
714         field, add err field.
715         (__spawni_child): Report error through err member instead of pipe.
716         (__spawnix): Likewise.
718 2016-09-28  Zack Weinberg  <zackw@panix.com>
720         * scripts/check-installed-headers.sh: Generalize treatment of
721         sys/elf.h to all target architectures.
723         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
724         deleted typedef ucontext_t.
726 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
728         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
729         (__INTERNAL_SYSCALL1): Likewise.
730         (__INTERNAL_SYSCALL2): Likewise.
731         (__INTERNAL_SYSCALL3): Likewise.
732         (__INTERNAL_SYSCALL4): Likewise.
733         (__INTERNAL_SYSCALL5): Likewise.
734         (__INTERNAL_SYSCALL6): Likewise.
735         (__INTERNAL_SYSCALL7): Likewise.
736         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
737         (__INTERNAL_SYSCALL_NARGS): Likewise.
738         (__INTERNAL_SYSCALL_DISP): Likewise.
739         (INTERNAL_SYSCALL_CALL): Likewise.
740         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
741         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
742         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
743         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
744         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
745         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
746         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
747         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
748         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
749         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
750         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
751         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
752         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
754 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
756         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
757         macro.
758         * math/libm-test.inc (iszero_test_data): New array.
759         (iszero_test): New function.
760         (main): Call iszero_test.
761         * manual/arith.texi (Floating Point Classes): Document iszero.
762         * manual/libm-err-tab.pl: Update comment on interfaces without
763         ulps tabulated.
765 2016-09-23  Zack Weinberg  <zackw@panix.com>
767         * scripts/check-installed-headers.sh: New script.
768         * Rules: In each directory that defines header files to be installed,
769         run check-installed-headers.sh on them as a special test.
770         * Makefile: Likewise for the headers installed at top level.
772         * include/aliases.h, include/alloca.h, include/argz.h
773         * include/arpa/nameser.h, include/arpa/nameser_compat.h
774         * include/elf.h, include/envz.h, include/err.h
775         * include/execinfo.h, include/fpu_control.h, include/getopt.h
776         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
777         * include/link.h, include/malloc.h, include/mcheck.h
778         * include/mntent.h, include/netinet/ether.h
779         * include/nss.h, include/obstack.h, include/printf.h
780         * include/pty.h, include/resolv.h, include/rpc/auth.h
781         * include/rpc/auth_des.h, include/rpc/auth_unix.h
782         * include/rpc/clnt.h, include/rpc/des_crypt.h
783         * include/rpc/key_prot.h, include/rpc/netdb.h
784         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
785         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
786         * include/rpc/rpc_msg.h, include/rpc/svc.h
787         * include/rpc/svc_auth.h, include/rpc/xdr.h
788         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
789         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
790         * include/rpcsvc/ypupd.h, include/shadow.h
791         * include/stdio_ext.h, include/sys/epoll.h
792         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
793         * include/sys/prctl.h, include/sys/profil.h
794         * include/sys/statfs.h, include/sys/sysctl.h
795         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
796         * sysdeps/arm/nacl/include/bits/setjmp.h
797         * sysdeps/mips/include/sys/asm.h
798         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
799         * sysdeps/unix/sysv/linux/include/sys/timex.h
800         * sysdeps/x86/fpu/include/bits/fenv.h:
801         Add #ifndef _ISOMAC guard around internal declarations.
802         Add multiple-inclusion guard if not already present.
804 2016-09-23  Zack Weinberg  <zackw@panix.com>
806         * sysdeps/generic/sys/ucontext.h
807         * sysdeps/arm/sys/ucontext.h
808         * sysdeps/i386/sys/ucontext.h
809         * sysdeps/m68k/sys/ucontext.h
810         * sysdeps/mips/sys/ucontext.h
811         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
812         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
813         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
814         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
815         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
816         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
817         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
818         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
819         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
820         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
821         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
822         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
823         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
824         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
825         Include both bits/sigcontext.h and bits/sigstack.h.
826         Fix grammar error in comment, if present.
828         * bits/sigstack.h
829         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
830         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
831         * sysdeps/unix/sysv/linux/bits/sigstack.h
832         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
833         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
834         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
835         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
836         * bits/sigcontext.h
837         * sysdeps/mach/hurd/i386/bits/sigcontext.h
838         * sysdeps/unix/sysv/linux/bits/sigcontext.h
839         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
840         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
841         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
842         as well as signal.h, if this was not already allowed.  Request
843         definition of size_t if necessary.  Minimize semantically-null
844         differences across files.
846 2016-09-23  Zack Weinberg  <zackw@panix.com>
848         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
849         Remove all logic conditional on __need macros.  Move all the
850         conditionally defined types to their own headers...
851         * time/bits/types/clock_t.h: Define clock_t here.
852         * time/bits/types/clockid_t.h: Define clockid_t here.
853         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
854         * time/bits/types/struct_timespec.h: Define struct timespec here.
855         * time/bits/types/struct_timeval.h: Define struct timeval here.
856         * time/bits/types/struct_tm.h: Define struct tm here.
857         * time/bits/types/time_t.h: Define time_t here.
858         * time/bits/types/timer_t.h: Define timer_t here.
859         * time/Makefile: Install the new headers.
861         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
862         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
863         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
864         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
865         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
866         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
867         * sysdeps/unix/sysv/linux/bits/resource.h
868         * sysdeps/unix/sysv/linux/bits/timex.h
869         * sysdeps/unix/sysv/linux/mips/bits/resource.h
870         * sysdeps/unix/sysv/linux/net/ppp_defs.h
871         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
872         * sysdeps/unix/sysv/linux/sys/acct.h
873         * sysdeps/unix/sysv/linux/sys/timerfd.h
874         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
875         * time/sys/time.h, time/sys/timeb.h
876         Use the new bits/types headers.
878         * include/time.h: Remove __need logic.
879         * include/bits/time.h
880         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
881         * include/bits/types/time_t.h, include/bits/types/timer_t.h
882         * include/bits/types/struct_itimerspec.h
883         * include/bits/types/struct_timespec.h
884         * include/bits/types/struct_timeval.h
885         * include/bits/types/struct_tm.h:
886         New wrapper headers.
888 2016-09-23  Zack Weinberg  <zackw@panix.com>
890         * sysdeps/mach/hurd/net/if_ppp.h
891         * sysdeps/unix/sysv/linux/net/if_ppp.h:
892         Only define struct ifpppstatsreq and struct ifpppcstatsreq
893         if __USE_MISC is defined, to ensure struct ifreq is declared.
895         * inet/netinet/ether.h: Condition all function prototypes
896         on __USE_MISC, to ensure struct ether_addr is declared.
898         * socket/bits/types/struct_osockaddr.h: New header.
899         * include/bits/types/struct_osockaddr.h: New wrapper.
900         * socket/Makefile: Install the new header.
901         * socket/sys/socket.h, inet/protocols/talkd.h:
902         Refer to bits/types/struct_osockaddr.h for the definition of
903         struct osockaddr.
905 2016-09-23  Zack Weinberg  <zackw@panix.com>
907         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
908         * inet/protocols/routed.h, inet/protocols/talkd.h
909         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
910         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
911         * sysdeps/generic/netinet/if_ether.h
912         * sysdeps/generic/netinet/in_systm.h
913         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
914         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
915         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
916         * sysdeps/mach/hurd/net/if_arp.h
917         * sysdeps/mach/hurd/net/if_ppp.h
918         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
919         * sysdeps/unix/sysv/linux/bits/in.h
920         * sysdeps/unix/sysv/linux/net/ethernet.h
921         * sysdeps/unix/sysv/linux/net/if_arp.h
922         * sysdeps/unix/sysv/linux/net/if_ppp.h
923         * sysdeps/unix/sysv/linux/net/if_shaper.h
924         * sysdeps/unix/sysv/linux/net/route.h
925         * sysdeps/unix/sysv/linux/netinet/if_ether.h
926         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
927         * sysdeps/unix/sysv/linux/netinet/if_tr.h
928         * sysdeps/unix/sysv/linux/netipx/ipx.h
929         * sysdeps/unix/sysv/linux/sys/acct.h
930         * include/arpa/nameser.h, include/resolv.h:
931         Change all uses of u_char to unsigned char,
932         u_short and ushort to unsigned short, u_int and uint to unsigned int,
933         u_long and ulong to unsigned long, u_int8_t to uint8_t,
934         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
935         and u_int64_t and u_quad_t to uint64_t.
937         * mach/sys/reboot.h: Remove two casts of integer literals
938         to the types they already have.
940         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
941         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
942         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
943         from referring to 'unsigned char' to 'uint8_t' for consistency with
944         the macro definition below.
946         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
947         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
948         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
949         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
950         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
951         * sysdeps/unix/sysv/linux/sys/acct.h
952         * include/arpa/nameser.h, include/resolv.h:
953         Fix indentation disrupted by mechanical edits.
955         * inet/protocols/talkd.h, resolv/arpa/nameser.h
956         * sysdeps/generic/netinet/in_systm.h
957         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
958         * sysdeps/gnu/netinet/udp.h
959         * sysdeps/unix/sysv/linux/net/ethernet.h
960         * sysdeps/unix/sysv/linux/net/if_arp.h
961         * sysdeps/unix/sysv/linux/net/if_ppp.h
962         * sysdeps/unix/sysv/linux/net/if_shaper.h
963         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
964         * sysdeps/unix/sysv/linux/netinet/if_tr.h
965         * sysdeps/unix/sysv/linux/netipx/ipx.h
966         * sysdeps/unix/sysv/linux/sys/acct.h
967         Include stdint.h for uintNN_t definitions.
968         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
970 2016-09-23  Zack Weinberg  <zackw@panix.com>
972         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
973         * sysdeps/unix/sysv/linux/netrose/rose.h:
974         Include sys/socket.h and netax25/ax25.h.
976         * inet/netinet/icmp6.h, inet/netinet/ip6.h
977         * resolv/arpa/nameser_compat.h:
978         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
980         * sysdeps/unix/sysv/linux/sys/quota.h:
981         Use __caddr_t instead of caddr_t.
982         * sysdeps/unix/sysv/linux/sys/timerfd.h:
983         Use __clockid_t instead of clockid_t.
985         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
987         * argp/argp.h: Check whether _LIBC is defined before expanding it.
988         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
989         expanding it.
991         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
992         Define __glibc_c99_flexarr_available to 1 when the compiler
993         supports C99-compatible flexible array members, 0 otherwise.
994         * sysdeps/unix/sysv/linux/bits/socket.h
995         * sysdeps/mach/hurd/bits/socket.h
996         * bits/socket.h: Use __glibc_c99_flexarr_available in
997         definitions of struct cmsghdr and CMSG_DATA.
999 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1001         * manual/nss.texi (NSS Modules Interface): Adjust function return
1002         type to enum nss_status.  Document errnop argument.  Clarify
1003         h_errnop semantics.  Fix cross-reference formatting.
1004         (NSS Module Function Internals): Mention that *errnop needs to be
1005         set on failure, but not to zero.
1007 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1009         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1010         (get_random_name): New functions.
1011         (check_wrapper_flags_mode): Use linkat to give the new file a name
1012         determined by get_random_name.
1013         (do_test): Add calls to test open64 and openat64.
1015 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1017         * test-skeleton.c: Remove #include <stdarg.h>.
1019 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1021         [BZ #19826]
1022         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1023         initialization of static TLS entries.
1024         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1025         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1027 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1029         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1030         _hurd_malloc_fork_prepare.
1031         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1032         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1033         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1034         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1035         (_hurd_fork_child_hook): Drop malloc_fork_child.
1036         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1037         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1038         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1039         after locking locks (notably hurd_dtable_lock). Call
1040         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1041         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1042         __malloc_fork_unlock_child.
1043         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1045 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1047         * soft-fp/extendhftf2.c: New.
1048         * soft-fp/fixhfti.c: Likewise.
1049         * soft-fp/fixunshfti.c: Likewise.
1050         * soft-fp/floattihf.c: Likewise.
1051         * soft-fp/floatuntihf.c: Likewise.
1052         * soft-fp/half.h: Likewise.
1053         * soft-fp/trunctfhf2.c: Likewise.
1055 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1057         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1058         macro.
1059         * math/libm-test.inc (issubnormal_test_data): New array.
1060         (issubnormal_test): New function.
1061         * manual/arith.texi (Floating Point Classes): Document
1062         issubnormal.
1063         * manual/libm-err-tab.pl: Update comment on interfaces without
1064         ulps tabulated.
1066         * sysdeps/generic/stdint.h: Define
1067         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1068         <bits/libc-header-start.h> instead of including <features.h>.
1069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1070         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1074         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1075         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1079         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1102         * manual/arith.texi (Integers): Document these macros for types
1103         specified by width properties.
1104         * manual/lang.texi (Width of Type): Document these macros for
1105         other standard typedefs.
1106         * stdlib/tst-width-stdint.c: New file.
1107         * stdlib/Makefile (tests): Add tst-width-stdint.
1109 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1111         [BZ #20016]
1112         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1113         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1114         Move ...
1115         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1116         ... here, as compatibility symbols in a new file.
1117         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1118         * resolv/res_init.c (__res_vinit): Adjust member names.
1119         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1120         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1121         (res_send_rhook): Remove.
1122         (struct __res_state): Rename qhook, rhook members.
1124 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1126         malloc: Use __libc_lock wrappers.
1127         * malloc/arena.c (list_lock, free_list_lock): Define using
1128         __libc_lock_define_initialized.
1129         (arena_lock): Adjust formatting.
1130         * malloc/malloc.c (struct malloc_state): Define mutex using
1131         __libc_lock_define.
1132         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1133         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1134         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1135         (mutex_unlock, mutex_trylock): Remove.
1136         (__pthread_initialize): Remove unused macro.
1137         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1138         (mutex_unlock, mutex_trylock): Remove.
1140 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1142         [BZ #20592]
1143         Remove RR type classification macros.
1144         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1145         (ns_t_udp_p, ns_t_xfr_p): Remove.
1147 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1149         Remove misleading version information.
1150         * resolv/arpa/nameser.h (__NAMESER): Remove.
1151         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1153 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1155         Remove the always-defined BIND_4_COMPAT macro.
1156         * resolv/arpa/nameser.h: Unconditionally include
1157         <arpa/nameser_compat.h>.
1158         (BIND_4_COMPAT): Remove.
1159         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1161 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1163         [BZ #20591]
1164         Remove obsolete DNSSEC support.
1165         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1166         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1167         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1168         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1169         (ns_cert_types): Add comment.
1170         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1171         separately.
1172         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1173         (dst_s_dns_key_id): Remove.
1174         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1175         variables.
1177 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1179         [BZ #20524]
1180         * manual/string.texi (String/Array Comparison): Clarify the
1181         strverscmp behavior.
1183 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1185         * test-skeleton.c (xasprintf): Add function.
1186         * io/tst-open-tmpfile.c: New test.
1187         * io/Makefile (tests): Add it.
1189 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1191         Avoid running $(CXX) during build to obtain header file paths.
1192         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1193         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1194         * Makerules (cstdlib, cmath): Remove variables.  Use
1195         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1196         * configure: Regenerate.
1198 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1200         * Makeconfig (all-object-suffixes): Include .op only if
1201         $(build-profile).
1203 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1205         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1206         conditionals.  Do not define PATH_MAX.
1208 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1210         * posix/Makefile (tests): Add tst-spawn3.
1211         * posix/tst-spawn3.c: New file.
1212         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1213         if it is already opened for open action.
1215         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1216         all signals when executing the clone vfork child.
1217         (SIGALL_SET): Remove macro.
1219         * nptl/Makefile (tests): Add tst-exec5.
1220         * nptl/tst-exec5.c: New file.
1221         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1222         asynchronous cancellation.
1224 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1226         * hurd/exc2signal.c: #include <hurd/signal.h>
1227         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1228         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1229         accordingly.
1230         * mach/mach_error.c (mach_error): Fix old-style function definition.
1231         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1233 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1235         * math/Makefile (libm-calls): Remove s_nanF.
1236         (gen-libm-calls): Add s_nanF.
1238         * math/s_nan.c: Refactor into ...
1239         * math/s_nan_template.c: New file.
1241         * math/s_nanf.c: Removed.
1242         * math/s_nanl.c: Removed.
1243         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1244         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1246         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1247         (LDOUBLE_nanl_libm_version): New macro.
1249         * sysdeps/generic/math-type-macros-double.h:
1250         (M_STRTO_NAN): New macro.
1251         * sysdeps/generic/math-type-macros-float.h: Likewise.
1252         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1254         * sysdeps/generic/math-type-macros.h: Document
1255         M_STRTO_NAN.
1257 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1259         * math/s_nanf.c: Remove __nanf undef.
1260         * math/s_nan.c: Remove __nan undef.
1261         * math/s_nanl.c: Remove __nanl undef.
1263         * sysdeps/generic/math_private.h (__nan): Remove macro
1264         override.
1265         (__nanf): Likewise.
1266         (__nanl): Likewise.
1268 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1270         * math/Makefile (gen-all-calls): New variable.
1271         (generated): Replace gen-libm-calls with gen-all-calls.
1272         (gen-libm-templates.stmp): Likewise.  Also, ensure
1273         the output directory exists or is created and add
1274         dependency on the Makefile.
1275         (calls): Move s_ldexpF into gen-calls.
1276         (gen-calls): New variable.
1278         * math/s_ldexpf.c: Removed.
1279         * math/s_ldexpl.c: Removed.
1280         * math/s_ldexp.c: Refactored into ...
1281         * math/s_ldexp_template.c: New file.
1283         * sysdeps/generic/math-type-macros-double.h: Remove
1284         redundant fall-through definition of declare_mgen_alias.
1285         (declare_mgen_alias_2): New macro.
1287         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1288         New macro for function aliased to two exported symbols.
1290         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1291         new template file.
1292         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1294 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1296         * Makeconfig (all-object-suffixes): Remove .og.
1297         * Makerules (elide-routines.og): Remove.
1298         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1299         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1300         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1302 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1304         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1305         .os objects.
1307 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1309         [BZ #20615]
1310         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1311         fpu directory by non-fpu.
1312         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1313         on non-fpu directory from a fpu directory.
1315 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1317         * include/limits.h: Define
1318         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1319         <bits/libc-header-start.h> instead of including <features.h>.
1320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1331         * manual/lang.texi (Width of Type): Document these macros.
1332         * stdlib/tst-width.c: New file.
1333         * stdlib/Makefile (tests): Add tst-width.
1335 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1337         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1338         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1340 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1342         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1343         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1344         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1346 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1348         [BZ #18243]
1349         * rt/Makefile (test): Add tst-shm-cancel.
1350         * rt/tst-shm-cancel.c: New file.
1351         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1353         [BZ #18243]
1354         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1355         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1356         definition.
1357         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1358         uncontended case.
1359         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1360         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1361         (tf): Fix check for uncontended case.
1362         (do_test): Likewise.
1363         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1364         (tf): Fix check for uncontended case.
1365         (do_test): Likewise.
1366         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1367         (tf): Fix check for uncontended case.
1368         (do_test): Likewise.
1369         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1370         (tf): Fix check for uncontended case.
1371         (do_test): Likewise.
1373         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1374         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1376         [BZ #15765]
1377         * nptl/Makefile (tests): Add tst-sem16.
1378         * nptl/tst-sem16.c: New file.
1379         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1381         * nptl/sem_open.c (sem_open): Init pad value to 0.
1382         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1383         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1385 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1387         [BZ #20611]
1388         * inet/Makefile (routines): Add inet6_scopeid_pton.
1389         (tests): Add tst-inet6_scopeid_pton.
1390         * inet/inet6_scopeid_pton.c: New file.
1391         * inet/net-internal.h: Likewise.
1392         * inet/tst-inet6_scopeid_pton.c: New test.
1393         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1394         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1395         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1397 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1399         Remove support for compiling wrappers with PTW.
1400         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1401         * nptl/Makefile (pthread-compat-wrappers): Define.
1402         (libpthread-routines): Use pthread-compat-wrappers.
1403         * sysdeps/unix/sysv/linux/alpha/Makefile
1404         (libpthread-routines, libpthread-shared-only-routines): Remove
1405         ptw- prefix.
1406         * sysdeps/s390/nptl/Makefile
1407         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1408         * sysdeps/ia64/nptl/Makefile
1409         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1410         * sysdeps/nacl/Makefile (libpthread-routines): Use
1411         pthread-compat-wrappers to filter the routines list instead of the
1412         ptw- prefix.
1414 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1416         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1417         with L() and remove explicit suffix, convert real literals
1418         which can be equivalentally substituted with integers, and
1419         transform -L(x) to L(-x).
1421         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1422         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1423         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1424         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1425         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1426         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1427         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1428         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1429         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1430         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1431         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1432         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1433         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1434         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1435         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1436         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1437         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1438         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1439         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1440         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1441         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1442         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1443         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1444         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1445         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1446         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1447         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1448         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1449         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1450         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1451         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1452         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1453         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1454         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1455         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1456         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1457         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1458         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1459         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1460         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1461         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1462         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1463         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1464         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1465         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1466         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1467         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1468         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1469         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1470         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1472 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1474         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1476 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1478         * malloc/Makefile (tests): Remove individual static test names
1479         and just add all of tests-static.
1481         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1483 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1485         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1486         file.
1488         * sysdeps/sparc/fpu/fegetmode.c: New file.
1489         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1491         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1492         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1494         * sysdeps/s390/fpu/fegetmode.c: New file.
1495         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1497         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1498         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1499         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1500         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1501         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1502         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1504         * sysdeps/mips/fpu/fegetmode.c: New file.
1505         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1507         * sysdeps/m68k/fpu/fegetmode.c: New file.
1508         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1510         * sysdeps/ia64/fpu/fegetmode.c: New file.
1511         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1513         * sysdeps/hppa/fpu/fegetmode.c: New file.
1514         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1516         * sysdeps/arm/fegetmode.c: New file.
1517         * sysdeps/arm/fesetmode.c: Likewise.
1519         * sysdeps/alpha/fpu/fegetmode.c: New file.
1520         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1522         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1523         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1525         * math/fegetmode.c: New file.
1526         * math/fesetmode.c: Likewise.
1527         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1528         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1529         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1530         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1531         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1533         declaration.
1534         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1535         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1536         typedef.
1537         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1538         * sysdeps/aarch64/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/alpha/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/arm/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/hppa/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/ia64/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/m68k/fpu/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/microblaze/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/mips/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 macro.
1562         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1563         (femode_t): New typedef.
1564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1565         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1566         (femode_t): New typedef.
1567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1568         declaration.
1569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1570         * sysdeps/s390/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/sh/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/sparc/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         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1580         (femode_t): New typedef.
1581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1582         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1583         (femode_t): New typedef.
1584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1585         * manual/arith.texi (FE_DFL_MODE): Document macro.
1586         (fegetmode): Document function.
1587         (fesetmode): Likewise.
1588         * math/Versions (fegetmode): New libm symbol at version
1589         GLIBC_2.25.
1590         (fesetmode): Likewise.
1591         * math/Makefile (libm-support): Add fegetmode and fesetmode.
1592         (tests): Add test-femode and test-femode-traps.
1593         * math/test-femode-traps.c: New file.
1594         * math/test-femode.c: Likewise.
1595         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
1596         alias for __fe_dfl_env.
1597         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
1598         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
1599         (__fe_dfl_mode): Likewise.
1600         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
1601         version GLIBC_2.25.
1602         * sysdeps/nacl/libm.abilist: Update.
1603         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1604         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1605         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1606         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1607         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1608         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1609         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1610         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1611         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1612         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1613         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1614         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1616         Likewise.
1617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1618         Likewise.
1619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1620         Likewise.
1621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1622         Likewise.
1623         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1624         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1625         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1626         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1627         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1629         Likewise.
1630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1631         Likewise.
1632         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1633         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1634         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1636 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
1638         [BZ #20495]
1639         [BZ #20508]
1640         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
1641         processors, set Use_dl_runtime_resolve_slow and set
1642         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
1643         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
1644         New.
1645         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
1646         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
1647         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
1648         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
1649         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
1650         if Use_dl_runtime_resolve_opt is set.  Use
1651         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
1652         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
1653         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
1654         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
1655         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
1656         New.
1657         (_dl_runtime_resolve_opt): Likewise.
1658         (_dl_runtime_profile): Define only if _dl_runtime_profile is
1659         defined.
1661 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1663         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
1664         __libc_memalign with "+ RELA R_390_GLOB_DAT".
1666 2016-09-06  Florian Weimer  <fweimer@redhat.com>
1668         Convert malloc to __libc_lock.  Automated part, using this Perl
1669         s/// command:
1670           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
1671             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
1672         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
1673         conversion.
1675 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
1677         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
1678         (linknamespace-symlists-tests): Likewise.
1679         (linknamespace-header-tests): Likewise.
1681 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
1683         [BZ #19810]
1684         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
1685         * elf/tst-noload.c: New test case.
1686         * elf/Makefile (tests): Add tst-noload.
1688 2016-09-02  Roland McGrath  <roland@hack.frob.com>
1690         * sysdeps/nacl/dup.c: Add libc_hidden_def.
1692         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
1693         not any more.
1695         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
1697 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1699         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
1700         (do_cos_slow): Likewise.
1701         (do_sin): Likewise.
1702         (do_sin_slow): Likewise.
1703         (slow): Likewise.
1704         (slow1): Likewise.
1705         (slow2): Likewise.
1706         (sloww): Likewise.
1707         (sloww1): Likewise.
1708         (sloww2): Likewise.
1709         (bsloww): Likewise.
1710         (bsloww1): Likewise.
1711         (bsloww2): Likewise.
1712         (cslow2): Likewise.
1714         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
1716         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
1717         arguments.  Consolidate input partitioning from callers here.
1718         (do_cos_slow): Likewise.
1719         (do_sin): Likewise.
1720         (do_sin_slow): Likewise.
1721         (do_sincos_1): Remove the no longer necessary input partitioning.
1722         (do_sincos_2): Likewise.
1723         (__sin): Likewise.
1724         (__cos): Likewise.
1725         (slow1): Likewise.
1726         (slow2): Likewise.
1727         (sloww1): Likewise.
1728         (sloww2): Likewise.
1729         (bsloww1): Likewise.
1730         (bsloww2): Likewise.
1731         (cslow2): Likewise.
1733 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1735         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
1736         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
1737         outside of allocated array.
1739 2016-09-02  Florian Weimer  <fweimer@redhat.com>
1741         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
1742         instead of MB_CUR_MAX to avoid variable-length array.
1744 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1746         * math/Makefile (libm-calls): Remove k_rem_pio2F.
1747         (type-double-routines): Add k_rem_pio2.
1748         (type-float-routines): Add k_rem_pio2f.
1750         * sysdeps/generic/math_private.h:
1751         (__kernel_rem_pio2l): Removed.
1753         * math/k_rem_pio2l.c: Removed.
1754         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
1755         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
1756         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
1757         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1759 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1761         * math/Makefile (gen-libm-calls): Add s_fmin
1762         (libm-calls): Remove above.
1764         * math/s_fmin.c: Refactor into ...
1765         * math/s_fmin_template.c: New file.
1767         * math/s_fminf.c: Removed.
1768         * math/s_fminl.c: Removed.
1769         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1770         (LDOUBLE_fmin_libm_version): New macro.
1772         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1773         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1775 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1777         * math/Makefile: (gen-libm-calls): Add s_fmax.
1778         (libm-calls): Remove above.
1780         * math/s_fmax.c: Refactor into ...
1781         * math/s_fmax_template.c: New file.
1782         * math/s_fmaxf.c: Removed.
1783         * math/s_fmaxl.c: Removed.
1785         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1786         (LDOUBLE_fmaxl_libm_version): New macro.
1788         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1789         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1791         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1792         s_fmin.c to pick the aarch64 version of the file.
1793         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1794         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1796 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1798         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1799         (libm-calls): Remove above.
1801         * math/s_nextdown.c: Refactor into ...
1802         * math/s_nextdown_template.c: New file.
1803         * math/s_nextdownf.c: Removed.
1804         * math/s_nextdownl.c: Removed.
1806         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1808 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1810         * math/Makefile (gen-libm-calls): Add s_fdim.
1811         (libm-calls): Move to above.
1813         * math/s_fdim.c: Renamed and refactored into to ...
1814         * math/s_fdim_template.c: New file.
1815         * math/s_fdiml.c: Removed.
1816         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1817         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1819         * sysdeps/generic/math-type-macros-double.h:
1820         (declare_mgen_alias): Don't declare if already declared.
1821         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1822         Likewise.
1824         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1825         (declare_mgen_alias): Don't declare if already declared.
1826         (M_LIBM_NEED_COMPAT): Likewise.
1827         (declare_mgen_libm_compat): Likewise.
1828         (LDOUBLE_fdiml_libm_version): New macro.
1830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1831         Include math/s_fdim.c now that ldbl-opt version is not needed.
1832         (declare_mgen_alias): New macro to disable aliasing.
1834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1835         (declare_mgen_alias): Likewise.
1836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1837         (declare_mgen_alias): Likewise.
1838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1839         (declare_mgen_alias): Likewise.
1840         (M_LIBM_NEED_COMPAT): Likewise.
1842 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1844         [BZ #20525]
1845         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1846         Include <linux/quota.h>.
1847         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1848         and btodb.
1849         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1850         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1851         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1852         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1853         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1854         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1855         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1856         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1857         types.
1858         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1859         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1861 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1863         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1864         (gammal_positive): Fix spacing.
1865         (__ieee754_gammal_r): Likewise.
1867 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1869         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1870         (_Float128): Define as long double, always.
1871         (L): Apply long double type suffix, always.
1873         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1874         _Float128, excepting comments.
1876         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1877         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1878         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1879         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1880         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1881         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1882         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1883         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1884         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1885         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1886         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1887         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1888         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1889         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1890         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1891         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1892         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1893         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1894         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1895         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1896         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1897         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1898         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1899         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1900         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1901         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1902         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1903         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1904         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1905         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1906         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1907         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1908         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1909         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1910         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1911         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1912         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1913         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1914         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1915         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1916         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1917         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1918         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1919         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1920         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1921         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1922         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1923         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1924         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1925         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1926         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1927         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1928         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1929         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1930         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1931         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1932         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1933         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1934         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1935         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1936         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1937         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1938         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1939         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1940         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1941         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1942         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1943         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1945         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1946         _Float128, and include math_private.h.
1947         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1949         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1950         long double semantics.
1951         (_Float128): Likewise.
1952         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1953         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1954         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1955         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1957 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1959         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1960         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1961         * sysdeps/s390/configure: Regenerated.
1962         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1963         instruction for raising over-/underflow if z196 zarch is supported
1964         by default.
1965         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1967 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1969         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1970         it point to a dumb buffer for RPC to fill it.
1972 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1974         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1975         instead of if/else.
1976         (do_sin_slow): Likewise.
1977         (do_sincos_1): Use fabs instead of if/else.
1978         (do_sincos_2): Likewise.
1979         (__sin): Likewise.
1980         (__cos): Likewise.
1981         (slow2): Likewise.
1982         (sloww): Likewise.
1983         (sloww1): Likewise.  Drop argument M.
1984         (sloww2): Use fabs instead of if/else.
1985         (bsloww): Likewise.
1986         (bsloww1): Likewise.
1987         (bsloww2): Likewise.
1989         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1990         fall through comment.
1991         (do_sincos_1): Likewise.
1993         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1994         Consolidate switch cases 0 and 2.
1996 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1998         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1999         (libm-calls): Remove the above.
2001         * math/s_cexp_template.c: Update using type-generic macros.
2002         * math/s_clog10_template.c: Likewise.
2003         * math/s_cpow_template.c: Likewise.
2004         * math/s_clog_template.c: Likewise.
2005         * math/s_cproj_template.c: Likewise.
2006         * math/s_csqrt_template.c: Likewise.
2008         * math/s_cexp.c: Removed.
2009         * math/s_cexpf.c: Removed.
2010         * math/s_cexpl.c: Removed.
2011         * math/s_clog10.c: Removed.
2012         * math/s_clog10f.c: Removed.
2013         * math/s_clog10l.c: Removed.
2014         * math/s_cpow.c: Removed.
2015         * math/s_cpowf.c: Removed.
2016         * math/s_cpowl.c: Removed.
2017         * math/s_clog.c: Removed.
2018         * math/s_clogf.c: Removed.
2019         * math/s_clogl.c: Removed.
2020         * math/s_cproj.c: Removed.
2021         * math/s_cprojf.c: Removed.
2022         * math/s_cprojl.c: Removed.
2023         * math/s_csqrt.c: Removed.
2024         * math/s_csqrtf.c: Removed.
2025         * math/s_csqrtl.c: Removed.
2027         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2028         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2029         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2030         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2031         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2032         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2034         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2035         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2036         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2037         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2038         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2039         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2040         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2041         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2042         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2043         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2044         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2046         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2047         version.
2049         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2050         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2051         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2052         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2054 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2056         * s_cexp_template.c: Copy of s_cexp.c.
2057         * s_clog_template.c: Copy of s_clog.c.
2058         * s_clog10_template.c: Copy of s_clog10.c.
2059         * s_cpow_template.c: Copy of s_cpow.c.
2060         * s_cproj_template.c: Copy of s_cproj.c.
2061         * s_csqrt_template.c: Copy of s_csqrt.c.
2063 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2065         [BZ #20517]
2066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2067         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2068         exported.
2070 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2072         * math/fetestexceptflag.c: New file.
2073         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2074         Stefan Liebler.
2075         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2076         (fetestexceptflag): New function declaration.
2077         * manual/arith.texi (fetestexceptflag): Document function.
2078         * math/Versions (fetestexceptflag): New libm symbol at version
2079         GLIBC_2.25.
2080         * math/Makefile (libm-support): Add fetestexceptflag.
2081         (tests): Add test-fetestexceptflag.
2082         * math/test-fetestexceptflag.c: New file.
2083         * sysdeps/nacl/libm.abilist: Update.
2084         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2085         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2086         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2087         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2088         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2089         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2090         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2091         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2092         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2093         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2094         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2095         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2097         Likewise.
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2099         Likewise.
2100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2101         Likewise.
2102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2103         Likewise.
2104         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2105         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2106         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2107         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2108         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2110         Likewise.
2111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2112         Likewise.
2113         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2114         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2115         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2117 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2119         [BZ #20432]
2120         Avoid strong references to malloc-internal symbols when linking
2121         statically, to support statically interposed mallocs.
2122         * include/libc-symbols.h (call_function_static_weak): New macro.
2123         * malloc/Makefile (tests): Add tst-interpose-nothread,
2124         tst-interpose-thread, tst-interpose-static-nothread,
2125         tst-interpose-static-thread.
2126         (tests-static): Add tst-interpose-static-nothread,
2127         tst-interpose-static-thread.
2128         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2129         tst-interpose-aux-thread.o.
2130         (test-extras): Add tst-interpose-aux-nothread,
2131         tst-interpose-aux-thread.
2132         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2133         tst-interpose-aux-nothread.o.
2134         (tst-interpose-thread, tst-interpose-static-thread): Link with
2135         tst-interpose-aux-thread.o and libthread.
2136         * malloc/tst-interpose-aux-nothread.c: New file.
2137         * malloc/tst-interpose-aux-thread.c: Likewise.
2138         * malloc/tst-interpose-aux.c: Likewise.
2139         * malloc/tst-interpose-aux.h: Likewise.
2140         * malloc/tst-interpose-nothread.c: Likewise.
2141         * malloc/tst-interpose-skeleton.c: Likewise.
2142         * malloc/tst-interpose-static-nothread.c: Likewise.
2143         * malloc/tst-interpose-static-thread.c: Likewise.
2144         * malloc/tst-interpose-thread.c: Likewise.
2145         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2146         * sysdeps/mach/hurd/fork.c (__fork): Only call
2147         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2148         __malloc_fork_unlock_child if defined.
2149         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2151 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2153         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2154         timespec C99 designated initialization.
2156 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2158         [BZ #19946]
2159         Avoid expected SIGALRM signals.
2160         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2161         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2162         (xpthread_create, xpthread_detach, xpthread_join)
2163         (delayed_exit_thread, delayed_exit): New functions.
2164         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2165         (tf): Use xpthread_cond_wait.
2166         (do_test): Likewise.  Replace alarm with delayed_exit.
2167         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2168         (do_test): Call delayed_exit.  Report failure.
2169         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2170         (do_test): Call delayed_exit.
2171         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2172         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2173         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2174         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2175         error.
2176         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2177         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2178         error.
2179         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2180         (do_test): Call delayed_exit.
2181         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2182         (do_test): Call delayed_exit.
2183         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2184         (do_test): Call delayed_exit instead of alarm.  Use
2185         xpthread_mutex_lock.
2186         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2187         (do_test): Call delayed_exit instead of alarm.  Use
2188         xpthread_mutex_lock.
2189         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2190         (do_test): Call delayed_exit instead of alarm.
2191         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2192         (do_test): Call delayed_exit instead of alarm.  Use
2193         xpthread_spin_lock.
2194         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2195         (do_test): Call delayed_exit instead of alarm.  Use
2196         xpthread_join.
2198 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2200         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2201         adjust CFA when allocating register save area on re-aligned
2202         stack.
2204 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2206         * string/tst-cmp.c: New test.
2207         * string/Makefile (tests): Add it.
2209 2016-08-25  Mark Wielaard  <mark@klomp.org>
2211         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2212         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2213         (check_tree_recurse): Use newly defined accessors.
2214         (check_tree): Likewise.
2215         (maybe_split_for_insert): Likewise.
2216         (__tfind): Likewise.
2217         (__tdelete): Likewise.
2218         (trecurse): Likewise.
2219         (tdestroy_recurse): Likewise.
2220         (__tsearch): Likewise. And add asserts for malloc alignment.
2221         (__twalk): Cast root to node in case CHECK_TREE is defined.
2223 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2225         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2227 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2229         * math/Makefile (libm-gen-calls): Add
2230         catan, catanh, ctan, ctanh.
2231         (libm-calls): Remove the above.
2233         * math/s_catan_template.c: Update using type-generic macros.
2234         * math/s_catanh_template.c: Likewise.
2235         * math/s_ctan_template.c: Likewise.
2236         * math/s_ctanh_template.c: Likewise.
2238         * math/s_catanf.c: Removed.
2239         * math/s_catan.c: Removed.
2240         * math/s_catanl.c: Removed.
2241         * math/s_catanhf.c: Removed.
2242         * math/s_catanh.c: Removed.
2243         * math/s_catanhl.c: Removed.
2244         * math/s_ctanf.c: Removed.
2245         * math/s_ctan.c: Removed.
2246         * math/s_ctanl.c: Removed.
2247         * math/s_ctanhf.c: Removed.
2248         * math/s_ctanh.c: Removed.
2249         * math/s_ctanhl.c: Removed.
2251         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2252         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2253         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2254         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2255         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2256         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2258         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2259         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2260         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2261         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2263 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2265         * s_catan_template.c: Copy of s_catan.c.
2266         * s_catanh_template.c: Copy of s_catanh.c.
2267         * s_ctan_template.c: Copy of s_ctan.c.
2268         * s_ctanh_template.c: Copy of s_ctanh.c.
2270 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2272         * math/Makefile (gen-libm-calls): Move
2273         casin, casinh, csin, csinh here.
2274         (libm-calls): Remove the above.
2276         * math/s_casin_template.c: Update using type-generic macros.
2277         * math/s_casinh_template.c: Likewise.
2278         * math/s_csin_template.c: Likewise.
2279         * math/s_csinh_template.c: Likewise.
2280         * math/k_casinh_template.c: Likewise.
2282         * math/s_casinf.c: Removed.
2283         * math/s_casin.c: Removed.
2284         * math/s_casinl.c: Removed.
2285         * math/s_casinh.c: Removed.
2286         * math/s_casinhf.c: Removed.
2287         * math/s_casinhl.c: Removed.
2288         * math/s_csin.c: Removed.
2289         * math/s_csinf.c: Removed.
2290         * math/s_csinl.c: Removed.
2291         * math/s_csinh.c: Removed.
2292         * math/s_csinhf.c: Removed.
2293         * math/s_csinhl.c: Removed.
2294         * math/k_casinh.c: Removed.
2295         * math/k_casinhf.c: Removed.
2296         * math/k_casinhl.c: Removed.
2298         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2299         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2300         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2301         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2303         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2304         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2305         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2306         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2307         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2308         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2309         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2310         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2312         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2313         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2314         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2315         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2317         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2318         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2319         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2320         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2322 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2324         * s_casin_template.c: Copy of s_casin.c.
2325         * s_casinh_template.c: Copy of s_casinh.c.
2326         * s_csin_template.c: Copy of s_csin.c.
2327         * s_csinh_template.c: Copy of s_csinh.c.
2328         * k_casinh_template.c: Copy of k_casinh.c.
2330 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2332         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2334 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2336         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2337         (mul_split) Remove, rename as mul_splitl, remove
2338         redundant float.h include, and include via mul_splitl.h
2340         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2342         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2343         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2344         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2346         * math/mul_splitl.h: New file.
2348         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2349         Move into mul_split.h, and remove redundant float.h include.
2351         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2352         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2356         * math/mul_split.h: New file.
2358 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2360         * math/Makefile (libm-gen-calls): Move
2361         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2362         (libm-calls): Remove above.
2364         * math/s_cacos_template.c: Update using type-generic macros.
2365         * math/s_cacosh_template.c: Likewise.
2366         * math/s_ccos_template.c: Likewise.
2367         * math/s_ccosh_template.c: Likwise.
2369         * math/s_cacosf.c: Removed.
2370         * math/s_cacos.c: Removed.
2371         * math/s_cacosl.c: Removed.
2372         * math/s_cacoshf.c: Removed.
2373         * math/s_cacosh.c: Removed.
2374         * math/s_cacoshl.c: Removed.
2375         * math/s_ccosf.c: Removed.
2376         * math/s_ccos.c: Removed.
2377         * math/s_ccosl.c: Removed.
2378         * math/s_ccoshf.c: Removed.
2379         * math/s_ccosh.c: Removed.
2380         * math/s_ccoshl.c: Removed.
2382         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2383         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2384         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2385         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2386         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2387         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2389         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2390         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2391         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2392         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2394         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2395         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2396         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2397         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2399 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2401         * s_cacos_template.c: Copy of s_cacos.c.
2402         * s_cacosh_template.c: Copy of s_cacosh.c.
2403         * s_ccos_template.c: Copy of s_ccos.c.
2404         * s_ccosh_template.c: Copy of s_ccosh.c.
2406 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2408         * stdlib/tst-strtod-round-skeleton.c:
2409         Refactored from tst-strtod-round.c.
2411         (L_): New macro to apply literal modifier.
2412         (FNPFX): New macro to select str or wcs prefix.
2413         (CHAR): New macro to choose wchar_t or char.
2414         (STRM): New macro to choose printf for tested character type.
2416         (STRTO): New macro to choose appropriate string -> real function.
2417         (FNPFXS): Stringitized version of FNPFX.
2418         (STR): Support for above macro.
2419         (STRX): Likewise.
2421         (TEST): Update with above macros.
2422         (test): Likewise.
2423         (GEN_ONE_TEST): Likewise.
2424         (test_in_one_mode): Likewise.
2426         * stdlib/tst-strtod-round.c: New file.
2427         * wcsmbs/tst-wcstod-round.c: New file.
2429         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2430         (tst-wcstod-round): Add libm depencency for fesetround.
2432 2016-08-19  Zack Weinberg  <zackw@panix.com>
2434         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2436 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2438         [BZ #20477]
2439         * resolv/res_hconf.c (do_init): Use atomic access.
2440         * resolv/res_hconf.h: Add comments.
2441         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2442         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2445 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2447         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2448         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2449         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2450         Likewise.
2452 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2454         [BZ #16907]
2455         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2456         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2457         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2458         (__attribute__): Remove definition.
2460 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2462         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2463         Remove unused sqrtl declaration.
2465 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2467         * math/Makefile: (gen-libm-templates.stmp): New rule.
2468         (libm-calls): Move carg conj cimag and cabs into ...
2469         (gen-libm-calls): New variable.
2470         (generated): Inform Make objects from gen-libm-calls
2471         may be generated.
2473         * sysdeps/generic/math-type-macros.h: New file.
2474         * sysdeps/generic/math-type-macros-float.h: Likewise.
2475         * sysdeps/generic/math-type-macros-double.h: Likewise.
2476         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2477         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2478         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2480         * math/cabs.c: Refactor into
2481         * math/cabs_template.c: new file.
2482         * math/cabsf.c: Removed.
2483         * math/cabsl.c: Removed.
2484         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2485         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2487         * math/carg.c: Refactor into
2488         * math/carg_template.c: new file.
2489         * math/cargf.c: Removed.
2490         * math/cargl.c: Removed.
2491         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2492         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2494         * math/conj.c: Refactor into
2495         * math/conj_template.c: new file.
2496         * math/conjf.c: Removed.
2497         * math/conjl.c: Removed.
2498         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2499         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2501         * math/cimag.c: Refactor into
2502         * math/cimag_template.c: new file.
2503         * math/cimagf.c: Removed.
2504         * math/cimagl.c: Removed.
2505         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2506         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2508         * math/cimag.c: Refactor into
2509         * math/cimag_template.c: new file.
2510         * math/cimagf.c: Removed.
2511         * math/cimagl.c: Removed.
2512         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2513         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2515 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2517         Reduce time to expected nptl/tst-once5 failure.
2518         * nptl/tst-once5.cc (TIMEOUT): Define.
2520 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2522         [BZ #20452]
2523         Avoid additional copies of objects in libc.a in static libraries.
2524         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2525         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2526         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2527         rt-sysdep.
2528         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2529         Add nptl-sysdep.
2530         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2531         Add ptw-sysdep.
2532         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2533         rt-sysdep.
2534         * sysdeps/unix/sysv/linux/alpha/Makefile
2535         (libpthread-shared-only-routines): Add ptw-sysdep,
2536         ptw-sigprocmask, ptw-rt_sigaction.
2537         * sysdeps/unix/sysv/linux/ia64/Makefile
2538         (librt-shared-only-routines): Add rt-sysdep.
2539         * sysdeps/unix/sysv/linux/i386/Makefile
2540         (libpthread-shared-only-routines): Add libc-do-syscall.
2541         * sysdeps/unix/sysv/linux/microblaze/Makefile
2542         (libpthread-shared-only-routines): Add sysdep.
2543         * sysdeps/unix/sysv/linux/powerpc/Makefile
2544         (librt-shared-only-routines): Add rt-sysdep.
2545         (libpthread-shared-only-routines): Add sysdep.
2546         * sysdeps/unix/sysv/linux/s390/Makefile
2547         (librt-shared-only-routines): Add rt-sysdep.
2548         * sysdeps/unix/sysv/linux/sparc/Makefile
2549         (librt-shared-only-routines): Add rt-sysdep.
2550         (libpthread-shared-only-routines): Add sysdep.
2551         * sysdeps/unix/sysv/linux/tile/Makefile
2552         (libpthread-shared-only-routines): Likewise.
2554 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2556         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2557         Mask implicit bit out of unpacked value.
2558         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2559         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2560         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2562         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2564         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2566         * sysdeps/s390/fpu/fesetexcept.c: New file.
2568         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2569         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2570         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2572         * sysdeps/mips/fpu/fesetexcept.c: New file.
2574         * sysdeps/m68k/fpu/fesetexcept.c: New file.
2576         * sysdeps/ia64/fpu/fesetexcept.c: New file.
2578         * sysdeps/hppa/fpu/fesetexcept.c: New file.
2580         * sysdeps/arm/fesetexcept.c: New file.
2582         * sysdeps/alpha/fpu/fesetexcept.c: New file.
2584         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
2586         * math/fesetexcept.c: New file.
2587         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
2588         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
2589         * math/fenv.h: Define
2590         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2591         <bits/libc-header-start.h> instead of including <features.h>.
2592         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
2593         declaration.
2594         * manual/arith.texi (fesetexcept): Document function.
2595         * math/Versions (fesetexcept): New libm symbol at version
2596         GLIBC_2.25.
2597         * math/Makefile (libm-support): Add fesetexcept.
2598         (tests): Add test-fesetexcept and test-fesetexcept-traps.
2599         * math/test-fesetexcept.c: New file.
2600         * math/test-fesetexcept-traps.c: Likewise.
2601         * sysdeps/nacl/libm.abilist: Update.
2602         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2603         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2604         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2605         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2606         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2607         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2608         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2609         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2610         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2611         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2612         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2613         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2615         Likewise.
2616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2617         Likewise.
2618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2619         Likewise.
2620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2621         Likewise.
2622         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2623         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2624         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2625         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2626         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2628         Likewise.
2629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2630         Likewise.
2631         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2632         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2633         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2635 2016-08-16  Florian Weimer  <fweimer@redhat.com>
2637         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
2638         New.
2639         (do_test): Apply default_stack_size_in_mb if not set.
2640         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
2642 2016-08-15  Andreas Schwab  <schwab@suse.de>
2644         [BZ #20435]
2645         CVE-2016-6323
2646         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
2647         as .cantunwind.
2649 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
2651         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
2652         comment from fraiseexcpt.c.
2654         * math/test-fexcept.c (feraiseexcept_exact): New function.
2655         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
2656         (test_except): Likewise.
2658 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
2660         [BZ #20455]
2661         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
2662         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
2663         to be restored.
2665         * math/test-fexcept-traps.c: New file.
2666         * math/test-fexcept.c: Likewise.
2667         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
2668         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
2669         macro.
2670         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
2671         (EXCEPTION_SET_FORCES_TRAP): Likewise.
2673 2016-08-09  Torvald Riegel  <triegel@redhat.com>
2675         * include/atomic.h (atomic_fetch_and_relaxed,
2676         atomic_fetch_and_release, atomic_fetch_or_release,
2677         atomic_fetch_xor_release): New.
2679 2016-08-06  Christian Seiler  <christian@iwakd.de>
2681         [BZ #20444]
2682         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
2683         MACH_PORT_NULL.
2685 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2687         * math/s_fdim.c: Avoid alias renamed.
2688         * math/s_fdimf.c: Likewise.
2689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2690         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2691         Add s_fdimf-vis3, s_fdim-vis3.
2692         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2693         (CFLAGS-s_fdim-vis3.c): Likewise.
2694         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
2695         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
2697 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2700         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2701         Remove s_fdimf-vis3, s_fdim-vis3.
2702         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
2703         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
2704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
2705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
2706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
2707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
2708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
2709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
2710         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
2711         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
2713 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
2715         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
2716         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
2717         -Wa,-Av9a -mvis.
2719 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2721         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
2722         LIT() to individual constants in simple expressions
2723         after splitting on spaces.
2724         (_apply_lit): Rename replaced version, and use it to
2725         apply to what appears to be a token.
2727         * math/libm-test.inc: Fix many, many issues with
2728         spacing.
2730 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
2732         * math/math.h: Move comment about <bits/mathdef.h> definitions
2733         above inclusion of <bits/mathdef.h>.  Do not mention
2734         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
2736 2016-08-05  Torvald Riegel  <triegel@redhat.com>
2738         * include/atomic.h (atomic_exchange_relaxed): New.
2740 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
2742         * math/e_scalb.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.
2745         * math/e_scalbf.c: Do not include <fenv.h>.
2746         (invalid_fn): Do calculation resulting in NaN instead of raising
2747         FE_INVALID and returning a NaN explicitly.
2748         * math/e_scalbl.c: Do not include <fenv.h>.
2749         (invalid_fn): Do calculation resulting in NaN instead of raising
2750         FE_INVALID and returning a NaN explicitly.
2752 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
2754         * po/de.po: Updated from Translation Project.
2755         * po/fi.po: Likewise.
2756         * po/sv.po: Likewise.
2758 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2760         [BZ #20452]
2761         Use sysdep.o from libc.a in static libraries.
2762         * sysdeps/unix/sysv/linux/i386/Makefile
2763         (libpthread-shared-only-routines): Add sysdep.
2764         (librt-shared-only-routines): Likewise.
2766 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2768         * math/tgmath.h (nextdown): Define if
2769         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2770         (nextup): Likewise.
2772         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2773         macro.
2774         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2775         Document.
2776         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2777         Document macro.
2778         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2779         (exp10f): Likewise.
2780         (exp10l): Likewise.
2781         * math/bits/mathcalls.h (exp10): Declare if
2782         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2784         * manual/arith.texi (nextup): Fix typo in last change.
2786 2016-08-03  Zack Weinberg  <zackw@panix.com>
2788         [BZ #19239]
2789         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2790         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2791         define major, minor, and makedev to issue deprecation warnings on use.
2792         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2793         previously-activated deprecation warnings for these macros and prevent
2794         subsequent inclusions of this header from having any effect.
2795         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2796         including <sys/sysmacros.h>, and undefine it again afterward.
2798 2016-08-03  Zack Weinberg  <zackw@panix.com>
2800         * sysdeps/generic/sys/sysmacros.h: Delete file.
2801         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2802         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2803         * bits/sysmacros.h: ... here; this encoding is now the generic
2804         encoding.  Now defines only the following macros:
2805         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2806         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2807         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2809         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2810         bits/sysmacros.h and the above new macros to generate the
2811         public implementations of major, minor, and makedev.
2812         * misc/tst-makedev.c: New test.
2813         * include/sys/sysmacros.h: New wrapper.
2815         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2816         (routines): Add makedev.
2817         (tests): Add tst-makedev.
2818         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2819         gnu_dev_makedev.
2820         * posix/Makefile (headers): Remove sys/sysmacros.h.
2821         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2823         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2824         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2825         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2826         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2827         * sysdeps/unix/sysv/linux/arm/libc.abilist
2828         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2829         * sysdeps/unix/sysv/linux/i386/libc.abilist
2830         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2831         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2832         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2833         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2834         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2835         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2836         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2837         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2838         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2843         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2844         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2845         * sysdeps/unix/sysv/linux/sh/libc.abilist
2846         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2847         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2850         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2851         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2852         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2853         Add GLIBC_2.25.
2855         * include/features.h (__glibc_clang_prereq): New macro.
2856         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2857         (__attribute_deprecated_msg__): New macros.
2859 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2861         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2862         macro.
2863         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2864         * manual/arith.texi (issignaling): Document as ISO from TS
2865         18661-1:2014.
2866         (nextup): Likewise.
2867         (nextupf): Likewise.
2868         (nextupl): Likewise.
2869         (nextdown): Likewise.
2870         (nextdownf): Likewise.
2871         (nextdownl): Likewise.
2872         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2873         macro.
2874         * math/math.h: Define
2875         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2876         <bits/libc-header-start.h> instead of including <features.h>.
2877         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2878         [__USE_GNU].
2879         * math/bits/mathcalls.h (nextdown): Declare if
2880         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2881         (nextup): Likewise.
2882         (__issignaling): Likewise.
2884 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2886         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2887         check, and remove __glibc_likely hint
2888         from FP_INFINITE check.
2889         * s_csinhf.c (__csinhf): Likewise.
2891         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2892         hint from FP_INFINITE check.
2893         * s_csinhl.c (__csinhl): Likewise.
2895 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2897         * math/Makefile (libm-calls): Insert F placeholder into
2898         object names.  Move w_lgamma_compat* routines into
2899         (libm-compat-calls): New variable.
2900         (libm-compat-calls-ldouble-yes): New variable.
2901         (calls): Insert F placeholder.
2902         (generated): Redefine using new type-foreach macro call.
2903         (routines): Likewise.
2905         (types): New variable to hold a list of symbolic names
2906         for each type supported by the target machine.
2907         (libm-routines): Redefine using new types variable.
2908         (type-foreach): macro to replace fooF with the
2909         appropriately suffixed foo for each types.
2911         (type-ldouble-suffix): New variable.
2912         (type-ldouble-routines): Likewise.
2913         (type-ldouble-yes): Likewise.
2914         (type-double-suffix): Likewise.
2915         (type-double-routines): Likewise.
2916         (type-float-suffix): Likewise.
2917         (type-float-routines): Likewise.
2919         (dbl-only-routines): Remove.
2920         (long-c-yes): Likewise.
2921         (long-m-routines): Likewise.
2922         (long-m-support): Likewise.
2923         (long-m-yes): Likewise.
2924         (test-longdouble-yes): Likewise.
2926         (test-float.o): Simplify by increasing the scope of the
2927         recipe which adds libm-test.stmp to the vector types.
2928         (test-ifloat.o): Likewise.
2929         (test-float-finite.o): Likewise.
2930         (test-double.o): Likewise
2931         (test-idouble.o): Likewise.
2932         (test-double-finite.o): Likewise.
2933         (test-ldouble.o): Likewise
2934         (test-ildoubl.o): Likewise.
2935         (test-ldouble-finite.o): Likewise.
2937         (libm-tests): Redefine type tests using foreach and the
2938         list of types in types.
2940         (CPPFLAGS-test-ildoubl.c): Rename to
2941         (CPPFLAGS-test-ildouble.c): New variable
2943         * math/test-ildoubl.c: Rename to
2944         * math/test-ildouble.c: New file.
2946 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2948         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2949         Use fabsl instead of fabs.
2950         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2951         Likewise.
2952         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2953         Add long double suffix to constant to ensure proper
2954         promotion to long double.
2956 2016-08-03  Tom Tromey  <tom@tromey.com>
2958         [BZ #20311]
2959         * nptl_db/Makefile (headers): Add proc_service.h.
2960         * nptl_db/proc_service.h: Add include guard.  Use
2961         __BEGIN/__END_DECLS.
2962         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2963         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2964         arguments.
2967 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2969         [BZ #17730]
2970         Avoid using memalign for TCB allocations.
2971         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2972         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2973         Avoid alignment gap in the TLS_DTV_AT_TP case.
2974         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2975         determine the pointer to free.
2976         * nptl/tst-tls3-malloc.c: New test.
2977         * nptl/Makefile (tests): Add it.
2978         (tst-tls3-malloc): Link with libdl, libpthread.
2979         (LDFLAGS-tst-tls3-malloc): Set.
2980         (tst-tls3-malloc.out): Depend on DSO used in test.
2982 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2984         [BZ #17730]
2985         Avoid using memalign for TLS allocations.
2986         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2987         is_static member with to_free member.
2988         (union dtv): Use struct dtv_pointer.
2989         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2990         dtv_pointer instead of is_static.
2991         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2992         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2993         instead of val.
2994         (allocate_dtv_entry): New function.
2995         (allocate_and_init): Return struct dtv_pointer.  Call
2996         allocate_dtv_entry instead of __libc_memalign.
2997         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2998         instead of val.
2999         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3000         instead of is_static.  Adjust call to allocate_and_init.
3001         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3002         struct dtv_pointer instead of val.
3004 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3006         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3007         (MALLOC_ALIGN_MASK): Move ...
3008         * malloc/malloc-internal.h: ... to here.
3009         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3011 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3013         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3014         (UDP_ENCAP_GTP1U): Likewise.
3016         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3017         (PF_MAX): Update value.
3018         (AF_QIPCRTR): New macro.
3020 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3022         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3023         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3024         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3025         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3026         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3027         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3028         s_truncf-vis3, s_trunc-vis3.
3029         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3030         (CFLAGS-s_ceil-vis3.c): Likewise.
3031         (CFLAGS-s_floorf-vis3.c): Likewise.
3032         (CFLAGS-s_floor-vis3.c): Likewise.
3033         (CFLAGS-s_truncf-vis3.c): Likewise.
3034         (CFLAGS-s_trunc-vis3.c): Likewise.
3035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3037         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3038         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3039         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3042         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3043         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3044         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3045         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3046         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3048 2016-08-02  David S. Miller  <davem@davemloft.net>
3050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3051         (__nearbyint_vis3): Don't check for sNaN before float register is
3052         loaded with the incoming argument.
3053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3054         (__nearbyintf_vis3): Likewise.
3055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3056         Likewise.
3057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3058         Likewise.
3060         * string/test-strncmp.c (do_test_limit): Make sure the test data
3061         stream is aligned as required for the type "CHAR".
3062         (do_test): Likewise.
3064 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3066         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3067         by beq instructions jumping to the end of the function.
3068         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3069         clobber list. Use "i" constraint instead of "X".
3070         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3071         of "X".
3073 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3075         * bits/libc-header-start.h: New file.
3076         * Makefile (headers): Add bits/libc-header-start.h.
3077         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3078         (__GLIBC_USE): New macro.
3079         * libio/stdio.h: Define
3080         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3081         <bits/libc-header-start.h> instead of including <features.h>.
3082         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3083         (open_memstream): Likewise.
3084         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3085         (__asprintf): Likewise.
3086         (asprintf): Likewise.
3087         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3088         (getdelim): Likewise.
3089         (getline): Likewise.
3090         * string/string.h: Define
3091         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3092         <bits/libc-header-start.h> instead of including <features.h>.
3093         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3094         (strndup): Likewise.
3095         * wcsmbs/wchar.h: Define
3096         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3097         <bits/libc-header-start.h> instead of including <features.h>.
3098         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3099         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3101 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3103         Support linking against compatibility symbols, for use in tests.
3104         * include/libc-symbols.h (symbol_version_reference): New macro.
3105         (symbol_version): Use it.
3106         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3107         (compat_symbol): Use compat_symbol_reference.
3108         (compat_symbol_1, compat_symbol_2): Remove.
3109         (compat_symbol_reference, compat_symbol_reference_1)
3110         (compat_symbol_reference_2): New macro.  Use
3111         symbol_version_reference.
3113 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3115         [BZ #19469]
3116         * malloc/Makefile (CPPFLAGS): Compile tests with
3117         -DTEST_NO_MALLOPT.
3118         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3120 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3122         [BZ #20033]
3123         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3124         finite version.
3125         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3126         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3127         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3128         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3129         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3130         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3131         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3132         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3133         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3134         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3135         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3136         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3137         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3138         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3139         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3140         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3141         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3142         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3143         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3144         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3145         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3146         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3147         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3148         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3149         in zero power.
3151 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3153         [BZ #20370]
3154         * malloc/arena.c (get_free_list): Update comment.  Assert that
3155         arenas on the free list have no attached threads.
3156         (remove_from_free_list): New function.
3157         (reused_arena): Call it.
3159 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3161         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3162         when it is a NaN.
3163         [_IEEE_FP_INEXACT] Remove.
3164         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3165         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3166         when it is a NaN.
3167         [_IEEE_FP_INEXACT] Remove.
3168         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3169         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3170         when it is a NaN.
3171         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3172         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3173         when its absolute value is greater than 0x1.0p52.
3174         [_IEEE_FP_INEXACT] Remove.
3175         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3176         when its absolute value is greater than 0x1.0p23.
3177         [_IEEE_FP_INEXACT] Remove.
3179 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3181         * version.h (RELEASE): Set to "development"
3182         (VERSION): Set to 2.24.90.
3183         * NEWS: Add 2.25 section.
3185         * version.h (RELEASE): Set to "stable"
3186         (VERSION): Set to 2.24.
3187         * include/features.h (__GLIBC_MINOR__): Set to 24.
3189         * NEWS: Add 2.24 fixed bugs.
3190         * po/libc.pot: Regenerate.
3192 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3195         [$(subdir) = math] (libm-sysdep_routines): Remove.
3196         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3197         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3198         s_truncf-vis3, s_trunc-vis3.
3199         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3201         file.
3202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3223         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3224         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3227         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3233         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3234         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3235         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3236         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3237         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3238         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3239         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3240         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3241         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3242         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3243         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3244         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3246 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3248         [BZ #20384]
3249         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3250         test-double-libmvec-sincos-avx-main.o,
3251         test-double-libmvec-sincos-avx2-main.o,
3252         test-double-libmvec-sincos-main.o,
3253         test-float-libmvec-sincosf-avx-main.o,
3254         test-float-libmvec-sincosf-avx2-main.o and
3255         test-float-libmvec-sincosf-main.o.
3256         test-float-libmvec-sincosf-avx512-main.o.
3257         ($(objpfx)test-double-libmvec-sincos): Also link with
3258         $(objpfx)test-double-libmvec-sincos-main.o.
3259         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3260         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3261         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3262         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3263         ($(objpfx)test-float-libmvec-sincosf): Also link with
3264         $(objpfx)test-float-libmvec-sincosf-main.o.
3265         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3266         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3267         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3268         test-double-libmvec-sincos-avx512-main.o and
3269         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3270         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3271         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3272         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3273         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3274         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3275         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3276         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3277         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3278         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3279         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3280         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3281         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3282         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3283         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3284         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3285         -DREQUIRE_AVX2.
3286         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3287         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3288         -DREQUIRE_AVX512F.
3289         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3290         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3291         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3292         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3293         file.
3294         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3295         Likewise.
3296         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3297         Likewise.
3298         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3299         Likewise.
3300         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3301         Likewise.
3302         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3303         Likewise.
3304         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3305         Likewise.
3306         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3307         Likewise.
3309 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3311         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3313 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3315         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3316         and typo in a comment about AT_HWCAP entry.
3318 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3320         * sysdeps/aarch64/libm-test-ulps: Updated.
3322 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3324         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3325         of r13 as it is not restored in mvcle case.
3327 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3329         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3330         Rename "ret" to "__ret".
3331         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3332         inline_syscall5, inline_syscall6): Likewise.
3334 2016-07-19   Will Newton  <will.newton@gmail.com>
3336         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3337         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3338         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3339         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3340         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3342 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3344         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3345         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3346         -mfpmath=387 with $(rtld-CFLAGS).
3347         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3348         $(rtld-CFLAGS).
3350 2016-07-18   Ross Burton  <ross.burton@intel.com>
3351              Khem Raj  <raj.khem@gmail.com>
3353         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3354         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3355         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3356         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3357         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3358         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3359         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3360         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3361         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3362         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3363         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3364         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3365         R_METAG_TLS_DTPOFF): New.
3367 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3368             Matt Clay  <mclay@lycos.com>
3370         [BZ #20357]
3371         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3372         to call __mpsin/__mpcos and to negate values.
3373         * math/auto-libm-test-in: Add test.
3374         * math/auto-libm-test-out: Regenerate.
3376 2016-07-18  Zack Weinberg  <zackw@panix.com>
3378         * grp/Makefile: Don't install the internal header grp-merge.h.
3380 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3382         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3384 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3386         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3388 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3390         [BZ #15368]
3391         * sysdeps/unix/sysv/linux/nptl-signals.h
3392         (__nptl_clear_internal_signals): New function.
3393         (__libc_signal_block_all): Likewise.
3394         (__libc_signal_block_app): Likewise.
3395         (__libc_signal_restore_set): Likewise.
3396         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3397         implementation.
3398         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3399         the cached pid/tid value in pthread structure.
3401 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3403         [BZ #20347]
3404         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3406 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3408         [BZ #20348]
3409         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3410         preadv64, pwrite64 and pwritev64.
3412 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3414         [BZ #20350]
3415         * posix/tst-preadwrite.c: Renamed to ...
3416         * posix/tst-preadwrite-common.c: This.
3417         (PREAD): Removed.
3418         (PWRITE): Likewise.
3419         (STRINGIFY): Likewise.
3420         (STRINGIFY2): Likewise.
3421         (do_prepare): Make it static and remove function arguments.
3422         (do_test): Likewise.
3423         (PREPARE): Updated.
3424         (TEST_FUNCTION): New.
3425         (name): Make it static.
3426         (fd): Likewise.
3427         (do_prepare): Use create_temp_file.
3428         (do_test): Renamed to ...
3429         (do_test_with_offset): This.  Make it static and accept offset.
3430         Properly check return value of PWRITE and PREAD.  Return bytes
3431         read.  Don't close fd nor unlink name.
3432         * posix/tst-preadwrite.c: Rewrite.
3433         * posix/tst-preadwrite64.c: Likewise.
3435 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3437         [BZ #20309]
3438         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3439         -mtls-dialect=gnu2 works.
3440         * configure: Regenerated.
3441         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3442         (tests): Add tst-gnu2-tls1.
3443         (modules-names): Add tst-gnu2-tls1mod.
3444         ($(objpfx)tst-gnu2-tls1): New.
3445         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3446         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3447         * elf/tst-gnu2-tls1.c: New file.
3448         * elf/tst-gnu2-tls1mod.c: Likewise.
3449         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3450         bytes for push in the PLT entry to align the stack.
3452 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3454         [BZ #20349]
3455         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3457 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3459         [BZ #18707]
3460         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3461         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3463 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3465         * sysdeps/unix/sysv/linux/sysdep.h
3466         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3467         guards.
3468         * misc/tst-preadvwritev-common.c: New file.
3469         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3470         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3471         a check for files larger than 2GB.
3473         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3474         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3475         * sysdeps/unix/sysv/linux/pread.c
3476         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3477         __OFF_T_MATCHES_OFF64_T.
3478         * sysdeps/unix/sysv/linux/pread64.c
3479         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3480         * sysdeps/unix/sysv/linux/preadv.c
3481         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3482         * sysdeps/unix/sysv/linux/preadv64.c
3483         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3484         * sysdeps/unix/sysv/linux/pwrite.c
3485         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3486         * sysdeps/unix/sysv/linux/pwrite64.c
3487         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3488         * sysdeps/unix/sysv/linux/pwritev.c
3489         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3490         * sysdeps/unix/sysv/linux/pwritev64.c
3491         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3493 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3495         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3496         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3498 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3500         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3502 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3504         [BZ #20240]
3505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3506         (CFLAGS-s_modf-ppc32.c): New variable.
3507         (CFLAGS-s_modff-ppc32.c): Likewise.
3508         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3509         (CFLAGS-s_modf-ppc64.c): Likewise.
3510         (CFLAGS-s_modff-ppc64.c): Likewise.
3512 2016-07-07  Andreas Schwab  <schwab@suse.de>
3514         [BZ #20263]
3515         * nptl/tst-robust10.c: New test.
3516         * nptl/Makefile (tests): Add tst-robust10.
3518 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3520         [BZ #20263]
3521         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3523 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3525         * sysdeps/s390/linkmap.h (struct link_map_machine):
3526         Remove member gotplt and add member jmprel.
3527         * sysdeps/s390/s390-32/dl-machine.h
3528         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3529         instead of gotplt with &got[3].
3530         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3531         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3533 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3535         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3537 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3539         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3540         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3541         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3542         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3543         * libio/vtables.c (_IO_vtable_check)
3544         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3545         * libio/libioP.h (IO_set_accept_foreign_vtables)
3546         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3548 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3550         [BZ #20314]
3551         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3552         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3553         $(common-objpfx)cmath.
3554         ($(common-objpfx)cstdlib): New target.
3555         ($(common-objpfx)cmath): Likewise.
3557 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3559         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3561 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3563         [BZ #20327]
3564         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3565         are not part of the string.
3567 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3569         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3570         * nptl/tst-cancel4-common.h (fifoname): New variable.
3571         (fifofd): Likewise.
3572         (cl_fifo): New function.
3573         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
3574         SIGINT.
3575         (tf_open): Add early cancel test.
3577 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
3579         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
3581 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
3583         * sysdeps/generic/ldsodefs.h
3584         (dl_symbol_visibility_binds_local_p): New inline function.
3585         * elf/dl-addr.c (determine_info): Treat hidden and internal
3586         symbols as local.
3587         * elf/dl-lookup.c (do_lookup_x): Likewise.
3588         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
3590 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
3592         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
3593         invalid exception for a sNaN input.
3594         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3595         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3596         (__nearbyint_vis3): Likewise
3597         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3598         (__nearbyintf_vis3): Likewise
3599         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
3600         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3601         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
3602         Likewise.
3603         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
3604         Likewise.
3606 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
3608         [BZ #20139]
3609         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
3610         (HAVE_AVX512DQ_ASM_SUPPORT): This.
3611         * sysdeps/x86_64/configure.ac: Require assembler from binutils
3612         2.24 or above.
3613         (HAVE_AVX512_ASM_SUPPORT): Removed.
3614         (HAVE_AVX512DQ_ASM_SUPPORT): New.
3615         * sysdeps/x86_64/configure: Regenerated.
3616         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
3617         check unconditional.
3618         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3619         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3620         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3621         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3622         Likewise.
3623         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
3624         Likewise.
3625         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3626         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3627         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3628         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3629         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3630         Likewise.
3631         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
3632         Likewise.
3633         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3634         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3635         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
3636         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
3637         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
3638         Likewise.
3639         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
3640         Likewise.
3641         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
3642         Likewise.
3643         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
3644         Likewise.
3645         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
3646         Likewise.
3647         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
3648         Likewise.
3649         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
3650         Likewise.
3651         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
3652         Likewise.
3653         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
3654         Likewise.
3655         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
3656         Likewise.
3657         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
3658         Likewise.
3660 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
3662         [BZ #20024]
3663         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
3664         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
3665         of this implementation of vector function.
3666         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
3667         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
3668         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
3669         Likewise.
3670         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3671         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3672         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
3673         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
3674         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
3675         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
3676         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
3677         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
3678         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
3679         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
3680         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
3681         for testing vector sincos with fixed ABI.
3682         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3683         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3684         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3685         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3686         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3687         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3688         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3689         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
3690         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
3691         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
3692         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
3693         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
3694         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
3695         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
3696         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3697         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3699 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3701         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
3703 2016-06-30  Anton Blanchard  <anton@samba.org>
3705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3706         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
3707         s_sinf-ppc64.
3708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
3709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
3710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
3711         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
3713 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3716         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3717         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
3718         e_expf-ppc64.
3719         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
3720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
3721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
3722         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
3724 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
3726         [BZ #20277]
3727         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
3728         when SHARED is defined.
3730 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
3732         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
3733         (index_arch_Prefer_ERMS): Likewise.
3734         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
3735         __memcpy_erms for Prefer_ERMS.
3736         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3737         (__memmove_erms): Enabled for libc.a.
3738         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
3739         __memmove_erms or Prefer_ERMS.
3740         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
3741         __mempcpy_erms for Prefer_ERMS.
3742         * sysdeps/x86_64/multiarch/memset.S (memset): Return
3743         __memset_erms for Prefer_ERMS.
3745 2016-06-30  Andreas Schwab  <schwab@suse.de>
3747         [BZ #20262]
3748         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
3749         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
3750         of memory.
3752 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
3754         [BZ #18645]
3755         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
3756         (test-extras): Add tst-cleanupx4aux.
3757         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3758         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3759         tst-cleanupx4aux.o.
3760         * nptl/tst-cleanupx4aux.c: New file.
3762 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3764         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3766 2016-06-29  Andreas Schwab  <schwab@suse.de>
3768         [BZ #20260]
3769         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3770         address before the beginning of the string as an integer to avoid
3771         array-bounds warning.
3773 2016-06-28  Richard Henderson  <rth@redhat.com>
3775         * elf/elf.h (EM_BPF): New.
3776         (EM_NUM): Update.
3777         (R_BPF_NONE, R_BPF_MAP_FD): New.
3779         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3780         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3781         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3782         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3783         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3784         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3785         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3786         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3787         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3788         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3789         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3790         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3791         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3792         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3793         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3794         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3795         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3796         (EM_NUM): Update.
3798 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3800         [BZ #18960]
3801         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3802         Set _nl_current_LC_CATEGORY_used to two instead of one.
3804 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3806         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3807         (do_test): ... this.
3808         (TEST_FUNCTION): New macro.
3809          Include test-skeleton.c.
3810         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3811         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3813 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3815         [BZ #15479]
3816         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3817         floating-point environment rather than just control word.
3818         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3819         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3820         floating-point environment, with "invalid" exceptions merged in,
3821         rather than just control word.
3822         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3823         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3824         "inexact" exceptions.
3826         [BZ #15479]
3827         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3828         floating-point environment rather than just control word.
3829         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3830         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3831         floating-point environment, with "invalid" exceptions merged in,
3832         rather than just control word.
3833         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3834         * math/libm-test.inc (floor_test_data): Do not allow spurious
3835         "inexact" exceptions.
3837         [BZ #15479]
3838         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3839         floating-point environment rather than just control word.
3840         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3841         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3842         floating-point environment, with "invalid" exceptions merged in,
3843         rather than just control word.
3844         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3845         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3846         "inexact" exceptions.
3848 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3850         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3851         __libc_vfork.
3852         (__vfork) [IS_IN (libc)]: Remove alias.
3853         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3854         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3855         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3857 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3859         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3860         of atomic_compare_and_exchange_bool_rel.
3861         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3862         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3863         catomic_compare_and_exchange_bool_rel): Remove.
3864         * sysdeps/aarch64/atomic-machine.h
3865         (atomic_compare_and_exchange_bool_rel): Likewise.
3866         * sysdeps/alpha/atomic-machine.h
3867         (atomic_compare_and_exchange_bool_rel): Likewise.
3868         * sysdeps/arm/atomic-machine.h
3869         (atomic_compare_and_exchange_bool_rel): Likewise.
3870         * sysdeps/mips/atomic-machine.h
3871         (atomic_compare_and_exchange_bool_rel): Likewise.
3872         * sysdeps/microblaze/atomic-machine.h
3873         ( __arch_compare_and_exchange_bool_8_rel,
3874         __arch_compare_and_exchange_bool_16_rel): Likewise.
3875         * sysdeps/powerpc/atomic-machine.h
3876         ( __arch_compare_and_exchange_bool_8_rel,
3877         __arch_compare_and_exchange_bool_16_rel): Likewise.
3878         * sysdeps/powerpc/powerpc32/atomic-machine.h
3879         ( __arch_compare_and_exchange_bool_32_rel,
3880         __arch_compare_and_exchange_bool_64_rel): Likewise.
3881         * sysdeps/powerpc/powerpc64/atomic-machine.h
3882         ( __arch_compare_and_exchange_bool_32_rel,
3883         __arch_compare_and_exchange_bool_64_rel): Likewise.
3884         * sysdeps/tile/atomic-machine.h
3885         (atomic_compare_and_exchange_bool_rel): Likewise.
3887 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3889         [BZ #20296]
3890         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3891         when either argument is a NaN.
3892         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3893         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3895         * math/libm-test.inc (snan_value_ld): New macro.
3896         (isgreater_test_data): Add sNaN tests.
3897         (isgreaterequal_test_data): Likewise.
3898         (isless_test_data): Likewise.
3899         (islessequal_test_data): Likewise.
3900         (islessgreater_test_data): Likewise.
3901         (isunordered_test_data): Likewise.
3902         (nextafter_test_data): Likewise.
3903         (nexttoward_test_data): Likewise.
3904         (remainder_test_data): Likewise.
3905         (remquo_test_data): Likewise.
3906         (significand_test_data): Likewise.
3907         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3909 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3911         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3912         environment macros are defined.
3913         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3915 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3917         [BZ #20191]
3918         Implement vtable verification in libio.
3919         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3920         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3921         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3922         _IO_new_file_init_internal instead of _IO_file_init.
3923         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3924         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3925         * libio/Makefile (routines): Add vtables.
3926         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3927         (_IO_init): Remove, not for internal use.
3928         (_IO_init_internal): Declare, internal replacement for _IO_init.
3929         (_IO_file_init): Remove, not for internal use.
3930         (_IO_new_file_init): Remove, not for internal use.
3931         (_IO_new_file_init_internal): Declare, internal replacement for
3932         _IO_new_file_init.
3933         (_IO_old_file_init): Remove, not for internal use.
3934         (_IO_old_file_init_internal): Declare, internal replacement for
3935         _IO_old_file_init.
3936         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3937         internal use.
3938         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3939         Declare.
3940         (libio_vtable): New macro.
3941         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3942         functions.
3943         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3944         _IO_new_file_init.
3945         (_IO_new_file_init): New externally visible wrapper which disables
3946         vtable verification.
3947         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3948         Define as vtables.
3949         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3950         (_IO_init): New externally visible wrapper which disables
3951         vtable verification.
3952         * libio/iofdopen.c (_IO_new_fdopen): Call
3953         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3954         comment.
3955         * libio/iofopen.c (__fopen_internal): Call
3956         _IO_new_file_init_internal instead of _IO_file_init.
3957         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3958         Define as vtables.
3959         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3960         _IO_new_file_init_internal instead of _IO_file_init.
3961         * libio/iopopen.c (_IO_new_popen): Likewise.
3962         (_IO_proc_jumps): Define as vtable.
3963         * libio/iovdprintf.c (_IO_vdprintf): Call
3964         _IO_new_file_init_internal instead of _IO_file_init.
3965         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3966         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3967         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3968         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3969         _IO_old_file_init.
3970         (_IO_old_file_init): New externally visible wrapper which disables
3971         vtable verification.
3972         (_IO_old_file_jumps): Define as vtable.
3973         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3974         _IO_old_file_init_internal instead of _IO_old_file_init.
3975         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3976         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3977         (_IO_old_proc_jumps): Define as vtable.
3978         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3979         Define as vtables.
3980         * libio/vtables.c: New file.
3981         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3982         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3983         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3984         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3985         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3986         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3987         instead of _IO_init.
3989 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3991         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3993 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3995         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3996         potentially unused.
3998 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4000         * test-skeleton.c (write_message): New function.
4001         * malloc/tst-mallocfork2.c (write_message): Remove.
4002         * debug/tst-longjmp_chk2.c (write_indented): New function.
4003         (write_message): Remove.
4004         (stackoverflow_handler): Call write_indented.
4006 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4008         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4009         "inexact" exceptions after fnstenv.
4010         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4011         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4012         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4014 2015-06-22  Zack Weinberg  <zackw@panix.com>
4016         * sysdeps/generic/bits/hwcap.h: Moved to ...
4017         * bits/hwcap.h: Here.
4019 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4021         * sysdeps/aarch64/memcpy.S (memcpy):
4022         Further tuning for performance.
4024 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4026         [BZ #20284]
4027         * malloc/arena.c (reused_arena): Do not return NULL if we start
4028         out with a non-corrupted arena.
4030 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4032         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4033         * misc/tst-preadvwritev.c: New file.
4034         * misc/tst-preadvwritev64.c: Likewise.
4035         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4036         usage.
4037         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4038         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4039         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4040         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4042 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4044         [BZ #19654]
4045         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4046         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4047         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4048         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4049         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4050         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4051         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4052         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4053         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4054         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4055         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4056         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4057         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4058         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4059         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4060         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4061         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4062         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4063         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4064         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4065         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4066         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4067         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4068         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4069         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4070         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4072 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4074         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4075         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4077 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4079         * sysdeps/aarch64/memcpy.S (memcpy):
4080         Rewrite of optimized memcpy and memmove.
4081         * sysdeps/aarch64/memmove.S (memmove): Remove
4082         memmove code (merged into memcpy.S).
4084 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4086         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4087         * sysdeps/generic/dl-dtv.h: New file.
4088         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4089         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4090         (dtv_t): Remove.
4091         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4092         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4093         (dtv_t): Remove.
4094         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4095         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4096         (dtv_t): Remove.
4097         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4098         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4099         (dtv_t): Remove.
4100         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4101         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4102         (dtv_t): Remove.
4103         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4104         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4105         (dtv_t): Remove.
4106         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4107         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4108         (dtv_t): Remove.
4109         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4110         (dtv_t): Remove.
4111         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4112         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4113         (dtv_t): Remove.
4114         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4115         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4116         (dtv_t): Remove.
4117         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4118         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4119         (dtv_t): Remove.
4120         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4121         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4122         (dtv_t): Remove.
4123         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4124         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4125         (dtv_t): Remove.
4126         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4127         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4128         (dtv_t): Remove.
4129         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4130         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4131         (dtv_t): Remove.
4132         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4133         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4134         (dtv_t): Remove.
4136 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4138         Revert symbol poisoning of  __malloc_initialize_hook.
4139         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4140         poisoning.
4141         * malloc/Makefile: Remove un-poisoning.
4142         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4143         instead of old__malloc_initialize_hook.
4144         * malloc/malloc-hooks.h: Likewise.
4145         * malloc/malloc.c: Likewise.
4146         * malloc/mcheck-init.c: Likewise.
4148 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4150         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4152 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4154         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4155         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4156         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4157         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4159 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4161         * NEWS: Mention addition of nextup and nextdown.
4162         * manual/arith.texi: Document nextup and nextdown.
4163         * manual/libm-err-tab.pl: Add nextup and nextdown.
4164         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4165         * math/Versions (libm): Add GLIBC_2.24.
4166         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4167         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4168         Add new test.
4169         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4170         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4171         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4172         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4173         (nextup_test_data): Likewise.
4174         (nextdown_test_data): Likewise.
4175         * math/s_nextdown.c: New file.
4176         * math/s_nextdownf.c: Likewise.
4177         * math/s_nextdownl.c: Likewise.
4178         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4179         F(nextup): New function.
4180         F(nextdown): Likewise.
4181         * math/tgmath.h: Add nextup and nextdown.
4182         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4183         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4184         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4185         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4186         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4187         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4188         Add nextup and nextdown.
4189         (CFLAGS-nldbl-nextup.c): New variable.
4190         (CFLAGS-nldbl-nextdown.c): Likewise.
4191         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4192         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4193         * sysdeps/nacl/libm.abilist: Update.
4194         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4195         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4196         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4197         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4198         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4199         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4200         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4201         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4202         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4203         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4204         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4205         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4208         Likewise.
4209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4211         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4212         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4213         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4214         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4215         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4218         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4219         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4220         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4221         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4223 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4225         * manual/pattern.texi: Fix typos & grammar errors.
4227 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4229         * manual/search.texi: Fix typos & grammar errors.
4231 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4233         * manual/message.texi: Fix typos & grammar errors.
4235 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4237         * manual/contrib.texi: Fix spelling typos.
4238         * manual/crypt.texi: Likewise.
4239         * manual/filesys.texi: Likewise.
4240         * manual/locale.texi: Likewise.
4241         * manual/message.texi: Likewise.
4242         * manual/nss.texi: Likewise.
4243         * manual/string.texi: Likewise.
4245 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4247         * manual/locale.texi: Fix typos & grammar errors.
4249 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4251         * manual/charset.texi: Fix typos & grammar errors.
4253 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4255         * manual/string.texi: Fix typos.
4257 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4259         * manual/ctype.texi: Fix typos.
4261 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4263         * manual/memory.texi: Fix various typos & grammar errors.
4265 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4267         [BZ #20255]
4268         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4269         * math/libm-test.inc (fdim_test_data): Add another test.
4271         [BZ #6796]
4272         [BZ #20255]
4273         [BZ #20256]
4274         * math/s_fdim.c: Include <math_private.h>.
4275         (__fdim): Use math_narrow_eval on result.
4276         * math/s_fdimf.c: Include <math_private.h>.
4277         (__fdimf): Use math_narrow_eval on result.
4278         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4279         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4280         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4281         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4282         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4283         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4284         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4285         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4286         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4287         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4288         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4289         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4290         overflow.  Add sNaN tests.
4292         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4293         fpclassify.
4294         * math/s_fdimf.c (__fdimf): Likewise.
4295         * math/s_fdiml.c (__fdiml): Likewise.
4297 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4299         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4300         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4302         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4303         ifunc'ed strcasecmp/strncasecmp.
4304         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4305         [EALIGN]: Removed.
4306         [END]: Likewise.
4307         [__strcasecmp]: Define instead of the above to control symbol name.
4308         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4309         for __strcasecmp_power8.
4310         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4311         for __strncasecmp_power8.
4312         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4313         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4314         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4315         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4316         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4317         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4319 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4321         [BZ #20252]
4322         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4323         arguments when second argument is a NaN.
4324         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4325         qNaN tests.
4327         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4328         (conj_test_data): Likewise.
4329         (copysign_test_data): Likewise.
4330         (creal_test_data): Likewise.
4331         (fma_test_data): Likewise.
4332         (fmod_test_data): Likewise.
4334         [BZ #20250]
4335         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4336         itself.
4337         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4338         zero input to itself.
4339         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4340         Likewise.
4341         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4342         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4343         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4344         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4345         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4347 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4349         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4350         * nptl/tst-cancel4-common.c: New file.
4351         * nptl/tst-cancel4-common.h: Likewise.
4352         * nptl/tst-cancel4.c: Move common definitions to
4353         tst-cancel4-common.{c,h} file.
4354         * nptl/tst-cancel4_1.c: New test.
4355         * nptl/tst-cancel4_2.c: New test.
4357 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4359         [BZ #20248]
4360         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4361         (write_message): New function.
4362         (stackoverflow_handler): Call it instead of printf, to avoid
4363         excessive stack usage by printf.
4364         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4366 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4368         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4369         (prio_inherit_missing): Remove define.
4370         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4371         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4372         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4373         Likewise.
4374         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4375         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4376         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4377         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4378         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4379         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4381 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4383         [BZ #19670]
4384         [BZ #19672]
4386         * io/test-lfs.c (do_prepare): Use xmalloc.
4387         * io/tst-fcntl.c (do_prepare): Likewise.
4388         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4389         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4390         * login/tst-utmp.c (do_prepare): Likewise.
4391         * posix/tst-exec.c (do_prepare): Likewise.
4392         * posix/tst-pathconf.c (prepare): Likewise.
4393         * posix/tst-spawn.c (do_prepare): Likewise.
4394         * posix/tst-truncate.c (do_prepare): Likewise.
4395         * rt/tst-aio.c (do_prepare): Likewise.
4396         * rt/tst-aio64.c (do_prepare): Likewise.
4398 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4400         [BZ #20237]
4401         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4402         (get*ent): Set entidx to NULL during initialization.  If entidx is
4403         NULL, start iteration from the beginning.
4405 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4407         * malloc/malloc.c (musable): Return correct size for dumped fake
4408         mmapped chunk.
4410 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4412         [BZ #20222]
4413         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4414         (_IO_cookie_write): Likewise.
4415         (_IO_cookie_seek): Likewise.
4416         (_IO_cookie_close): Likewise.
4417         (_IO_old_cookie_seek): Likewise.
4418         (set_callbacks): New function.
4419         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4421 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4423         * locale/programs/localedef.c (oldstyle_tables): Remove.
4424         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4426 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4428         [BZ #20240]
4429         * math/Makefile (CFLAGS-s_modf.c): New variable.
4430         (CFLAGS-s_modff.c): Likewise.
4431         (CFLAGS-s_modfl.c): Likewise.
4432         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4434 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4436         [BZ #20215]
4437         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4438         [!__GNUC_PREREQ (3,2)]: Likewise.
4440 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4442         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4443         (msghdr.msg_controllen): Likewise.
4444         (cmsghdr.cmsg_len): Likewise.
4445         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4446         ptw-oldsendmsg.
4447         (CFLAGS-oldrecvmsg.c): Remove rule.
4448         (CFLAGS-oldsendmsg.c): Likewise.
4449         (CFLAGS-recvmsg.c): Add rule.
4450         (CFLAGS-sendmsg.c): Likewise.
4451         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4452         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4453         (CFLAGS-recvmsg.c): Remove rule.
4454         (CFLAGS-sendmsg.c): Likewise.
4455         (CFLAGS-oldrecvmsg.c): Likewise.
4456         (CFLAGS-oldsendmsg.c): Likewise.
4457         (CFLAGS-recvmmsg.c): Likewise.
4458         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4459         to kernel defined interfaces.
4460         (msghdr.msg_controllen): Likewise.
4461         (cmsghdr.cmsg_len): Likewise.
4462         (msghdr.__glibc_reserved1): Remove member.
4463         (msghdr.__glibc_reserved2): Likewise.
4464         (cmsghdr.__glibc_reserved1): Likewise.
4465         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4466         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4467         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4468         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4469         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4470         version.
4471         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4472         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4473         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4474         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4475         Remove recvmsg and sendmsg.
4476         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4477         Likewise.
4478         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4479         Likewise.
4480         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4481         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4482         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4483         Likewise.
4484         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4485         Likewise.
4486         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4487         [libc] (GLIBC_2.24): Likewise.
4488         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4489         Likewise.
4490         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4491         Likewise.
4492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4493         [libc] (GLIBC_2.24): Likewise.
4494         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4495         Likewise.
4496         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4497         Likewise.
4498         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4499         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4500         Likewise.
4501         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4502         Likewise.
4503         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4504         Likewise.
4505         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4506         Likewise.
4507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4508         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4509         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4510         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4511         version for {recv,send,recm,sendm}msg.
4512         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4513         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4514         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4515         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4516         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4517         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4518         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4519         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4520         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4521         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4522         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4523         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4525         Likewise.
4526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4527         Likewise.
4528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4530         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4531         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4532         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4533         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4534         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4535         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4538         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4539         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4540         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4542 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4544         [BZ #19564]
4545         Remove __malloc_initialize_hook from the API.
4546         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4547         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4548         #pragma GCC poison.
4549         * malloc/malloc-hooks.h: New file.
4550         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4551         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4552         (old__malloc_initialize_hook): Rename from
4553         __malloc_initialize_hook to evade poisoning.  Turn into compat
4554         symbol.
4555         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4556         __malloc_initialize_hook.
4557         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4558         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4559         * manual/memory.texi (Hooks for Malloc): Remove
4560         __malloc_initialize_hook.  Adjust hook example.
4562 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4564         [BZ #20235]
4565         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4566         itself.
4567         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4568         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4570         [BZ #20234]
4571         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4572         infinity or NaN input to itself.
4574         [BZ #20233]
4575         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
4576         to itself.
4578         [BZ #20232]
4579         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
4580         itself.
4582 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4584         * sysdeps/x86_64/start.S (_start): Always indirect branch to
4585         __libc_start_main via GOT.
4587 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
4589         * sysdeps/x86_64/memcopy.h: New file.
4590         * sysdeps/x86_64/wordcopy.c: Likewise.
4592 2016-06-09  Florian Weimer  <fweimer@redhat.com>
4594         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
4595         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
4596         <cstdlib>.
4597         (optimization_barrier): New.
4598         (do_test): Use it.  Call quick_exit in the global namespace.
4599         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
4600         instead of <cstdlib>, <thread>.
4601         (optimization_barrier): New.
4602         (non_main_thread): Adjust declaration.  Call optimization_barrier.
4603         Call quick_exit in the global namespace.
4604         (do_test): Call optimization_barrier.  Use pthread_create,
4605         pthread_join instead of std::thread.
4607 2016-06-09  Andreas Schwab  <schwab@suse.de>
4609         [BZ #19755]
4610         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
4611         new entries in auto-propagate mode.
4612         * nscd/grpcache.c (cache_addgr): Likewise.
4614 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4616         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
4617         New functions.
4618         (add_temp_file): Use them.
4620 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
4622         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
4624 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
4626         [BZ #20229]
4627         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
4628         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
4629         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
4631         [BZ #20228]
4632         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
4633         itself.
4634         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4635         * math/libm-test.inc (log10_test_data): Add sNaN tests.
4637         [BZ #20227]
4638         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
4639         itself.
4640         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4641         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4642         * math/libm-test.inc (log_test_data): Add sNaN tests.
4644         [BZ #20226]
4645         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
4646         itself.
4647         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4648         * math/libm-test.inc (exp_test_data): Add sNaN tests.
4649         (exp10_test_data): Likewise.
4650         (expm1_test_data): Likewise.
4652         [BZ #20225]
4653         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
4654         itself.
4655         * math/s_ldexpf.c (__ldexpf): Likewise.
4656         * math/s_ldexpl.c (__ldexpl): Likewise.
4657         * math/w_scalbln.c (__w_scalbln): Likewise.
4658         * math/w_scalblnf.c (__w_scalblnf): Likewise.
4659         * math/w_scalblnl.c (__w_scalblnl): Likewise.
4660         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
4661         (scalbln_test_data): Likewise.
4663         [BZ #20224]
4664         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
4665         argument to itself.
4666         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
4668 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4670         [BZ #19776]
4671         * sysdeps/x86_64/memcpy.S: Make it dummy.
4672         * sysdeps/x86_64/mempcpy.S: Likewise.
4673         * sysdeps/x86_64/memmove.S: New file.
4674         * sysdeps/x86_64/memmove_chk.S: Likewise.
4675         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4676         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4677         * sysdeps/x86_64/memmove.c: Removed.
4678         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4679         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4680         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
4681         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4682         Likewise.
4683         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4684         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4686         memcpy-sse2-unaligned, memmove-avx-unaligned,
4687         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
4688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4689         (__libc_ifunc_impl_list): Replace
4690         __memmove_chk_avx512_unaligned_2 with
4691         __memmove_chk_avx512_unaligned.  Remove
4692         __memmove_chk_avx_unaligned_2.  Replace
4693         __memmove_chk_sse2_unaligned_2 with
4694         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
4695         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
4696         with __memmove_avx512_unaligned.  Replace
4697         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
4698         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
4699         with __memcpy_chk_avx512_unaligned.  Remove
4700         __memcpy_chk_avx_unaligned_2.  Replace
4701         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
4702         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
4703         Replace __memcpy_avx512_unaligned_2 with
4704         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
4705         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
4706         with __mempcpy_chk_avx512_unaligned.  Remove
4707         __mempcpy_chk_avx_unaligned_2.  Replace
4708         __mempcpy_chk_sse2_unaligned_2 with
4709         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
4710         Replace __mempcpy_avx512_unaligned_2 with
4711         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
4712         Replace __mempcpy_sse2_unaligned_2 with
4713         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
4714         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
4715         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
4716         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
4717         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
4718         (ENTRY): Removed.
4719         (END): Likewise.
4720         (ENTRY_CHK): Likewise.
4721         (libc_hidden_builtin_def): Likewise.
4722         Don't include ../memcpy.S.
4723         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
4724         __memcpy_chk_avx512_unaligned_erms and
4725         __memcpy_chk_avx512_unaligned.  Use
4726         __memcpy_chk_avx_unaligned_erms and
4727         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4728         Default to __memcpy_chk_sse2_unaligned.
4729         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4730         Change function suffix from unaligned_2 to unaligned.
4731         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
4732         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
4733         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
4734         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
4735         (ENTRY): Removed.
4736         (END): Likewise.
4737         (ENTRY_CHK): Likewise.
4738         (libc_hidden_builtin_def): Likewise.
4739         Don't include ../mempcpy.S.
4740         (mempcpy): New.  Add a weak alias.
4741         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
4742         __mempcpy_chk_avx512_unaligned_erms and
4743         __mempcpy_chk_avx512_unaligned.  Use
4744         __mempcpy_chk_avx_unaligned_erms and
4745         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
4746         Default to __mempcpy_chk_sse2_unaligned.
4748 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
4750         [BZ #19881]
4751         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
4752         into ...
4753         * sysdeps/x86_64/memset.S: This.
4754         (__bzero): Removed.
4755         (__memset_tail): Likewise.
4756         (__memset_chk): Likewise.
4757         (memset): Likewise.
4758         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4759         defined.
4760         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4761         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4762         (__memset_zero_constant_len_parameter): Check SHARED instead of
4763         PIC.
4764         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4765         memset-avx2 and memset-sse2-unaligned-erms.
4766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4767         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4768         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4769         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4770         (__bzero): Enabled.
4771         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4772         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4773         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4774         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4775         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4776         (memset): Removed.
4777         (__memset_chk): Likewise.
4778         (MEMSET_SYMBOL): New.
4779         (libc_hidden_builtin_def): Replace __memset_sse2 with
4780         __memset_sse2_unaligned.
4781         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4782         __memset_chk_sse2 and __memset_chk_avx2 with
4783         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4784         Use __memset_chk_sse2_unaligned_erms or
4785         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4786         __memset_chk_avx512_unaligned_erms and
4787         __memset_chk_avx512_unaligned.
4789 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4791         * math/gen-auto-libm-test.c (fp_format_desc): remove
4792         suffix member.
4793         (output_generic_value): Remove usage of suffix member,
4794         and the resulting unuse of the fp_format argument.
4795         (output_for_one_input_case): Remove unused fp_format
4796         parameter.
4798         * math/auto-libm-test-out: Regenerate.
4800         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4801         usage with TEST_COND_ibm128.
4802         (TEST_COND_flt_32): Remove.
4803         (TEST_COND_dbl_64): Remove.
4804         (TEST_COND_ldbl_96_intel): Remove.
4805         (TEST_COND_ldbl_96_m68k): Remove.
4806         (TEST_COND_ldbl_128): Remove.
4808 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4810         * auto-libm-test-in:
4811         Replace flt-32 usage with binary32.
4812         Replace dbl-64 usage with binary64.
4813         Replace ldbl-intel-96 usage with intel96.
4814         Replace ldbl-m68k-96 usage with m68k96.
4815         Replace ldbl-128ibm usage with ibm128.
4816         Replace ldbl-128 usage with binary128.
4818         * auto-libm-test-out: Regenerate.
4820 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4822         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4823         (parse_ulps): Dynamically generate type name matching
4824         string from all_floats.
4825         (get_ulps): Generate the ulps as an array instead.
4826         (output_ulps): Dynamically compose the type based
4827         on the number of supported formats, and print
4828         the indices as type specific helper macros.
4830         * math/libm-test.inc: Remove comment about CHOOSE.
4831         (ulp_data): Generate the type in libm-test-ulps.h.
4832         (ULP_IDX): New macro.
4833         (find_ulps): Update usage of max_ulp.
4835         * math/test-double-vlen2.h (CHOOSE): Remove.
4836         * math/test-double-vlen4.h (CHOOSE): Likewise.
4837         * math/test-double-vlen8.h (CHOOSE): Likewise.
4838         * math/test-float.c (CHOOSE): Likewise.
4839         * math/test-float-finite.c (CHOOSE): Likewise.
4840         * math/test-double.c (CHOOSE): Likewise.
4841         * math/test-double-finite.c (CHOOSE): Likewise.
4842         * math/test-idouble.c (CHOOSE): Likewise.
4843         * math/test-ifloat.c (CHOOSE): Likewise.
4844         * math/test-ildoubl.c (CHOOSE): Likewise.
4845         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4846         * math/test-ldouble.c (CHOOSE): Likewise.
4848         * math/test-float.h (TEST_FLOAT): Remove.
4849         * math/test-double.h (TEST_DOUBLE): Likewise.
4850         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4852 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4854         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4855         (parse_args): Strip C suffix from floating point literals
4856         typed with 'f' and wrap them with LIT().
4858         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4859         (test_ff_f_data_nexttoward): Rename to
4860         (test_fj_f_data): New struct.
4861         (nexttoward_test_data): Relabel tests as
4862         TEST_fj_f instead of TEST_ff_f.
4864 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4866         Emacs bug 23726.
4867         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4868         (__libc_realloc): Correct size computation for dumped fake mmapped
4869         chunks.
4871 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4873         [BZ #20219]
4874         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4875         to itself.
4876         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4878         [BZ #20218]
4879         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4880         to itself.
4881         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4883 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4885         [BZ #20195]
4886         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4887         check to ...
4888         (init_cpu_features): Here.
4890 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4892         [BZ #20214]
4893         * sysdeps/unix/sysv/linux/bits/in.h
4894         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4895          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4896         Define to 1.
4897         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4898          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4899         Define to 0.
4900         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4901         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4903 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4905         [BZ #20198]
4906         * stdlib/Makefile (tests): Add tst-quick_exit, and
4907         tst-thread-quick_exit.
4908         [ifeq ($(have-cxx-thread_local),yes)]
4909         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4910         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4911         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4912         (LDLIBS-tst-thread-quick_exit): Likewise.
4913         [ifneq ($(have-cxx-thread_local),yes)]
4914         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4915         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4916         If run_dtors is true call __call_tls_dtors.
4917         (exit): Call __run_exit_handlers with run_dtors set to true.
4918         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4919         definition.
4920         * stdlib/quick_exit.c (quick_exit): Remove function.
4921         (__new_quick_exit): New function.
4922         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4923         function.
4924         * stdlib/tst-quick_exit.cc: New file.
4925         * stdlib/tst-thread-quick_exit.cc: New file.
4926         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4927         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4928         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4929         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4930         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4931         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4932         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4933         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4934         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4935         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4936         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4937         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4938         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4939         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4940         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4941         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4946         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4947         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4948         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4949         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4950         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4953         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4954         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4955         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4957 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4959         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4960         a typo in comments.
4962 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4964         [BZ #20213]
4965         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4966         argument to itself.
4967         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4969 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4971         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4972         required flags.
4973         (CFLAGS-pwritev64.c): Likewise.
4974         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4975         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4976         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4977         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4978         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4979         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4980         syscall from auto-generation.
4981         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4982         [WORDSIZE == 64] (pwritev64): Remove macro.
4983         [!PWRITEV] (PWRITEV): Likewise.
4984         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4985         [!PWRITEV] (PWRITE): Likewise.
4986         [!PWRITEV] (OFF_T): Likewise.
4987         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4988         (LO_HI_LONG): Remove macro.
4989         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4990         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4991         (PWRITEV): Remove macro.
4992         (PWRITEV_REPLACEMENTE): Likewise.
4993         (PWRITE): Likewise.
4994         (OFF_T): Likewise.
4995         (pwritev64): New function.
4996         * nptl/tst-cancel4.c (tf_writev): Add test.
4998         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4999         required flags.
5000         (CFLAGS-preadv64.c): Likewise.
5001         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5002         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5003         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5004         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5005         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5006         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5007         syscall from auto-generation.
5008         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5009         [WORDSIZE == 64] (preadv64): Remove macro.
5010         [!PREADV] (PREADV): Likewise.
5011         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5012         [!PREADV] (PREAD): Likewise.
5013         [!PREADV] (OFF_T): Likewise.
5014         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5015         (LO_HI_LONG): Remove macro.
5016         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5017         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5018         (PREADV): Remove macro.
5019         (PREADV_REPLACEMENTE): Likewise.
5020         (PREAD): Likewise.
5021         (OFF_T): Likewise.
5022         (preadv64): New function.
5023         * nptl/tst-cancel4.c (tf_preadv): Add test.
5025 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5027         [BZ #20212]
5028         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5029         argument to itself.
5030         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5032 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5034         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5035         New symbol defined as libc_hidden_def.
5036         (strcasestr): Became a weak alias to __strcasestr.
5037         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5038         according to multi-arch support.  Move __stpncpy hidden
5039         definition from here to...
5040         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5041         symbol stpncpy.
5042         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5043         libc_hidden_builtin_def.
5044         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5045         memset symbol to use when multi-arch support is available.
5047 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5049         * dlfcn/tst-rec-dlopen.c: Include string.h.
5051 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5053         * manual/install.texi: Remove mention of --without-tls
5054         * INSTALL: Regenerate.
5056 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5058         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5059         Remove.
5060         (call_function, interposed_malloc_called): New variables.
5061         (malloc): New function.
5062         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5063         and clear call_function as needed.
5065 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5067         * include/wchar.h (__wmemset): Use __typeof.
5069 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5071         * include/wchar.h (__wmemset): Declare function without typeof.
5073 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5075         [BZ #20205]
5076         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5077         exponent when incrementing negative subnormal with low mantissa
5078         word zero.
5079         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5080         Add another test.
5082 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5084         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5085         __wmemset instead of wmemset.
5087 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5089         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5090         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5091         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5092         __USE_KERNEL_IPV6_DEFS to 0.
5093         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5094         Update comment.
5096 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5098         [BZ #19861]
5099         Do not use IFUNC resolver with potentially unrelocated symbol.
5100         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5101         (DEFINE_FORK): Remove macro and inline definition.
5102         (fork_alias): Renamed from fork_ifunc.
5103         (__fork_alias): Renamed from __fork_ifunc.
5105 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5107         [BZ 19653]
5108         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5109         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5111 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5113         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5114         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5115         i386-linux-gnu).
5116         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5117         Set to no.
5118         * sysdeps/mach/hurd/configure: Refresh.
5120 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5122         [BZ #20178]
5123         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5124         on failure instead of exit.
5126 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5128         [BZ #3629]
5129         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5130         of POSIX.1-2008.
5132 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5134         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5135           Use PLT entry for calling _hurd_self_sigstate.
5137 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5139         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5140         available logical processors with SMT level type sharing L2
5141         cache for Intel processors.
5143 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5145         [BZ #20160]
5146         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5147         argument to itself before returning the result.
5148         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5149         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5150         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5151         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5152         Likewise.
5153         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5154         Likewise.
5155         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5156         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5157         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5158         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5159         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5160         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5162         [BZ #20160]
5163         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5164         argument to itself before returning the result.
5165         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5166         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5167         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5168         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5169         Likewise.
5170         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5171         Likewise.
5172         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5173         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5174         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5175         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5176         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5177         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5179 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5181         * libm-test.inc: Replace usage of M_El with
5182         (lit_e): New macro.
5184 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5186         * libm-test.inc: Replace usage of M_PI_4l with
5187         (lit_pi_4_d): New macro.
5189 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5191         * libm-test.inc: Replace usage of M_PIl with
5192         (lit_pi): New macro.
5194 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5196         * libm-test.inc: Replace usage of M_PI2l with
5197         (lit_pi_2_d): New macro.
5199         * math/test-double.h (LITM): New macro.
5200         * math/test-float.h (LITM): Likewise.
5201         * math/test-ldouble.h (LITM): Likewise.
5203 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5205         * libm-test.inc (M_PI_34l): Rename to
5206         (lit_pi_3_m_4_d): New Macro.
5207         (M_PI_34_LOG10El): Rename to
5208         (lit_pi_3_m_4_ln10_m_d): New Macro.
5209         (M_PI2_LOG10El): Rename to
5210         (lit_pi_2_ln10_m_d):  New Macro.
5211         (M_PI4_LOG10El): Rename to
5212         (lit_pi_4_ln10_m_d):  New Macro.
5213         (M_PI_LOG10El): Rename to
5214         (lit_pi_ln10_d):  New Macro.
5216 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5218         [BZ #20157]
5219         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5220         determine whether to negate low half if [_ARCH_PPCGR], and integer
5221         comparison otherwise.
5222         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5223         determine whether to negate low half.
5225         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5226         (NO_TEST_INLINE_DOUBLE): Likewise.
5227         (TEST_COND_x86_64): Likewise.
5228         (TEST_COND_x86): Likewise.
5229         (M_PI_6l): Likewise.
5231 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5233         * math/libm-test.inc:
5234         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5235         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5236         (TEST_LDOUBLE): Update usage to evaluate as true if
5237         the guarded tests match the property being tested.
5238         (LDBL_MAX_EXP): Change to MAX_EXP.
5239         (LDBL_MIN_EXP): Change to MIN_EXP.
5240         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5241         nexttoward tests.
5243 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5245         * math/libm-test.inc:
5246         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5247         (TYPE_MIN): Likewise.
5248         (TYPE_TRUE_MIN): Likewise.
5249         (TYPE_MAX): Likewise.
5250         (MIN_EXP): Likewise.
5251         (MAX_EXP): Likewise.
5252         (MANT_DIG): Likewise.
5254         (FSTR_MAX): New macro.
5255         (__CONCATX): Likewise.
5256         (QTYPE_STR): Likewise.
5257         (TEST_COND_binary32): Likewise.
5258         (TEST_COND_binary64): Likewise.
5259         (TEST_COND_binary128): Likewise.
5260         (TEST_COND_ibm128): Likewise.
5261         (TEST_COND_intel96): Likewise.
5262         (TEST_COND_m68k96): Likewise.
5264         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5265         (TEST_COND_dbl_64): Likewise.
5266         (TEST_COND_ldbl_96_intel): Likewise.
5267         (TEST_COND_ldbl_96_m68k): Likewise.
5268         (TEST_COND_ldbl_128): Likewise.
5269         (TEST_COND_ldbl_128ibm): Likewise.
5271         (plus_zero): Redefine using LIT macro.
5272         (minus_zero): Likewise.
5273         (plus_infty): Redefine as (INF).
5274         (minux_infty): Redefine as (-INF).
5275         (max_value): Redefine as TYPE_MAX.
5276         (min_value): Redefine as TYPE_MIN.
5277         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5279         (print_float): Refactor to use snprintf to convert FLOAT values
5280         to string. This brings it closer to dropin replacement of strtof
5281         for the TS 18661 defined types.
5282         (update_stats): Likewise.
5283         (print_complex_function_ulps): Likewise.
5284         (print_max_error): Likewise.
5285         (print_complex_max_error): Likewise.
5286         (check_float_internal): Likewise.
5288         * math/test-float.h (PREFIX): New macro.
5289         (LIT): Likewise.
5290         (TYPE_STR): Likewise.
5291         (FTOSTR): Likewise.
5293         * math/test-double.h (PREFIX): New macro.
5294         (LIT): Likewise.
5295         (TYPE_STR): Likewise.
5296         (FTOSTR): Likewise.
5298         * math/test-ldouble.h (PREFIX): New macro.
5299         (LIT): Likewise.
5300         (TYPE_STR): Likewise.
5301         (FTOSTR): Likewise.
5303 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5305         [BZ #20156]
5306         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5307         to itself when zero or not finite.
5308         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5309         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5310         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5311         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5313 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5315         [BZ #20153]
5316         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5317         x * x + x for infinities and NaNs.
5319         [BZ #20151]
5320         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5321         argument to itself before returning result.
5322         (__ieee754_y0l): Likewise.
5323         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5324         (__ieee754_y1l).
5326         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5327         (atan_test_data): Likewise.
5328         (ceil_test_data): Likewise.
5329         (cos_test_data): Likewise.
5330         (cosh_test_data): Likewise.
5331         (erf_test_data): Likewise.
5332         (exp2_test_data): Likewise.
5333         (fabs_test_data): Likewise.
5334         (floor_test_data): Likewise.
5335         (ilogb_test_data): Likewise.
5336         (j0_test_data): Likewise.
5337         (j1_test_data): Likewise.
5338         (jn_test_data): Likewise.
5339         (lgamma_test_data): Likewise.
5340         (lrint_test_data): Likewise.
5341         (llrint_test_data): Likewise.
5342         (logb_test_data): Likewise.
5343         (lround_test_data): Likewise.
5344         (llround_test_data): Likewise.
5345         (nearbyint_test_data): Likewise.
5346         (rint_test_data): Likewise.
5347         (round_test_data): Likewise.
5348         (sin_test_data): Likewise.
5349         (sincos_test_data): Likewise.
5350         (sinh_test_data): Likewise.
5351         (sqrt_test_data): Likewise.
5352         (tan_test_data): Likewise.
5353         (tanh_test_data): Likewise.
5354         (tgamma_test_data): Likewise.
5355         (trunc_test_data): Likewise.
5356         (y0_test_data): Likewise.
5357         (y1_test_data): Likewise.
5358         (yn_test_data): Likewise.
5360         * math/libm-test.inc: Update comment about NaN testing.
5361         (TEST_SNAN): New macro.
5362         (snan_value): Likewise.
5363         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5364         (fpclassify_test_data): Add sNaN tests.
5365         (isfinite_test_data): Likewise.
5366         (isinf_test_data): Likewise.
5367         (isnan_test_data): Likewise.
5368         (isnormal_test_data): Likewise.
5369         (issignaling_test_data): Likewise.
5370         (signbit_test_data): Likewise.
5371         * math/gen-libm-test.pl (%beautify): Add snan_value.
5372         (show_exceptions): Add argument $test_snan.
5373         (parse_args): Handle snan_value as non-finite.  Update call to
5374         show_exceptions.
5375         * math/Makefile (libm-test-no-inline-cflags): Add
5376         -fsignaling-nans.
5378 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5380         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5381         (CFLAGS-oldsendmsg.c): Add rule.
5382         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5383         Correct recvmsg symbol name.
5384         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5385         Likewise.
5387 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5389         * sysdeps/unix/sysv/linux/Makefile
5390         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5391         oldsendmmsg.
5392         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5393         sendmmsg.
5394         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5395         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5396         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5397         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5399         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5400         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5402         Likewise.
5403         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5404         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5405         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5406         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5407         iovlen and controllen fields to adjust to POSIX specification.
5408         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5410         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5411         and change to correct expected type.
5412         (msghdr.msg_controllen): Likewise.
5413         (cmsghdr.cmsg_len): Likewise.
5414         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5415         expected POSIX assumption about the size.
5416         (msghdr.msg_controllen): Likewise.
5417         (msghdr.__glibc_reserved1): Likewise.
5418         (msghdr.__glibc_reserved2): Likewise.
5419         (cmsghdr.cmsg_len): Likewise.
5420         (cmsghdr.__glibc_reserved1): Likewise.
5421         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5422         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5423         (CFLAGS-sendmsg.c): Remove rule.
5424         (CFLAGS-recvmsg.c): Likewise.
5425         (CFLAGS-oldsendmsg.c): Add rule.
5426         (CFLAGS-oldrecvmsg.c): Likewise.
5427         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5428         recvmsg and sendmsg.
5429         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5430         Likewise.
5431         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5432         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5433         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5434         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5435         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5436         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5437         Likewise.
5438         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5439         Likewise.
5440         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5441         Likewise.
5442         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5443         Likewise.
5444         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5445         Likewise.
5446         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5447         Likewise.
5448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5449         (GLIBC_2.24): Likewise.
5450         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5451         Likewise.
5452         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5453         Likewise.
5454         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5455         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5456         Likewise.
5457         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5458         Likewise.
5459         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5460         Likewise.
5461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5462         (GLIBC_2.24): Likewise.
5463         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5464         Likewise.
5465         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5466         Likewise.
5467         * sysdeps/unix/sysv/linux/Makefile
5468         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5469         (CFLAGS-sendmsg.c): Add rule.
5470         (CFLAGS-recvmsg.c): Likewise.
5471         (CFLAGS-oldsendmsg.c): Likewise.
5472         (CFLAGS-oldrecvmsg.c): Likewise.
5473         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5474         initialization.
5475         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5476         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5477         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5478         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5479         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5480         iovlen and controllen fields to adjust to POSIX specification.
5481         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5482         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5483         added recvmsg and sendmsg.
5484         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5485         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5486         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5487         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5488         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5489         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5490         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5491         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5492         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5493         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5494         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5495         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5497         Likewise.
5498         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5500         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5501         Likewise.
5502         Likewise.
5503         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5504         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5505         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5506         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5507         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5508         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5510         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5512         Likewise.
5513         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5514         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5516         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5517         from auto-generation.
5518         (sendmsg): Likewise.
5519         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5520         (sendmsg): Likewise.
5521         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5522         (sendmsg): Likewise.
5523         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5524         (sendmsg): Likewise.
5525         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5526         (sendmsg): Likewise.
5527         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5528         (sendmsg): Likewise.
5529         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5530         Likewise.
5531         (sendmsg): Likewise.
5532         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5533         (sendmsg): Likewise.
5534         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5535         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5536         Remove.
5537         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5538         Likewise.
5539         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5540         Undefine.
5541         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5542         Likewise.
5543         * sysdeps/unix/sysv/linux/kernel-features.h
5544         (__ASSUME_SENDMSG_SYSCALL): Define.
5545         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5546         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5547         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5548         Remove.
5549         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5550         Likewise.
5551         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5552         Undefine.
5553         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5554         Likewise.
5555         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5556         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5557         Remove.
5558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5559         Likewise.
5560         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5561         Undefine.
5562         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5563         Likewise.
5564         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5565         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5566         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5567         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5568         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5569         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5570         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5571         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5572         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5574 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5576         * stdlib/gen-tst-strtod-round.c: Add backslash to
5577         compile command in comment.
5578         (printfp): Remove the literal suffix, and define an infinite
5579         value as INF to avoid expansion clash with INFINITY.
5580         (round_str): Remove the literal suffix.
5581         (round_for_all): Likewise, remove the now duplicate ldbl-64
5582         entry, and remove some magic constants.
5584         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
5585         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
5586         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
5587         (_CONCAT): New macro.
5588         (CONCAT): Likewise.
5589         (CHOOSE_ld): Likewise.
5590         (CHOOSE_f): Likewise.
5591         (CHOOSE_d): Likewise.
5592         (FTYPE_MEMBER): Likewise.
5593         (BOOL_MEMBER): Likewise.
5594         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
5595         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
5596         (_XNTRY): Likewise.
5597         (XNTRY): Likewise.
5598         (_ENTRY): Likewise.
5599         (ENTRY): Likewise.
5600         (test_exactness): Generate members via macro.
5601         (test_results): Likewise.
5602         (test): Update members.
5603         (TEST): Redefine using new macros.
5604         (INF): New macro.
5605         (fetestmodes): New structure.
5606         (do_test): Refactor to be type generic.
5607         (test_in_one_mode): Refactor duplicate code into
5608         (GEN_ONE_TEST): New macro.
5610         * stdlib/tst-strtod-round-data.h: Regenerate.
5612         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
5613         Extend to pass additional arbitrary parameters to
5614         generators.
5616 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
5618         [BZ #15479]
5619         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
5620         floating-point state after first floating-point operation on
5621         input.  Restore full floating-point state instead of just rounding
5622         mode.
5623         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5624         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5625         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5626         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5627         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5629         [BZ #15479]
5630         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
5631         floating-point state after first floating-point operation on
5632         input.  Restore full floating-point state instead of just rounding
5633         mode.
5634         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5635         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5636         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5637         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5638         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5640 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5642         [BZ #19727]
5643         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
5644         valid high surrogate.
5645         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
5646         of an utf16 surrogate.
5647         * iconv/gconv_simple.c (BODY): Likewise.
5648         * iconvdata/bug-iconv12.c: New file.
5649         * iconvdata/Makefile (tests): Add bug-iconv12.
5651 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5653         [BZ #19726]
5654         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
5655         outptrp in case of an illegal input.
5656         * iconv/tst-iconv6.c: New file.
5657         * iconv/Makefile (tests): Add tst-iconv6.
5659 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5661         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
5662         an error in case of a value in range of an utf16 low surrogate.
5664 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5666         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
5667         an error in case of a value in range of an utf16 low surrogate.
5669 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5671         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
5672         Move to ...
5673         * sysdeps/s390/Makefile: ... here.
5674         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
5675         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
5676         (BRANCH_ON_COUNT): New define.
5677         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
5678         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
5679         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
5680         run on s390-32, too.
5681         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
5682         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
5683         run on s390-32, too.
5684         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
5685         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
5686         run on s390-32, too.
5688 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5690         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
5691         etf3eh or new vector loop-variant.
5693 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5695         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
5696         etf3eh or new vector loop-variant.
5698 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5700         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
5701         or new vector loop-variant.
5703 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5705         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
5706         Rename to TR_LOOP and usage of tr instead of troo instruction.
5708 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5710         * sysdeps/s390/multiarch/gconv_simple.c: New File.
5711         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
5713 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5715         * sysdeps/s390/multiarch/8bit-generic.c: New File.
5716         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
5717         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
5718         New override define.
5719         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
5721 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5723         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
5724         * sysdeps/s390/configure.ac: Add test for S390 vector register
5725         support in gcc.
5726         * sysdeps/s390/configure: Regenerated.
5728 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
5730         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
5731         Install file from $(objpfx)gconv-modules.
5732         ($(objpfx)gconv-modules): Concatenate architecture specific file
5733         in variable sysdeps-gconv-modules and gconv-modules in src dir.
5734         * sysdeps/s390/gconv-modules: New file.
5735         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
5736         Deleted.
5737         ($(objpfx)gconv-modules-s390): Deleted.
5738         (sysdeps-gconv-modules): New variable.
5740 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5742         [BZ #15479]
5743         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
5744         of immediate operand to rounding instruction.
5745         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
5746         Likewise.
5747         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
5748         Likewise.
5749         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
5750         Likewise.
5752 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5754         * math/libm-test.inc (MIN_EXP): Directly define as
5755         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
5757 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5759         * math/libm-test.inc (MANT_DIG): Directly define as
5760         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5762 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5764         * stdlib/gen-tst-strtod-round.c (main):
5765           Change usage to more closely match the generated
5766           output.  Add usage and compilation instructions.
5767           (string_to_fp): Add and use FILE* parameter as
5768           output target.
5769           (print_fp): Likewise.
5770           (round_str): Likewise.
5771           (round_for_all): Likewise.
5772         * stdlib/tst-strtod-round.c (tests): Move into
5773         * stdlib/tst-strtod-round-data.h: New file.
5775 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5777         [BZ #15479]
5778         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5779         (__round): Do not force "inexact" exception.
5780         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5781         variable.
5782         (__round): Do not force "inexact" exception.
5783         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5784         (__roundf): Do not force "inexact" exception.
5785         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5786         (__roundl): Do not force "inexact" exception.
5787         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5788         (__roundl): Do not force "inexact" exception.
5789         * math/libm-test.inc (round_test_data): Do not allow spurious
5790         "inexact" exceptions.
5792         [BZ #15479]
5793         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5794         exception in comment.
5795         (huge): Remove variable.
5796         (__floor): Do not force "inexact" exception.
5797         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5798         "inexact" exception in comment.
5799         (huge): Remove variable.
5800         (__floor): Do not force "inexact" exception.
5801         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5802         exception in comment.
5803         (huge): Remove variable.
5804         (__floorf): Do not force "inexact" exception.
5805         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5806         exception in comment.
5807         (huge): Remove variable.
5808         (__floorl): Do not force "inexact" exception.
5810         [BZ #15479]
5811         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5812         exception in comment.
5813         (huge): Remove variable.
5814         (__ceil): Do not force "inexact" exception.
5815         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5816         "inexact" exception in comment.
5817         (huge): Remove variable.
5818         (__ceil): Do not force "inexact" exception.
5819         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5820         (__ceilf): Do not force "inexact" exception.
5821         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5822         exception in comment.
5823         (huge): Remove variable.
5824         (__ceill): Do not force "inexact" exception.
5826 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5828         * config.h.in (BIND_NOW): New.
5829         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5830         * configure: Regenerated.
5831         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5832         indirect branch via the GOT slot.
5834 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5836         [BZ #19765]
5837         * sysdeps/s390/mempcpy.S: New File.
5838         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5839         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5840         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5841         Add mempcpy variants.
5842         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5843         (memcpy): Adjust to be usable from mempcpy entry point.
5844         (__memcpy_mvcle): Likewise.
5845         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5846         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5847         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5848         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5849         (__memcpy_z10): Likewise.
5850         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5852 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5854         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5855         Remove __GI_ symbol.
5856         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5857         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5858         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5859         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5860         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5861         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5863 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5865         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5866         Use cghi instead of chi to compare 64bit value.
5868 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5870         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5871         Jump to 1MB check before executing mvc-loop.
5873 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5875         [BZ #6527]
5876         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5877         unconditionally.
5878         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5880 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5882         * stdlib/tst-strtod6.c (do_test): Use new type generic
5883         invocation of the test function.
5884         (test): Refactor into ...
5885         (TEST_STRTOD): New macro base function.
5887 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5889         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5890         (TEST_STRTOD): New macro.
5891         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5893 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5895         * stdlib/tst-strtod6.c (do_test): Use new type generic
5896         invocation of the test function.
5897         (test): Refactor into ...
5898         (TEST_STRTOD): New macro base function.
5900 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5902         CVE-2016-4429
5903         [BZ #20112]
5904         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5905         payload.
5907 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5909         [BZ #20111]
5910         * bits/sockaddr.h (_SS_SIZE): Define.
5911         * bits/socket.h (_SS_SIZE): Remove.
5912         (_SS_PADSIZE): Adjust to account for all padding.
5913         (struct sockaddr_storage): Update comment.  Avoid implicit
5914         padding.
5915         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5916         (_SS_PADSIZE): Adjust to account for all padding.
5917         (struct sockaddr_storage): Update comment.  Avoid implicit
5918         padding.
5919         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5920         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5921         (_SS_PADSIZE): Adjust to account for all padding.
5922         (struct sockaddr_storage): Update comment.  Avoid implicit
5923         padding.
5924         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5925         __SS_SIZE is 126 in this version.
5926         * inet/tst-sockaddr.c: New file.
5927         * inet/Makefile (tests): Add tst-sockaddr.c
5928         (tst-sockaddr.c): Compile with non-strict aliasing.
5930 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5932         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5933         [XPG3 || XPG4].
5934         (NL_ARGMAX): Also expect for [XPG3].
5935         (NL_LANGMAX): Likewise.
5936         (NL_MSGMAX): Likewise.
5937         (NL_NMAX): Likewise.
5938         (NL_SETMAX): Likewise.
5939         (NL_TEXTMAX): Likewise.
5940         (NZERO): Likewise.
5941         (TMP_MAX): Likewise.
5942         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5943         variable.
5945         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5946         (PF_MAX): Update value.
5947         (AF_KCM): New macro.
5948         (SOL_NETBEUI): Likewise.
5949         (SOL_LLC): Likewise.
5950         (SOL_DCCP): Likewise.
5951         (SOL_NETLINK): Likewise.
5952         (SOL_TIPC): Likewise.
5953         (SOL_RXRPC): Likewise.
5954         (SOL_PPPOL2TP): Likewise.
5955         (SOL_BLUETOOTH): Likewise.
5956         (SOL_PNPIPE): Likewise.
5957         (SOL_RDS): Likewise.
5958         (SOL_IUCV): Likewise.
5959         (SOL_CAIF): Likewise.
5960         (SOL_ALG): Likewise.
5961         (SOL_NFC): Likewise.
5962         (SOL_KCM): Likewise.
5963         (MSG_BATCH): New enum value and macro.
5965 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5967         [BZ #18185]
5968         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5969         sharing L2 cache to 2 for Knights Landing.
5971 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5973         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5974         (FTW_DP): Do not expect for [XPG3 || XPG4].
5975         (FTW_SL): Do not expect for [XPG3].
5976         (FTW_SLN): Likewise.
5977         (FTW_PHYS): Likewise.
5978         (FTW_MOUNT): Likewise.
5979         (FTW_DEPTH): Likewise.
5980         (FTW_CHDIR): Likewise.
5981         (nftw): Likewise.
5982         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5983         variable.
5985 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5987         * manual/errno.texi: Fix various typos & grammar errors.
5989 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5991         * manual/intro.texi: Fix duplicated typo.
5993 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5995         [BZ #13304]
5996         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5997         <float.h>, <math_private.h> and <stdlib.h>.
5998         (add_split): New function.
5999         (mul_split): Likewise.
6000         (ext_val): New typedef.
6001         (store_ext_val): New function.
6002         (mul_ext_val): New function.
6003         (compare): New function.
6004         (add_split_ext): New function.
6005         (__fmal): After checking for Inf, NaN and zero, compute result as
6006         an exact sum of scaled double values in round-to-nearest before
6007         adding those up and adjusting for other rounding modes.
6008         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6009         tests of fma.
6010         * math/auto-libm-test-out: Regenerated.
6012 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6014         [BZ #20119]
6015         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6016         processor level type mask for CPUID with EAX == 11.
6018 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6020         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6021         logical threads if the HTT bit is 0.
6022         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6023         (index_cpu_HTT): Likewise.
6024         (reg_HTT): Likewise.
6026 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6028         [BZ #20115]
6029         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6030         Remove alignments on jump targets.
6032 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6034         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6035         (getpwent): Likewise.
6036         (setpwent): Likewise.
6037         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6038         variable.
6040         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6041         (remque): Likewise.
6042         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6043         variable.
6045 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6047         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6048         not being tested.
6050 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6052         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6053         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6054         call.
6055         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6056         (__condvar_cleanup1): Likewise.
6058 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6060         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6061         New
6062         (__pthread_unwind): Renamed to ...
6063         (PTHREAD_UNWIND): This.
6064         (__pthread_enable_asynccancel): Replace
6065         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6067 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6069         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6070         (CLONE_NEWCGROUP): New macro.
6072         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6073         (Q_GETNEXTQUOTA): New macro.
6075 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6077         [BZ #19907]
6078         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6079         buffer updated by the previous run.
6080         * string/test-memcpy.c (do_one_test): Likewise.
6081         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6082         * string/test-memmove.c (do_one_test): Likewise.
6084 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6086         [BZ #20094]
6087         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6088         not [__USE_XOPEN].
6089         (unlockpt): Likewise.
6090         (ptsname): Likewise.
6091         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6092         variable.
6094         [BZ #20076]
6095         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6096         instead of [__USE_UNIX98].
6097         (S_ISSOCK): Likewise.
6098         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6099         variable.
6101         [BZ #20074]
6102         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6103         [__USE_POSIX].
6104         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6105         variable.
6107         [BZ #20051]
6108         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6109         (ttyslot): Do not declare.
6110         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6111         (ttyslot): New prototype.
6112         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6113         variable.
6114         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6116 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6118         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6120 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6122         Fix race condition in tst-mallocfork2, use fewer resources.
6123         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6124         to current process group.
6125         (signal_sender): Yield in the non-sleeping case.
6127 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6129         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6130         (ecvt): Likewise.
6131         (fcvt): Likewise.
6132         (gcvt): Likewise.
6133         (getsubopt): Likewise.
6134         (grantpt): Likewise.
6135         (initstate): Likewise.
6136         (l64a): Likewise.
6137         (mktemp): Likewise.
6138         (mkstemp): Likewise.
6139         (ptsname): Likewise.
6140         (random): Likewise.
6141         (realpath): Likewise.
6142         (setstate): Likewise.
6143         (srandom): Likewise.
6144         (ttyslot): Likewise.
6145         (unlockpt): Likewise.
6146         (valloc): Likewise.
6148         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6149         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6150         variable.
6152 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6154         [BZ #20072]
6155         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6156         init_cpu_features only if SHARED is defined.
6157         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6159 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6161         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6162         non-inclusive caches on Intel processors.
6164 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6166         * malloc/malloc.c (dumped_main_arena_start)
6167         (dumped_main_arena_end): New variables.
6168         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6169         (do_check_chunk): Skip dumped fake mmapped chunks.
6170         (munmap_chunk): Likewise.
6171         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6172         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6173         mmapped chunks.
6174         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6175         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6176         and dumped_main_arena_end to cover the dumped heap.
6178 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6180         * conform/data/time.h-data (getdate_err): Do not expect for
6181         [XPG3].
6182         (getdate): Likewise.
6183         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6184         variable.
6186         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6187         (F_ULOCK): Likewise.
6188         (F_TEST): Likewise.
6189         (F_TLOCK): Likewise.
6190         (useconds_t): Likewise.
6191         (intptr_t): Do not expect for [XPG3] or [XPG4].
6192         (brk): Do not expect for [XPG3]
6193         (fchown): Likewise.
6194         (fchdir): Likewise.
6195         (ftruncate): Likewise.
6196         (getdtablesize): Likewise.
6197         (gethostid): Likewise.
6198         (getpagesize): Likewise.
6199         (getpgid): Likewise.
6200         (getsid): Likewise.
6201         (getwd): Likewise.
6202         (lchown): Likewise.
6203         (lockf): Likewise.
6204         (readlink): Likewise.
6205         (sbrk): Likewise.
6206         (setpgrp): Likewise.
6207         (setregid): Likewise.
6208         (setreuid): Likewise.
6209         (symlink): Likewise.
6210         (sync): Likewise.
6211         (truncate): Likewise.
6212         (ualarm): Likewise.
6213         (usleep): Likewise.
6214         (vfork): Likewise.
6215         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6216         variable.
6218         [BZ #20054]
6219         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6220         not [__USE_UNIX98].
6221         * conform/data/unistd.h-data (gethostname): Do not expect for
6222         [XPG3].
6224         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6225         [!POSIX] (S_IFBLK): Likewise.
6226         [!POSIX] (S_IFCHR): Likewise.
6227         [!POSIX] (S_IFIFO): Likewise.
6228         [!POSIX] (S_IFREG): Likewise.
6229         [!POSIX] (S_IFDIR): Likewise.
6230         [!POSIX] (S_IFLNK): Likewise.
6231         [!POSIX] (S_IFSOCK): Likewise.
6232         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6233         variable.
6234         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6236 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6238         * sysdeps/aarch64/memset.S (__memset):
6239         Rewrite of optimized memset.
6241 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6243         [BZ #19703]
6244         Partially async-signal-safe fork for single-threaded processes.
6245         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6246         variable.  Do not acquire and reset/release malloc and libio locks
6247         in single-threaded processes.
6248         * malloc/tst-mallocfork2.c: New file.
6249         * malloc/Makefile (tests): Add it.
6251 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6253         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6254         argument.  Use scratch buffer instead of extend_alloca.
6255         (gethosts): Use scratch buffer instead of extend_alloca.
6256         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6257         extend_alloca.
6258         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6260 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6262         [BZ #20055]
6263         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6264         instead of [__USE_UNIX98].
6265         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6266         [__USE_UNIX98].
6267         * conform/data/termios.h-data (tcgetsid): Do not expect for
6268         [XPG3].
6269         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6270         variable.
6271         (test-xfail-XPG4/termios.h/conform): Likewise.
6273 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6275         Do not use mcheck in localedef.
6276         * locale/programs/localedef.c (turn_on_mcheck)
6277         (__malloc_initialize_hook): Remove.
6279 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6281         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6282         * sysdeps/s390/s390-64/Makefile: Likewise.
6284 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6286         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6287         Remove ifunc-defines.sym.
6288         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6289         Likewise.
6290         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6291         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6292         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6293         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6294         rtld-global-offsets.sym.
6295         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6296         * sysdeps/x86/cpu-features-offsets.sym: This.
6297         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6298         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6300 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6302         [BZ #20073]
6303         * io/sys/stat.h (fchmod): Declare for
6304         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6305         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6306         variable.
6308         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6309         [XPG3] (S_IFSOCK): Likewise.
6310         [XPG3] (S_ISVTX): Likewise.
6311         [XPG3] (S_ISLNK): Likewise.
6312         [XPG3] (S_ISSOCK): Likewise.
6313         [XPG3] (fchmod): Likewise.
6314         [XPG3] (lstat): Likewise.
6315         [XPG3] (mknod): Likewise.
6317         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6318         [XPG3].  Expect type long and XFAIL for [XPG4].
6319         (st_blocks): Likewise.
6321         [BZ #20044]
6322         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6323         (pthread_atfork): New prototype.
6324         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6325         variable.
6327         [BZ #20043]
6328         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6329         prototype.
6331 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6333         [BZ #20017]
6334         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6335         gmtime.
6337 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6339         [BZ #19994]
6340         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6341         flag in _res.options.
6343 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6345         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6346         [XPG3 || XPG4].
6347         (blksize_t): Likewise.
6348         (clockid_t): Likewise.
6349         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6350         variable.
6351         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6353 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6355         * sysdeps/unix/sysv/linux/s390/init-first.c:
6356         Add VDSO_SYMBOL(getcpu).
6357         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6358         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6359         Add VDSO_SYMBOL(getcpu).
6360         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6361         New define HAVE_GETCPU_VSYSCALL.
6362         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6364 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6366         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6367         instead of <sysdeps/x86_64/cacheinfo.c>.
6368         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6369         * sysdeps/x86/cacheinfo.c: Here.
6371 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6373         * malloc/malloc-internal.h: Adjust header file guard.
6375 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6377         [BZ #19787]
6378         * inet/getnameinfo.c (check_sprintf_result): New function.
6379         (CHECKED_SNPRINTF): New macro.
6380         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6381         to the host buffer.
6382         (gni_host_local): Use checked_copy to copy the host name.
6383         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6384         (gni_serv_local): Use checked_copy to copy the service name.
6385         (getnameinfo): Remove unnecessary truncation of result buffers.
6387 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6389         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6390         in case of inet_ntop failure.
6392 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6394         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6395         avoid long lines.
6396         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6397         variables.
6398         (gni_host_inet, gni_host_local): Add comment.
6399         (gni_host): Add comment.  Use temporary to avoid long lines.
6401 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6403         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6404         registers specifiers where general purpose registers specifiers should
6405         have been used.
6407 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6409         [BZ #19779]
6410         CVE-2016-1234
6411         Avoid copying names of directory entries.
6412         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6413         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6414         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6415         (struct readdir_result): New type.
6416         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6417         (GL_READDIR): New macros.
6418         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6419         (convert_dirent, convert_dirent64): New functions.
6420         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6421         convert_dirent64.  Adjust references to the readdir result.
6422         * sysdeps/unix/sysv/linux/i386/glob64.c:
6423         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6424         * posix/bug-glob2.c (LONG_NAME): Define.
6425         (filesystem): Add LONG_NAME.
6426         (my_DIR): Increase the size of room_for_dirent.
6428 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6430         [BZ #20041]
6431         * misc/sys/select.h (__need_timespec): Only define if
6432         [__USE_XOPEN2K].
6433         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6434         variable.
6435         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6436         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6437         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6439 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6440             Segher Boessenkool  <segher@gcc.gnu.org>
6442         [BZ #20004]
6443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6444         (__novec_swapcontext): Add missing load.
6446 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6448         [BZ #20023]
6449         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6450         <time.h>.
6451         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6452         variable.
6453         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6455 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6458         flags CLONE_VM compare.
6460 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6462         [BZ #20031]
6463         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6464         completely empty.
6466 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6468         [BZ #19573]
6469         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6470         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6471         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6472         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6473         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6474         (hesiod_free_list): Mark as hidden.
6475         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6476         res_set, res_get.
6477         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6478         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6479         (hesiod_init): Remove obsolete res_ninit call.
6480         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6481         (hesiod_bind): Do not call init.
6482         (get_txt_records): Use res_mkquery, res_send instead of
6483         res_nmkquery, res_nsend.
6484         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6485         instead of _nss_hesiod_init.
6486         (_nss_hesiod_initgroups_dyn): Likewise.
6487         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6488         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6489         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6491 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6493         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6494         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6496 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6498         * hesiod/hesiod.h: Remove RCS keyword.
6499         * hesiod/hesiod_p.h: Likewise.
6501         * hesiod/hesiod.c: Likewise.
6503 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6505         [BZ #12450]
6506         * locale/iso-639.def: Add Samogitian/sgs.
6508 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6510         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6512         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6514 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6515             Carlos O'Donell  <carlos@redhat.com>
6517         [BZ #19072]
6518         * grp/Makefile (headers): Add grp-merge.h
6519         (routines): Add grp-merge.
6520         * grp/getgrgid_r.c: Include grp-merge.h.
6521         (DEEPCOPY_FN): Define.
6522         (MERGE_FN): Define.
6523         * grp/getgrname_r.c: Include grp-merge.h.
6524         (DEEPCOPY_FN): Define.
6525         (MERGE_FN): Define.
6526         * grp/grp-merge.c: New file.
6527         * grp/grp-merge.h: New file.
6528         * include/grp-merge.h: New file.
6529         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6530         __copy_grp@GLIBC_PRIVATE.
6531         * manual/nss.texi (Actions in the NSS configuration): Describe
6532         return, continue, and merge.
6533         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6534         (DEEPCOPY_FN): Define.
6535         (MERGE_FN): Define.
6536         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6537         (DEEPCOPY_FN): Define.
6538         (MERGE_FN): Define.
6539         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6540         [!MERGE_FN]: Define __merge_einval.
6541         (CHECK_MERGE): Define.
6542         (REENTRANT_NAME): Process merge if do_merge is true.
6543         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6544         (__nss_getent_r): Likewise.
6545         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6546         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6548 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6550         [BZ #20012]
6551         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6552         length to calculate the buffer to read.
6553         (fmemopen_write): Set the buffer position based on bytes written.
6554         (fmemopen_seek): Return EINVAL for invalid whence modes.
6556         [BZ #19957]
6557         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6558         tst-getpid2.
6559         (test): Add tst-clone2.
6560         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6561         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6562         pid/tid fields for CLONE_VM.
6563         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6564         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6565         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6566         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6567         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6568         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6569         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6570         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6572         Likewise.
6573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6574         Likewise.
6575         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6576         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6577         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6578         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6579         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6580         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6581         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6582         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
6584 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6586         [BZ #19642]
6587         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
6588         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
6589         (gni_serv_local, gni_serv): New functions extracted from
6590         getnameinfo.
6591         (getnameinfo): Call gni_host and gni_serv to perform the
6592         processing.  Always free scratch buffer.
6594 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6596         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
6597         remaining bytes in the dest string, with zeros.
6599 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6601         [BZ #20010]
6602         CVE-2016-3706
6603         * sysdeps/posix/getaddrinfo.c
6604         (convert_hostent_to_gaih_addrtuple): New function.
6605         (gethosts): Call convert_hostent_to_gaih_addrtuple.
6606         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
6607         AF_INET data.
6609 2016-04-29  Florian Weimer  <fweimer@redhat.com>
6611         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
6612         callback function gl_readdir.
6613         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
6614         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
6615         (glob_in_dir): Remove len.  Use strdup instead of malloc and
6616         memcpy to copy the name.
6617         * manual/pattern.texi (Calling Glob): Document requirements for
6618         implementations of the gl_readdir callback function.
6619         * manual/examples/mkdirent.c: New example.
6620         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
6621         per the manual guidance.
6622         * posix/tst-gnuglob.c (my_readdir): Likewise.
6624 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
6626         [BZ #20014]
6627         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
6628         not [__USE_POSIX].
6629         (getchar_unlocked): Likewise.
6630         (putc_unlocked): Likewise.
6631         (putchar_unlocked): Likewise.
6632         (flockfile): Likewise.
6633         (ftrylockfile): Likewise.
6634         (funlockfile): Likewise.
6635         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
6636         variable.
6637         (test-xfail-XPG4/stdio.h/conform): Likewise.
6639         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
6640         Expect constant.
6641         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
6642         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
6643         variable.
6644         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6645         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6647         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
6648         [__USE_LARGEFILE64] (off64_t): Likewise.
6649         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
6650         variable.
6652 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6654         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
6656 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6658         * resolv/inet_addr.c: Reindent preprocessor conditionals.
6659         * resolv/res_init.c: Likewise.
6660         * resolv/res_mkquery.c: Likewise.
6662 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6664         * resolv/res_init.c (isascii): Do not define.  Use definition in
6665         <ctype.h>.
6666         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
6667         (LOG_AUTH): Remove.
6668         (SPRINTF): Remove, adjust caller.
6669         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
6671 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6673         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
6674         SUNSECURITY conditional.
6675         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
6677 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6679         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
6680         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
6681         Remove BSD-related preprocessor conditionals.
6682         * conf/portability.h: Remove.
6684 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6686         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
6687         * resolv/res_data.c: Likewise.
6689 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6691         * resolv/res_comp.c: Remove code conditional on __ultrix__.
6692         * resolv/res_data.c: Remove code conditional on ultrix.
6694 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6696         * resolv/res_init.c (RFC1535): Do not define.  Remove
6697         RFC1535 preprocessor conditionals.
6698         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
6699         because there configuration options which make the resolver
6700         behavior different.
6702 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6704         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
6705         RESOLVSORT preprocessor conditionals.
6706         * resolv/nss_dns/dns-host.c: Likewise.
6707         * resolv/res_init.c: Likewise.
6709 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6711         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
6712         is never defined.
6714 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6716         * inet/inet_lnaof.c: Remove SCSS keyword.
6717         * inet/inet_mkadr.c: Likewise.
6718         * inet/inet_net.c: Likewise.
6719         * inet/inet_netof.c: Likewise.
6720         * inet/rcmd.c: Likewise.
6721         * inet/rexec.c: Likewise.
6722         * inet/ruserpass.c: Likewise.
6724 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6726         * resolv/inet_addr.c: Remove _LIBC conditionals.
6727         * resolv/res_data.c: Likewise.
6728         * resolv/res_init.c: Likewise.
6729         * resolv/res_mkquery.c: Likewise.
6730         * resolv/res_libc.c: Update comment.
6731         * resolv/README: Update.
6733 2016-04-28  Florian Weimer  <fweimer@redhat.com>
6735         * resolv/gethnamaddr.c: Remove SCSS keyword.
6736         * resolv/herror.c: Likewise.
6737         * resolv/inet_addr.c: Likewise.
6738         * resolv/inet_net_ntop.c: Likewise.
6739         * resolv/inet_net_pton.c: Likewise.
6740         * resolv/inet_neta.c: Likewise.
6741         * resolv/inet_ntop.c: Likewise.
6742         * resolv/inet_pton.c: Likewise.
6743         * resolv/ns_date.c: Remove RCS keyword.
6744         * resolv/ns_name.c: Likewise.
6745         * resolv/ns_netint.c: Likewise.
6746         * resolv/ns_parse.c: Likewise.
6747         * resolv/ns_print.c: Likewise.
6748         * resolv/ns_samedomain.c: Likewise.
6749         * resolv/ns_ttl.c: Likewise.
6750         * resolv/nsap_addr.c: Likewise.
6751         * resolv/res_comp.c: Remove SCSS and RCS keyword.
6752         * resolv/res_data.c: Remove RCS keyword.
6753         * resolv/res_debug.c: Remove SCSS and RCS keyword.
6754         * resolv/res_init.c: Likewise.
6755         * resolv/res_mkquery.c: Likewise.
6756         * resolv/res_query.c: Likewise.
6757         * resolv/res_send.c: Likewise.
6759 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6761         * conform/data/stdio.h-data (fdopen): Expect also for
6762         [XPG3 || XPG4].
6764         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6765         (fseeko): Likewise.
6766         (ftello): Likewise.
6767         (ftrylockfile): Likewise.
6768         (funlockfile): Likewise.
6769         (getc_unlocked): Likewise.
6770         (getchar_unlocked): Likewise.
6771         (putc_unlocked): Likewise.
6772         (putchar_unlocked): Likewise.
6774 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6776         [BZ #19868]
6777         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6778         DNS packet syntax checks (which were not needed before).  Skip
6779         over non-PTR records.
6781 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6783         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6784         definition.  Include <stddef.h> instead.
6786 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6788         [BZ #19831]
6789         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6790         function.
6791         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6792         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6794 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6796         [BZ #19862]
6797         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6798         (getanswer_r): Do not call syslog.
6799         (gaih_getanswer_slice): Likewise.
6800         * resolv/gethnamaddr.c (AskedForGot): Remove.
6801         (getanswer): Do not call syslog.
6802         (gethostbyaddr): Likewise.
6804 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6806         * conform/data/signal.h-data (union sigval): Expect also if
6807         [XOPEN2K].
6808         (struct sigevent): Likewise.
6809         (SIGEV_NONE): Likewise.
6810         (SIGEV_SIGNAL): Likewise.
6811         (SIGEV_THREAD): Likewise.
6812         (SIGRTMIN): Likewise.
6813         (SIGRTMAX): Likewise.
6814         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6815         variable.
6816         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6818 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6820         [BZ #19830]
6821         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6822         (gaih_getanswer_slice): Likewise.
6823         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6824         Also check for availability of RR metadata.
6826 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6828         [BZ #19825]
6829         * resolv/res_send.c (send_vc): Remove early *resplen2
6830         initialization.  Set *resplen2 on socket error.  Call
6831         close_and_return_error for other errors.
6833 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6835         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6836         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6837         (SCM_IUCV_TRGCLS): New define.
6839 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6841         [BZ #20005]
6842         * libio/fmemopen.c (fmemopen_write): Update internal position after
6843         write.
6844         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6845         * stdio-common/tst-fmemopen4.c: New file..
6847 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6849         [BZ #19996]
6850         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6851         not [__USE_XOPEN2K].
6852         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6853         variable.
6855         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6856         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6857         variable.
6859         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6860         [__USE_XOPEN2K8].
6861         [__USE_LARGEFILE64] (off64_t): Likewise.
6862         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6863         variable.
6865 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6867         [BZ #19989]
6868         * libio/stdio.h (cuserid): Do not declare if
6869         [__USE_XOPEN2K && !__USE_GNU].
6870         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6871         variable.
6873 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6875         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6876         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6878         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6879         ifunc'ed strcspn.
6880         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6881         [EALIGN]: Removed.
6882         [END]: Likewise
6883         [STRSPN]: Define instead of the above to control symbol name.
6884         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6885         New file.
6886         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6887         Likewise.
6888         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6889         Likewise.
6890         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6891         Likewise.
6892         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6893         [INITIAL_MASK]: New macro.
6894         [STRCSPN]: Likewise.
6895         [UPDATE_MASK]: Likewise.
6896         [USE_AS_STRCSPN]: Lisewise.
6898 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6900         [BZ #19931]
6901         * stdio-common/tst-vfprintf-width-prec.c: New file.
6902         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6903         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6904         (generated): Add mtrace-related files.
6905         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6906         (tst-%-mem.out): New pattern rule, replaces
6907         tst-printf-bz18872-mem.out.
6908         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6909         specifier, deallocate any previously allocated work buffer.
6911 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6913         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6914         Add nop before __startcontext, add explaining comments.
6916 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6918         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6919         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6920         completely different API.
6922         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6923         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6924         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6925         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6926         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6927         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6928         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6929         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6930         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6931         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6933 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6935         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6937 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6939         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6940         when it is the default of 0.
6942 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6944         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6945         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6946         (sysdep_routines): Add new strcasestr targets.
6947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6948         (__libc_ifunc_impl_list): Likewise.
6949         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6950         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6951         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6952         * sysdeps/powerpc/powerpc64/power8/Makefile:
6953         New file to add strcasestr-ppc64 to sysdep_routines.
6954         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6955         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6957 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6959         * benchtests/Makefile (wcsmbs-benchset): Include only for
6960         native builds and runs.
6961         (LOCALES): Likewise.
6962         (bench-build): Build timing-type here instead of the bench
6963         target.  Generate locale only for native builds.
6964         * benchtests/README: Add note for cross-building.
6966         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6968         * benchtests/README: Update README to include instructions on
6969         using bench-build.
6971         * Makefile.in (bench-build): New target.
6972         * Rules (PHONY): Add bench-build target.
6973         * benchtests/Makefile (bench): Depend on bench-build.
6974         (bench-build): New target.
6976 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6978         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6979         profil_reply_port.
6980         (profile_waiter): Do not initialize profil_reply_port.
6981         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6982         frequency instead of tick length in us.
6984 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6986         [BZ #18712]
6987         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6988         (__old_mempcpy_small): Likewise.
6989         (__old_strcpy_small): Likewise.
6990         (__old_stpcpy_small): Likewise.
6991         (__old_strpbrk_c2): Fix compat symbol name.
6992         (__old_strpbrk_c3): Likewise.
6993         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6994         (__mempcpy_small): Remove.
6995         (__strcpy_small): Remove.
6996         (__stpcpy_small): Remove.
6998 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7000         [BZ #19400]
7001         * locale/iso-639.def: Add the Talossan/tzl language.
7003 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7005         [BZ #16983]
7006         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7007         comment.  Add "ln" to strchr check on postal_fmt.
7009 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7011         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7012         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7013         tel_dom_fmt.
7015 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7017         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7018         (sysdep_routines): Added __strlen_power8.
7019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7020         __strlen_power8 entry.
7021         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7022         Implementation for POWER8.
7023         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7024         for __strlen_power8.
7025         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7026         Implementation for POWER8.
7028 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7030         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7032 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7034         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7035         Goldmont and Airmont processors.
7037 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7039         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7040         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7041         (__STRING2_SMALL_GET32): Remove.
7042         (memset): Remove.
7043         (__memset_1): Remove.
7044         (__memset_gc): Remove.
7045         (__mempcpy): Remove.
7046         (mempcpy): Remove.
7047         (__mempcpy_args): Remove.
7048         (strchr): Remove.
7049         (strcpy): Remove.
7050         (strcpy_args): Remove.
7051         (__stpcpy_args): Remove.
7052         (__strcmp_cc): Remove.
7053         (__strcmp_gc): Remove.
7054         (strstr): Remove.
7056 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7058         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7059         * nis/nis_call.c (nis_server_cache_add): Likewise.
7061 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7063         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7065 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7067         * malloc/arena.c (__malloc_fork_lock_parent)
7068         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7069         internal_function attribute.
7071 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7073         * stdio-common/printf_fp.c (__printf_fp_l):
7074         Rename ___printf_fp_l to __printf_fp_l and
7075         remove strong alias. Use libc_hidden_def instead
7076         of ldbl_hidden_def macro.
7078 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7080         Remove malloc hooks from fork handler.  They are no longer needed
7081         because malloc runs right before fork, and no malloc calls from
7082         other fork handlers are not possible anymore.
7083         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7084         declarations.
7085         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7086         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7087         (atfork_recursive_cntr): Remove.
7088         (__malloc_fork_lock_parent): Do not override malloc hooks and
7089         thread_arena.
7090         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7091         thread_arena.
7092         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7093         thread_arena instead of save_arena.
7095 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7097         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7098         (thread_atfork, thread_atfork_static): Remove.
7099         * sysdeps/mach/hurd/malloc-machine.h:
7100         (thread_atfork, thread_atfork_static): Remove.
7102 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7104         [BZ #19431]
7105         Run the malloc fork handler as late as possible to avoid deadlocks.
7106         * malloc/malloc-internal.h: New file.
7107         * malloc/malloc.c: Include it.
7108         * malloc/arena.c (ATFORK_MEM): Remove.
7109         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7110         Update comment.
7111         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7112         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7113         Remove outdated comment.
7114         (ptmalloc_init): Do not call thread_atfork.  Remove
7115         thread_atfork_static.
7116         * malloc/tst-malloc-fork-deadlock.c: New file.
7117         * Makefile (tests): Add tst-malloc-fork-deadlock.
7118         (tst-malloc-fork-deadlock): Link against libpthread.
7119         * manual/memory.texi (Aligned Memory Blocks): Update safety
7120         annotation comments.
7121         * sysdeps/nptl/fork.c (__libc_fork): Call
7122         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7123         __malloc_fork_unlock_child.
7124         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7126 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7128         [BZ #19613]
7129         Remove union wait.
7130         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7131         (w_stopsig, w_stopval): Remove.
7132         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7133         stat_loc argument.
7134         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7135         (__WAIT_STATUS_DEFN): Remove.
7136         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7137         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7138         (wait, wait3, wait4): Use int * for the stat_loc argument.
7139         * posix/wait.c (__wait): Likewise.
7140         * posix/wait3.c (__wait3): Likewise.
7141         * posix/wait4.c (__wait4): Likewise.
7142         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7143         (__WAIT_STATUS_DEFN): Remove.
7144         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7145         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7146         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7147         argument.
7148         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7149         * sysdeps/posix/wait3.c (__wait3): Likewise.
7150         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7151         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7152         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7153         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7154         stat_loc argument.
7155         * manual/process.texi (BSD Wait Functions): Remove union wait.
7157 2016-04-13  Andreas Schwab  <schwab@suse.de>
7159         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7160         (test-extras): Add tst-tlsalign-vars.
7161         * math/Makefile: Wrap long lines.
7162         (libm-vec-test-wrappers): Define.
7163         (test-extras): Add $(libm-vec-test-wrappers).
7164         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7165         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7166         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7167         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7168         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7169         (extra-test-objs): Add corresponding objects.
7171 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7173         [BZ #19928]
7174         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7175         New.
7176         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7177         times of shared cache size.
7178         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7179         (VMOVNT): New.
7180         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7181         (VMOVNT): Likewise.
7182         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7183         (VMOVNT): Likewise.
7184         (VMOVU): Changed to movups for smaller code sizes.
7185         (VMOVA): Changed to movaps for smaller code sizes.
7186         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7187         comments.
7188         (PREFETCH): New.
7189         (PREFETCH_SIZE): Likewise.
7190         (PREFETCHED_LOAD_SIZE): Likewise.
7191         (PREFETCH_ONE_SET): Likewise.
7192         Rewrite to use forward and backward loops, which move 4 vector
7193         registers at a time, to support overlapping addresses and use
7194         non temporal store if size is above the threshold and there is
7195         no overlap between destination and source.
7197 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7199         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7200         Include dl-vdso.
7201         * sysdeps/unix/sysv/linux/mips/Versions: Add
7202         __vdso_clock_gettime.
7203         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7204         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7205         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7206         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7207         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7208         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7209         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7210         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7211         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7213 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7215         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7216         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7217         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7218         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7219         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7220         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7223         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7224         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7225         syscalls generation.
7226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7227         [__NR_pwrite64] (__NR_write): Remove define.
7228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7229         [__NR_pwrite64] (__NR_write): Remove define.
7230         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7231         Remove define.
7232         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7233         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7234         Remove define.
7235         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7236         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7237         Linux implementation as base.
7238         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7240         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7241         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7242         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7243         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7246         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7247         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7248         syscall generation.
7249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7250         [__NR_pread64] (__NR_pread): Remove define.
7251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7252         [__NR_pread64] (__NR_pread): Likewise.
7253         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7254         define.
7255         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7256         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7257         Remove define.
7258         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7259         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7260         Linux implementation as base.
7261         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7262         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7263         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7265         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7266         definition.
7267         (__ALIGNMENT_COUNT): Likewise.
7268         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7269         (__ALIGNMENT_COUNT): Likewise.
7270         (SYSCALL_LL): New define.
7271         (SYSCALL_LL64): Likewise.
7272         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7273         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7274         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7275         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7277         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7278         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7279         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7280         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7281         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7282         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7284 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7286         [BZ #19865]
7287         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7288         original buffer before retry.
7290 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7292         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7293         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7294         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7295         GLRO(dl_auxv) list.
7296         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7297         including <ldsodefs.h>.
7298         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7300 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7302         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7303         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7304         $(CPPFLAGS).
7306 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7308         [BZ #17950]
7309         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7310         Add -mfpmath=387.
7312 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7314         * sysdeps/i386/configure.ac: Change == to = when calling test.
7315         * sysdeps/x86_64/configure.ac: Likewise.
7316         * sysdeps/i386/configure: Regenerated.
7317         * sysdeps/x86_64/configure: Likewise.
7319 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7321         [BZ #16137]
7322         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7323         * benchtests/bench-strcoll.c (input_files): Likewise.
7324         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7325         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7326         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7328 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7330         [BZ #19929]
7331         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7332         [__USE_XOPEN2K8 && !__USE_GNU].
7333         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7334         variable.
7336         [BZ #19925]
7337         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7338         define if [!__USE_MISC && __USE_XOPEN2K].
7339         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7340         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7341         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7342         Likewise.
7343         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7344         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7345         variable.
7346         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7348 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7350         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7351         (sysdep_routines): Add new strspn targets.
7352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7353         (__libc_ifunc_impl_list): Add strspn.
7354         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7355         New file.
7356         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7357         Likewise.
7358         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7359         Likewise.
7360         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7361         Likewise.
7363 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7365         * misc/hsearch_r.c: Include <limits.h>.
7367 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7369         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7371 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7373         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7374         (MEMCPY_SYMBOL): New.
7375         (MEMPCPY_SYMBOL): Likewise.
7376         (MEMMOVE_CHK_SYMBOL): Likewise.
7377         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7378         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7379         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7380         Provide alias for memcpy in libc.a and ld.so.
7382 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7384         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7385         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7386         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7387         Disabled fro now.
7388         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7389         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7391 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7393         * benchtests/Makefile (string-benchset): Add memcpy-large,
7394         memmove-large and memset-large.
7395         * benchtests/bench-memcpy-large.c: New file.
7396         * benchtests/bench-memmove-large.c: Likewise.
7397         * benchtests/bench-memmove-large.c: Likewise.
7398         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7400 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7402         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7403         32-bit displacement to avoid long nop between instructions.
7405 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7407         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7408         a comment on VMOVU and VMOVA.
7410 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7412         [BZ #19633]
7413         Use specified locale for number formatting in strfmon_l.
7414         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7415         (__nl_lookup_word): New inline functions.
7416         * include/printf.h (__print_fp_l): Declare.
7417         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7418         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7419         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7420         (___printf_fp): New function.
7421         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7422         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7423         * stdlib/tst-strfmon_l.c (do_test): New test.
7424         * stdlib/Makefile (tests): Add kt.
7425         (LOCALES): Build additional locales.
7426         (tst-strfmon_l.out): Require locales.
7428 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7430         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7431         if not in libc.
7432         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7433         Likewise.
7434         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7435         Likewise.
7436         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7437         Likewise.
7439 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7441         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7442         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7443         with unaligned_erms.
7444         (__memmove_erms): Skip if source == destination.
7445         (__memmove_unaligned_erms): Don't check source == destination
7446         first.
7448 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7450         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7451         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7453 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7455         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7456         * string/strspn.c (strspn): Likewise.
7458 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7460         * benchtests/bench-memset.c (do_test): Support 64-byte
7461         alignment.
7462         (test_main): Test 64-byte alignment.
7464 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7466         * benchtests/bench-memmove.c (test_main): Test 64-byte
7467         alignment.
7469 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7471         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7473 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7475         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7476         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7477         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7479         * string/strpbrk.c (strpbrk): Rewrite function.
7480         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7481         (__strpbrk_c2): Likewise.
7482         (__strpbrk_c3): Likewise.
7483         * string/string-inlines.c
7484         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7485         Likewise.
7486         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7487         Likewise.
7489         * string/strspn.c (strcspn): Rewrite function.
7490         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7491         (__strspn_c1): Remove inline function.
7492         (__strspn_c2): Likewise.
7493         (__strspn_c3): Likewise.
7494         * string/string-inlines.c
7495         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7496         compatibility symbol.
7497         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7498         Likewise.
7499         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7500         Likewise.
7501         * string/string-inlines.c: Include generic version.
7503 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7504             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7506         * string/Version (libc): Add GLIBC_2.24.
7507         * string/strcspn.c (strcspn): Rewrite function.
7508         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7509         (__strcspn_c1): Remove inline function.
7510         (__strcspn_c2): Likewise.
7511         (__strcspn_c3): Likewise.
7512         * string/string-inline.c
7513         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7514         compatibility symbol.
7515         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7516         Likewise.
7517         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7518         Likewise.
7519         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7521 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7523         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7524         Use ahi instead of aghi to adjust stack pointer.
7526 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7528         [BZ #19853]
7529         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7530         TEST to take significant digits as second parameter.
7531         [TEST]: Redefine in terms of TEST_N taking 30
7532         significant digits.
7533         (do_test): Add test case to demonstrate precision
7534         failure in the ldbl-128ibm printf.
7535         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7536         (__mpn_extract_long_double): Carry 7 extra intermediate
7537         bits of precision to aide computing difference when
7538         signs differ.
7540 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7542         [BZ #19881]
7543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7544         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7545         memset-avx512-unaligned-erms.
7546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7547         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7548         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7549         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7550         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7551         __memset_sse2_unaligned_erms, __memset_erms,
7552         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7553         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7554         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7555         file.
7556         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7557         Likewise.
7558         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7559         Likewise.
7560         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7561         Likewise.
7563 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7565         [BZ #19776]
7566         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7567         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7568         memmove-avx512-unaligned-erms.
7569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7570         (__libc_ifunc_impl_list): Test
7571         __memmove_chk_avx512_unaligned_2,
7572         __memmove_chk_avx512_unaligned_erms,
7573         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
7574         __memmove_chk_sse2_unaligned_2,
7575         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
7576         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
7577         __memmove_avx512_unaligned_erms, __memmove_erms,
7578         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
7579         __memcpy_chk_avx512_unaligned_2,
7580         __memcpy_chk_avx512_unaligned_erms,
7581         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
7582         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
7583         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
7584         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
7585         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
7586         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
7587         __mempcpy_chk_avx512_unaligned_erms,
7588         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
7589         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
7590         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
7591         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
7592         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
7593         __mempcpy_erms.
7594         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
7595         file.
7596         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7597         Likwise.
7598         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7599         Likwise.
7600         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7601         Likwise.
7603 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7605         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
7606         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
7607         (La_s390_64_regs): Likewise.
7608         (La_s390_32_retval): Append vector register lrv_v24.
7609         (La_s390_64_retval): Likeweise.
7610         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
7611         Handle extended structs La_s390_32_regs and La_s390_32_retval.
7612         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
7613         Handle extended structs La_s390_64_regs and La_s390_64_retval.
7615 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7617         [BZ #19916]
7618         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
7619         to create a non-vector/vector version for _dl_runtime_resolve and
7620         _dl_runtime_profile. Move implementation to ...
7621         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
7622         (_dl_runtime_resolve) Save and restore fpr/vrs.
7623         (_dl_runtime_profile) Save and restore vrs and fix some issues
7624         if _dl_call_pltexit is called.
7625         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
7626         Choose the correct resolver function if running on a machine with vx.
7627         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
7628         to create a non-vector/vector version for _dl_runtime_resolve and
7629         _dl_runtime_profile. Move implementation to ...
7630         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
7631         (_dl_runtime_resolve) Save and restore fpr/vrs.
7632         (_dl_runtime_profile) Save and restore vrs and fix some issues
7633         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
7634         Choose the correct resolver function if running on a machine with vx.
7636 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7638         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
7640 2016-03-31  Florian Weimer  <fweimer@redhat.com>
7642         [BZ #19509]
7643         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
7644         skip_map != NULL.
7645         * elf/tst-dlsym-error.c: New file.
7646         * elf/Makefile (tests): Add tst-dlsym-error.
7647         (tst-dlsym-error): Link against libdl.
7649 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
7651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7652         (__ASSUME_FUTIMESAT): Remove macro.
7653         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
7655 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7657         [BZ #19879]
7658         CVE-2016-3075
7659         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
7660         copy name.
7662 2016-03-29  Florian Weimer  <fweimer@redhat.com>
7664         [BZ #19837]
7665         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
7666         error if parse_line fails.
7668 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7670         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
7671         (index_cpu_ERMS): Likewise.
7672         (reg_ERMS): Likewise.
7674 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
7676         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
7677         PER_LINUX_FDPIC): Add.
7679 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7681         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7682         memcpy-avx512-no-vzeroupper.
7683         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
7684         to ...
7685         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
7686         (MEMCPY): Don't define.
7687         (MEMCPY_CHK): Likewise.
7688         (MEMPCPY): Likewise.
7689         (MEMPCPY_CHK): Likewise.
7690         (MEMPCPY_CHK): Renamed to ...
7691         (__mempcpy_chk_avx512_no_vzeroupper): This.
7692         (MEMPCPY_CHK): Renamed to ...
7693         (__mempcpy_chk_avx512_no_vzeroupper): This.
7694         (MEMCPY_CHK): Renamed to ...
7695         (__memmove_chk_avx512_no_vzeroupper): This.
7696         (MEMCPY): Renamed to ...
7697         (__memmove_avx512_no_vzeroupper): This.
7698         (__memcpy_avx512_no_vzeroupper): New alias.
7699         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
7701 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7703         [BZ #18858]
7704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7705         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
7706         and mempcpy-avx512-no-vzeroupper.
7707         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
7708         New.
7709         (MEMPCPY): Likewise.
7710         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
7711         (MEMPCPY_CHK): New.
7712         (MEMPCPY): Likewise.
7713         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
7714         (MEMPCPY): Likewise.
7715         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
7716         (MEMPCPY): Likewise.
7717         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
7718         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
7719         Likewise.
7720         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
7721         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
7723 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
7724              Amit Pawar  <Amit.Pawar@amd.com>
7726         [BZ #19583]
7727         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7728         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
7729         processors.  Set Fast_Copy_Backward for AMD Excavator
7730         processors.
7731         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
7732         New.
7733         (index_arch_Fast_Unaligned_Copy): Likewise.
7734         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
7735         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
7737 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7739         [BZ #19791]
7740         * resolv/res_send.c (close_and_return_error): New function.
7741         (send_dg): Initialize *resplen2 after reopen failure.  Call
7742         close_and_return_error for error returns.  On error paths without
7743         __res_iclose, initialze *resplen2 explicitly.  Update comment for
7744         successful return.
7746 2016-03-25  Florian Weimer  <fweimer@redhat.com>
7748         [BZ# 19860]
7749         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
7750         zero if the compiler does not provide the AVX512F bit.
7752 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
7754         [BZ #19848]
7755         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
7756         from 8 to 4.
7757         (__ieee754_powl): Compare integer exponent against 4 not 8.
7758         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7759         from 8 to 4.
7760         (__ieee754_powl): Compare integer exponent against 4 not 8.
7761         * math/auto-libm-test-in: Add more tests of pow.
7762         * math/auto-libm-test-out: Regenerated.
7763         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7766 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7768         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7769         Make code unconditional.
7770         [!__NR_utimensat]: Remove conditional code.
7771         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7772         Make code unconditional.
7773         [!__NR_utimensat]: Remove conditional code.
7774         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7775         Make code unconditional.
7776         [!__NR_utimensat]: Remove conditional code.
7778 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7780         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7781         Make code unconditional.
7783 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7785         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7786         call-clobbered %eax on retry path.
7787         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7789 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7791         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7792         Don't set %rcx twice before "rep movsb".
7794 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7796         [BZ #19583]
7797         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7798         inline.  Check family before setting family, model and
7799         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7800         bits here.
7801         (init_cpu_features): Replace HAS_CPU_FEATURE and
7802         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7803         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7804         for Intel processors with usable AVX2.  Call get_common_indeces
7805         for other processors with family == NULL.
7806         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7807         (CPU_FEATURES_ARCH_P): Likewise.
7808         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7809         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7811 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7813         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7814         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7815         $(shared-thread-library) instead of hardcoding the path to libpthread.
7817 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7819         * sysdeps/unix/sysv/linux/kernel-features.h
7820         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7821         * sysdeps/unix/sysv/linux/getdents.c
7822         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7823         [!have_no_getdents64_defined]: Likewise.
7824         (__GETDENTS): Remove __have_no_getdents64 conditional.
7826 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7828         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7829         Remove macro.
7830         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7831         <kernel-features.h>.
7832         (signalfd) [__NR_signalfd4]: Make code unconditional.
7833         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7835 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7837         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7838         style.
7840 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7842         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7843         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7844         __pthread_unwind.
7845         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7846         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7847         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7848         (__condvar_cleanup1): Likewise.
7850 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7852         [BZ #19822]
7853         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7854         move it to the final $@ location.
7856 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7858         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7859         access where posix_spawn success and pid argument is null.
7860         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7861         success case.
7863 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7865         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7867         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7869         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7870         and __fcntl.
7871         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7872         __fcntl only.
7873         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7874         adding attribute_hidden to __open and __fcntl.
7876         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7877         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7878         depend on libc-modules.h,
7879         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7881 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7883         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7884         Remove macro.
7885         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7886         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7887         entry.
7889         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7890         Remove macro.
7891         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7892         include <kernel-features.h>.
7893         [!__ASSUME_FALLOCATE]: Remove conditional code.
7894         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7896 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7898         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7899         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7900         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7901         (_ZGVdN4v_cos_avx2): Likewise.
7902         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7903         (_ZGVdN4v_cos): Likewise.
7904         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7905         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7906         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7907         (_ZGVdN4v_exp_avx2): Likewise.
7908         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7909         (_ZGVdN4v_exp): Likewise.
7910         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7911         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7912         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7913         (_ZGVdN4v_log_avx2): Likewise.
7914         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7915         (_ZGVdN4v_log): Likewise.
7916         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7917         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7918         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7919         (_ZGVdN4vv_pow_avx2): Likewise.
7920         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7921         (_ZGVdN4vv_pow): Likewise.
7922         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7923         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7924         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7925         (_ZGVdN4v_sin_avx2): Likewise.
7926         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7927         (_ZGVdN4v_sin): Likewise.
7928         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7929         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7930         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7931         (_ZGVdN4vvv_sincos_avx2): Likewise.
7932         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7933         (_ZGVdN4vvv_sincos): Likewise.
7934         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7935         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7936         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7937         (_ZGVbN4v_cosf_sse4): Likewise.
7938         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7939         (_ZGVdN8v_cosf_avx2): Likewise.
7940         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7941         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7942         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7943         (_ZGVbN4v_expf_sse4): Likewise.
7944         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7945         (_ZGVdN8v_expf_avx2): Likewise.
7946         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7947         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7948         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7949         (_ZGVbN4v_logf_sse4): Likewise.
7950         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7951         (_ZGVdN8v_logf_avx2): Likewise.
7952         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7953         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7954         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7955         (_ZGVbN4vv_powf_sse4): Likewise.
7956         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7957         (_ZGVdN8vv_powf_avx2): Likewise.
7958         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7959         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7960         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7961         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7962         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7963         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7964         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7965         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7966         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7967         (_ZGVbN4v_sinf_sse4): Likewise.
7968         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7969         (_ZGVdN8v_sinf_avx2): Likewise.
7970         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7971         Use JUMPTARGET to call callee.
7972         (WRAPPER_IMPL_SSE2_ff): Likewise.
7973         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7974         (WRAPPER_IMPL_AVX): Likewise.
7975         (WRAPPER_IMPL_AVX_ff): Likewise.
7976         (WRAPPER_IMPL_AVX_fFF): Likewise.
7977         (WRAPPER_IMPL_AVX512): Likewise.
7978         (WRAPPER_IMPL_AVX512_ff): Likewise.
7979         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7980         Likewise.
7981         (WRAPPER_IMPL_SSE2_ff): Likewise.
7982         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7983         (WRAPPER_IMPL_AVX): Likewise.
7984         (WRAPPER_IMPL_AVX_ff): Likewise.
7985         (WRAPPER_IMPL_AVX_fFF): Likewise.
7986         (WRAPPER_IMPL_AVX512): Likewise.
7987         (WRAPPER_IMPL_AVX512_ff): Likewise.
7988         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7990 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7992         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7993         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7994         qualifier.
7995         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7996         internal_function qualifiers.
7998 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8000         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8001         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8002         * math/atest-exp.c (exp_mpn): Mark chk unused.
8003         * math/atest-exp2.c (exp_mpn): Likwise.
8004         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8005         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8007 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8009         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8010         Remove macro.
8011         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8012         <kernel-features.h>.
8013         [__NR_ppoll]: Make code unconditional.
8014         [!__ASSUME_PPOLL]: Remove conditional code.
8016         * sysdeps/unix/sysv/linux/kernel-features.h
8017         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8018         (__ASSUME_ACCEPT4): Likewise.
8019         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8020         Define.
8021         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8022         Likewise.
8023         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8024         Likewise.
8025         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8026         Likewise.
8027         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8028         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8029         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8030         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8031         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8032         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8033         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8034         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8035         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8036         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8037         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8038         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8039         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8040         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8041         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8042         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8043         Likewise.
8044         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8045         Likewise.
8046         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8047         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8048         0x040300].
8049         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8050         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8051         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8052         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8053         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8054         0x030300].
8055         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8056         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8057         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8058         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8059         0x040300].
8060         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8061         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8062         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8063         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8064         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8065         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8066         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8067         0x030300].
8068         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8069         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8070         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8071         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8072         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8073         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8074         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8075         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8076         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8077         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8078         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8079         0x040300].
8080         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8081         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8082         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8083         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8084         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8085         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8086         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8087         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8088         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8089         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8090         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8091         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8092         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8093         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8094         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8095         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8096         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8097         Likewise.
8098         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8099         Likewise.
8101 2016-03-15  Andreas Schwab  <schwab@suse.de>
8103         [BZ #19257]
8104         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8105         statp->_u._ext.nscount as loop count.
8107 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8109         * math/test-signgam-finite-c99.c: Also #undef
8110         __LIBC_INTERNAL_MATH_INLINES.
8111         * math/test-signgam-main.c: Likewise.
8113 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8115         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8116         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8117         (MADV_FREE): Likewise.
8118         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8119         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8120         EPOLLEXCLUSIVE.
8122 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8124         * timezone/README: Remove mention of checktab.awk. Mention wiki
8125         SharedSourceFiles.
8127 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8129         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8130         WUNTRACED.
8132 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8134         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8135         order to match the type of p when calling atomic_exchange_acq().
8137 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8139         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8140         cfi_offset calls.
8141         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8142         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8143         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8144         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8145         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8147 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8149         * timezone/checktab.awk: Removed.
8151 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8153         * manual/math.texi (Errors in Math Functions): Document relaxed
8154         accuracy goals for IBM long double.
8155         * math/libm-test.inc (test_exceptions): Always allow spurious
8156         "underflow" and "inexact" exceptions for IBM long double.
8158 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8160         [BZ #19762]
8161         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8162         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8163         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8164         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8165         (bit_arch_*): This for feature array.
8166         (bit_*): Renamed to ...
8167         (bit_cpu_*): This for cpu array.
8168         (index_*): Renamed to ...
8169         (index_arch_*): This for feature array.
8170         (index_*): Renamed to ...
8171         (index_cpu_*): This for cpu array.
8172         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8173         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8174         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8175         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8176         bit_##name with index_cpu_##name and bit_cpu_##name.
8177         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8178         bit_##name with index_arch_##name and bit_arch_##name.
8180 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8182         [BZ #19792]
8183         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8184         Terminate FDE before return label.
8186 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8188         [BZ #19790]
8189         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8190         (rintl): Define as macro.
8191         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8192         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8193         of fesetround.  Ensure results are evaluated before end of scope.
8194         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8195         USE_AS_NEARBYINTL and include s_rintl.c.
8196         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8197         Disable exception traps in new environment.
8198         (libc_feholdsetround_ppc_ctx): Likewise.
8200 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8202         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8203         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8204         (tst_audit10_aux) [__AVX512F__]: ... here.
8206 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8208         * include/sys/auxv.h: New file.
8210 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8212         [BZ #19759]
8213         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8215 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8217         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8218         operand modifier.
8219         (feclearexcept): Likewise.
8221 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8223         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8224         to reflect the entire 32-bit HWCAP.
8225         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8226         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8228 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8230         [BZ #19783]
8231         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8232         $(test-via-rtld-prefix).
8233         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8235 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8237         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8238         union wait.  Report any non-zero exit status as error.
8240 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8242         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8243         configured with --enable-hardcoded-path-in-tests.
8245 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8247         [BZ #19677]
8248         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8249         (__ieee754_remainderl): Put zero low parts in canonical form.
8250         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8251         file.  Based on
8252         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8253         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8254         with wrapper round test-fmodrem-ldbl-128ibm.c.
8255         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8256         file.
8257         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8258         Likewise.
8259         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8260         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8262 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8264         [BZ #19610]
8265         * elf/ldconfig.c (opt_link): Update comment.
8266         (options): Update help string for option -X.
8267         (search_dir): Unlink stale symbolic link only if updating symbolic
8268         links.
8269         * elf/tst-ldconfig-X.sh: New file.
8270         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8271         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8273 2016-03-07  Andreas Schwab  <schwab@suse.de>
8275         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8276         needed arguments.
8278 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8280         [BZ #15333]
8281         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8282         to lstat64.
8284 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8286         * libio/filedoalloc.c (isatty): Remove.
8287         (local_isatty): Add comment.  Call __isatty directly.
8288         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8289         * libio/wfiledoalloc.c (isatty): Remove.
8290         (_IO_wfile_doallocate): Update comment.
8292 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8294         [BZ #19269]
8295         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8296         tst-audit4-aux.o.
8297         (tst-audit10): Depend on tst-audit10-aux.o.
8298         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8299         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8300         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8301         instead of inline AVX code.
8302         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8303         instead of inline AVX512 code.
8304         * sysdeps/x86_64/tst-audit4-aux.c: New file
8305         * sysdeps/x86_64/tst-audit10-aux.c: New file
8307         [BZ #19648]
8308         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8310 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8312         [BZ #14750]
8313         [BZ #10354]
8314         [BZ #18433]
8315         * include/sched.h (__clone): Add hidden prototype.
8316         (__clone2): Likewise.
8317         * include/unistd.h (__dup): Likewise.
8318         * posix/Makefile (tests): Add tst-spawn2.
8319         * posix/tst-spawn2.c: New file.
8320         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8321         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8322         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8323         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8324         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8325         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8326         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8327         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8328         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8329         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8330         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8332         Likewise.
8333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8334         Likewise.
8335         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8336         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8337         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8338         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8339         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8340         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8341         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8342         * sysdeps/unix/sysv/linux/nptl-signals.h
8343         (____nptl_is_internal_signal): New function.
8344         * sysdeps/unix/sysv/linux/spawni.c: New file.
8346         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8347         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8348         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8349         * posix/tst-execvp2.c (do_test): Likewise.
8350         * posix/tst-execvp3.c (do_test): Likewise.
8351         * posix/tst-execvp4.c (do_test): Likewise.
8352         * posix/tst-execvpe1.c: New file.
8353         * posix/tst-execvpe2.c: Likewise.
8354         * posix/tst-execvpe3.c: Likewise.
8355         * posix/tst-execvpe4.c: Likewise.
8356         * posix/tst-execvpe5.c: Likewise.
8357         * posix/tst-execvpe6.c: Likewise.
8359         [BZ #19534]
8360         * posix/execl.c (execl): Remove dynamic memory allocation.
8361         * posix/execle.c (execle): Likewise.
8362         * posix/execlp.c (execlp): Likewise.
8364 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8366         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8367         Replace .text with .text.avx512.
8368         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8369         Likewise.
8371 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8373         * sysdeps/generic/libnsl.abilist: New file.
8374         * sysdeps/generic/libutil.abilist: New file.
8376 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8378         [BZ #19762]
8379         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8380         HAS_ARCH_FEATURE with Fast_Rep_String.
8381         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8382         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8383         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8384         Likewise.
8385         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8386         Likewise.
8387         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8388         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8389         Likewise.
8390         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8391         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8392         Likewise.
8394 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8396         [BZ #19745]
8397         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8398         with *%rax in call.
8400 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8402         [BZ #19745]
8403         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8404         with *__libc_start_main@GOTPCREL(%rip) in call.
8406 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8408         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8409         inside conditional for nonempty $(CXX).
8411         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8412         nonempty.
8414         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8415         to test for empty $(CXX) rather than $(CXX) of "no".
8417 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8419         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8421 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8422             H.J. Lu  <hongjiu.lu@intel.com>
8424         [BZ #18880]
8425         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8426         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8427         enable __memcpy_ssse3_back.
8429 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8431         [BZ #19758]
8432         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8433         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8435 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8437         [BZ #19490]
8438         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8439         (__fentry__): Likewise.
8441 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8443         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8444         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8446 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8448         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8449         __mcount_internal directly.
8450         (C_LABEL(__fentry__)): Likewise.
8451         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8452         directly.
8454 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8456         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8457         (__start_context): Call __setcontext directly.
8459 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8461         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8462         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8463         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8464         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8465         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8466         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8467         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8468         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8469         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8470         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8471         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8472         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8473         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8474         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8475         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8476         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8477         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8478         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8479         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8480         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8481         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8482         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8483         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8484         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8485         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8486         Remove conditional code.
8487         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8488         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8489         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8490         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8491         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8492         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8493         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8494         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8495         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8496         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8497         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8498         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8500 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8502         * NEWS (2.23): Fix typo in bug 19048 text.
8504 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8506         [BZ #14259]
8507         * Makeconfig: Rename msgcatdir to localedir.
8508         Rename inst_msgcatdir to inst_localedir.
8509         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8510         * config.make.in: Add localedir.
8511         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8512         (ldd-rewrite): Likewise.
8513         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8514         (install-others): Use inst_localedir.
8515         (CPPFLAGS): Use localedir.
8516         * locale/Makefile (locale-CPPFLAGS): Likewise.
8517         * po/Makefile (mo-installed): Use inst_localedir.
8519         [BZ #19575]
8520         * localedata/charmaps/GB18030: Update comments regarding PAU to
8521         non-PUA mappings.
8523 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8525         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8526         test for header.
8527         * sysdeps/unix/sysv/linux/configure: Regenerated.
8528         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8529         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8530         Remove conditional code.
8531         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8533         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8534         Define to 3.2.0.
8535         (arch_minimum_kernel): Likewise.
8536         * sysdeps/unix/sysv/linux/configure: Regenerated.
8537         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8538         Define to 2.6.32.
8539         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8540         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8541         (arch_minimum_kernel): Define to 2.6.32.
8542         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8543         * README: Document Linux 3.2 requirement.
8544         * manual/install.texi (Linux): Document Linux 3.2 headers
8545         requirement.
8546         * INSTALL: Regenerated.
8548 2016-02-24  Andreas Schwab  <schwab@suse.de>
8550         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8551         if !NO_LONG_DOUBLE.
8553 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8555         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8556         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8558 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8560         [BZ #19512]
8561         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8563 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8565         * posix/tst-dir.c: Include libc-internal.h.
8567 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8569         [BZ #19056]
8570         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8571         * manual/filesys.texi (Reading/Closing Directory): Mention
8572         deprecaion.
8573         * posix/tst-dir.c (main): Disable deprecation warning in test.
8575 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
8577         [BZ #19679]
8578         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
8579         Renamed to ...
8580         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
8581         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8582         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
8583         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8584         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8585         * sysdeps/x86_64/dl-trampoline.h
8586         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
8587         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
8589 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8591         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
8593 2016-02-19  Mark Wielaard  <mjw@redhat.com>
8595         * elf/elf.h (R_386_GOT32X): New.
8596         (R_386_NUM): Update.
8597         (R_X86_64_GOTPCRELX: New.
8598         (R_X86_64_REX_GOTPCRELX): New.
8599         (R_X86_64_NUM): Update.
8601 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
8603         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
8605 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
8607         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
8608         assign attr->stackaddr to it, and adjust it down when
8609         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
8610         [_STACK_GROWS_UP]: Delete assert.
8611         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
8612         Implement stack grows up logic.
8613         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
8614         stack grows up logic.
8616 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8618         * NEWS: Update with 2.24 template.
8620 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8622         [BZ #19678]
8623         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8624         Ensure +0.0 is returned when taking the next value below the least
8625         positive value.
8627 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8629         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
8630         available.  Do not define NO_THREADS.
8631         * malloc/malloc.c: Do not check NO_THREADS.
8632         * malloc/arena.c: Likewise.
8634 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8636         * malloc/malloc.c (__libc_mallinfo): Update comment.
8637         (struct malloc_par): Remove max_total_mem member, it was always 0.
8638         (int_mallinfo): Store 0 into usmblks (no functional change).
8639         * malloc/hooks.c (struct malloc_state): Document that
8640         max_total_mem is always 0.
8641         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
8642         always 0.
8643         * manual/memory.texi (Statistics of Malloc): Likewise.
8645 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8647         * malloc/malloc.c (sysmalloc): Do not update arena_max.
8648         * malloc/arena.c (arena_max): Remove.
8649         (heap_trim, _int_new_arena): Do not update arena_max.
8651 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8653         * resolv/res_init.c (res_ninit): Update comment.
8655 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8657         [BZ #19505]
8658         * posix/spawn_int.h: Add headers and include guard.
8659         (__spawn_valid_fd): New function.
8660         * posix/spawn_faction_addopen.c
8661         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
8662         * posix/spawn_faction_addclose.c
8663         (posix_spawn_file_actions_addclose): Likewise.
8664         * posix/spawn_faction_adddup2.c
8665         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
8666         second file descriptor.
8667         * posix/spawn_valid_fd.c: New file.
8668         * posix/tst-posix_spawn-fd.c: New file.
8669         * posix/Makefile (routines): Add spawn_valid_fd.
8670         (tests): Add tst-posix_spawn-fd.
8672 2016-02-19  Florian Weimer  <fweimer@redhat.com>
8674         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
8675         (do_test): Limit the number of arenas, so that we can use fewer
8676         outer threads.  Limit timeout to 3 seconds, in preparation for a
8677         larger TIMEOUT value.
8679 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
8681         [BZ #19674]
8682         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
8683         sign in overflowing and underflowing results when overflow or
8684         underflow is detected early.  Include sign in result before rather
8685         than after scaling.
8687         [BZ #19603]
8688         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8689         (__ieee754_remainderl): Adjust sign of integer version of low part
8690         when taking absolute value of high part.
8691         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8692         * math/libm-test.inc (remainder_test_data): Add another test.
8693         (remquo_test_data): Likewise.
8695 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
8697         [BZ #19602]
8698         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
8699         equal high parts and both low parts zero specially.
8700         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
8701         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8702         Add test-fmodl-ldbl-128ibm.
8704         [BZ #19595]
8705         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
8706         common logic for all cases of shifting subnormal results.  Do not
8707         insert sign bit in shifted mantissa.  Always pass -1023 as biased
8708         exponent to ldbl_insert_mantissa in subnormal case.
8710         [BZ #19594]
8711         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
8712         on high and low parts then adjust result and use
8713         ldbl_canonicalize_int if needed.
8715         [BZ #19593]
8716         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
8717         on high part and __floor or __ceil on low part then use
8718         ldbl_canonicalize_int if needed.
8720         [BZ #19592]
8721         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
8722         high and low parts then use ldbl_canonicalize_int if needed.
8724         [BZ #17899]
8725         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8726         New function.
8727         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
8728         on high and low parts then use ldbl_canonicalize_int if needed.
8730 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8732         * configure: Regenerated.
8734         * po/libc.pot: Regenerated.
8736         * po/be.po: Updated translation.
8737         * po/bg.po: Likewise.
8738         * po/ca.po: Likewise.
8739         * po/cs.po: Likewise.
8740         * po/da.po: Likewise.
8741         * po/el.po: Likewise.
8742         * po/eo.po: Likewise.
8743         * po/es.po: Likewise.
8744         * po/fi.po: Likewise.
8745         * po/fr.po: Likewise.
8746         * po/gl.po: Likewise.
8747         * po/hr.po: Likewise.
8748         * po/hu.po: Likewise.
8749         * po/ia.po: Likewise.
8750         * po/id.po: Likewise.
8751         * po/it.po: Likewise.
8752         * po/ja.po: Likewise.
8753         * po/lt.po: Likewise.
8754         * po/nb.po: Likewise.
8755         * po/nl.po: Likewise.
8756         * po/pt_BR.po: Likewise.
8757         * po/rw.po: Likewise.
8758         * po/sk.po: Likewise.
8759         * po/sl.po: Likewise.
8760         * po/sv.po: Likewise.
8761         * po/tr.po: Likewise.
8762         * po/zh_CN.po: Likewise.
8763         * po/zh_TW.po: Likewise.
8765         * version.h (RELEAES): Set to "development".
8766         (VERSION): Set to 2.23.90.
8768         * version.h (RELEASE): Set to "stable".
8769         (VERSION): Set to 2.23.
8770         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8772         * NEWS: Updated fixed bugs.
8774 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8775             Wilco Dijkstra  <wdijkstr@arm.com>
8777         [BZ #19462]
8778         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8779         (_STRING_INLINE_unaligned): This.
8780         * include/string.h: Include <string_private.h>.
8781         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8782         _STRING_INLINE_unaligned.
8783         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8784         (_STRING_INLINE_unaligned): New.
8785         * sysdeps/aarch64/string_private.h: New file.
8786         * sysdeps/generic/string_private.h: Likewise.
8787         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8788         * sysdeps/s390/string_private.h: Likewise.
8789         * sysdeps/x86/string_private.h: Likewise.
8790         * sysdeps/m68k/m680x0/m68020/bits/string.h
8791         (_STRING_ARCH_unaligned): Renamed to ...
8792         (_STRING_INLINE_unaligned): This.
8793         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8794         to ...
8795         (_STRING_INLINE_unaligned): This.
8796         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8797         to ...
8798         (_STRING_INLINE_unaligned): This.
8799         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8800         to ...
8801         (_STRING_INLINE_unaligned): This.
8803 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8804             H.J. Lu  <hongjiu.lu@intel.com>
8806         [BZ #19590]
8807         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8808         relocation.
8810 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8812         [BZ #18665]
8813         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8814         *herrno_p.
8815         (gaih_getanswer): Document functional behviour. Return tryagain
8816         if any result is tryagain.
8817         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8818         when freed.
8819         * resolv/res_send.c: Add copyright text.
8820         (__libc_res_nsend): Document that MAXPACKET is expected.
8821         (send_vc): Document. Remove buffer reuse.
8822         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8823         size of the buffer. Add Dprint for truncated UDP buffer.
8825 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8827         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8828         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8829         * INSTALL: Regenerate.
8831 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8832             Jonathan Wakely  <jwakely@redhat.com>
8833             Carlos O'Donell  <carlos@redhat.com>
8835         [BZ 19439]
8836         * math/Makefile (tests): Add test-math-isinff.
8837         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8838         * math/bits/mathcalls.h [__USE_MISC]: Use
8839         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8840         functions not in C++11 and which don't conflict e.g. isinff,
8841         isinfl etc.
8842         * math/test-math-isinff.cc: New file.
8844 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8846         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8848 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8850         [BZ #19529]
8851         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8853 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8855         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8857 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8859         [BZ #19550]
8860         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8861         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8862         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8863         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8864         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8865         New syscall entry.
8866         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8867         New syscall entry.
8868         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8869         syscall entry.
8871 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8873         [BZ #18240]
8874         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8875         unsigned int wraparound.
8877 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8879         [BZ #18240]
8880         * misc/bug18240.c: New test.
8881         * misc/Makefile (tests): Add it.
8883 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8884             Joseph Myers  <joseph@codesourcery.com>
8886         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8887         load in branch delay slot when less than a word of input left.
8889 2016-01-27  Andreas Schwab  <schwab@suse.de>
8891         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8892         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8893         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8894         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8896 2016-01-26  David S. Miller  <davem@davemloft.net>
8898         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8900 2016-01-25  David S. Miller  <davem@davemloft.net>
8902         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8903         __sqrtl_finite.
8904         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8905         instead using versioned_symbol.
8906         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8907         of entries.
8909         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8910         __sqrtl_finite to GLIBC_2.23
8912 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8914         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8916 2016-01-25  Andreas Schwab  <schwab@suse.de>
8918         [BZ #17514]
8919         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8920         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8921         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8922         * nptl/tst-mutex-errorcheck.c: New file.
8924 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8926         [BZ #18560]
8927         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8928         (IPCOP_semop): Likewise.
8929         (IPCOP_semget): Likewise.
8930         (IPCOP_semctl): Likewise.
8931         (IPCOP_msgsnd): Likewise.
8932         (IPCOP_msgrcv): Likewise.
8933         (IPCOP_msgget): Likewise.
8934         (IPCOP_msgctl): Likewise.
8935         (IPCOP_shmat): Likewise.
8936         (IPCOP_shmdt): Likewise.
8937         (IPCOP_shmget): Likewise.
8938         (IPCOP_shmctl): Likewise.
8940 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8942         * string/tst-endian.c: Include <libc-internal.h>.
8943         (do_test): Ignore tautological-compare warnings around
8944         "htobeXX (beXXtoh (i)) != i" and
8945         "htoleXX (leXXtoh (i)) != i" if-statements.
8947 2016-01-24  David S. Miller  <davem@davemloft.net>
8949         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8950         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8951         alias.
8952         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8953         __sqrtl_finite.
8955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8957 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8959         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8960         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8961         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8963 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8965         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8966         (thread_func): Use new function to simplify barrier check.
8967         (do_test): Use new function to simplify checking barrier exit
8968         code, and actually join the child thread.
8970 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8972         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8973         semicolon.
8974         (__libc_tend): Likewise.
8975         (__libc_tabort): Likewise.
8977 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8979         * sysdeps/nios2/libm-test-ulps: Update.
8980         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8981         (__gtsf2): Likewise.
8982         (__unorddf2): Likewise.
8983         (__unordsf2): Likewise.
8984         (__ledf2): Likewise.
8986 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8988         * nis/nis_table.c (__follow_path): Disable diagnostic for
8989         uninitialized variable that is a false positive for gcc 4.7.
8990         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8992 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8994         * sysdeps/nacl/lowlevellock-futex.h
8995         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8996         Always evaluate PRIVATE argument.
8998 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9000         [BZ #19490]
9001         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9002         (pthread_cond_broadcast): Use ENTRY/END
9003         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9004         (pthread_cond_signal): Likewise.
9005         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9006         Likewise.
9007         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9008         Likewise.
9009         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9010         Likewise.
9012 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9014         * sysdeps/ieee754/dbl-64/s_finite.c
9015         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9016         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9017         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9018         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9019         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9022         (__gtsf2): Add as optional for libc.so.
9023         (__unordsf2): Likewise.
9024         (__signbit): Remove for libc.so.
9025         (__signbitl): Likewise.
9027 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9029         * iconvdata/bug-iconv11.c (test_ibm93x):
9030         Use %zu printf format specifier for size_t argument.
9032 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9034         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9035         already-recorded ulps.
9036         * sysdeps/arm/libm-test-ulps: Regenerated.
9037         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9038         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9039         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9041 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9042             Paul Pluzhnikov  <ppluzhnikov@google.com>
9044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9045         assembler not supporting AVX-512.
9047 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9049         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9051 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9053         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9054         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9056         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9058         * sysdeps/arm/libm-test-ulps: Regenerated.
9060 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9062         [BZ #19451]
9063         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9065 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9067         [BZ #19486]
9068         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9069         * sysdeps/generic/fix-fp-int-convert-overflow.h
9070         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9071         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9072         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9073         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9074         Likewise.
9075         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9076         Avoid conversions to long int where inexact exceptions
9077         could be raised.
9078         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9079         Likewise.
9080         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9081         Avoid conversions to long long int where inexact exceptions
9082         could be raised.
9083         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9084         Likewise.
9086 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9088         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9089         * configure: Regenerated.
9091 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9093         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9095 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9097         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9098         outside of comment.
9100 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9102         * nptl/tst-barrier1.c: Add description on first line.
9103         * nptl/tst-barrier2.c: Likewise.
9104         * nptl/tst-barrier3.c: Likewise.
9105         * nptl/tst-barrier4.c: Likewise.
9106         * nptl/tst-barrier5.c: Likewise.
9108 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9110         [BZ #18868]
9111         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9113 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9117         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9118         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9119         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9120         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9121         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9122         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9123         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9124         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9125         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9127 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9129         [BZ #13065]
9130         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9131         new implementation.
9132         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9133         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9134         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9135         (BARRIER_IN_THRESHOLD): New macro.
9136         * nptl/pthread_barrierattr_setpshared.c
9137         (pthread_barrierattr_setpshared): Clean up.
9138         * nptl/tst-barrier4.c: Correct comment.
9139         * nptl/tst-barrier5.c: New file.
9140         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9141         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9142         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9143         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9144         * nptl/lowlevelbarrier.sym: Remove.
9145         * nptl/DESIGN-barrier.txt: Remove.
9146         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9147         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9148         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9149         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9150         error.
9151         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9152         implementation.
9154 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9156         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9157         (do_child): Mask SIGRTMIN while thr is running.
9159 2016-01-15  Martin Sebor  <msebor@redhat.com>
9161         [BZ #19432]
9162         * iconvdata/Makefile: Add bug-iconv11.
9163         * iconvdata/bug-iconv11.c: New test.
9164         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9165         * iconvdata/ibm933.c: Same.
9166         * iconvdata/ibm935.c: Same.
9167         * iconvdata/ibm937.c: Same.
9168         * iconvdata/ibm939.c: Same.
9170 2016-01-15  Martin Sebor  <msebor@redhat.com>
9172         [BZ #19443]
9173         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9174         [DEBUG] (_ufc_set_bits): Declare used.
9175         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9176         [DEBUG] (print_all): Declare used.
9177         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9178         operands of the ternary ?: expression to target type.
9179         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9180         calling the undeclared abort.
9181         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9183 2016-01-15  Martin Sebor  <msebor@redhat.com>
9185         [BZ #18755]
9186         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9187         warnings.
9188         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9189         (__gai_create_helper_thread): Same.
9190         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9191         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9192         to suppress -Wmaybe-uninitialized warnings.
9194 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9196         [BZ #19465]
9197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9198         inside if.
9199         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9200         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9201         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9203 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9205         [BZ #19466]
9206         * time/tst-mktime2.c (time_t_max): Removed.
9207         (time_t_min): Likewise.
9208         (TYPE_SIGNED): New.
9209         (TYPE_MINIMUM): Likewise.
9210         (TYPE_MAXIMUM): Likewise.
9211         (TIME_T_MIN): Likewise.
9212         (TIME_T_MAX): Likewise.
9213         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9214         and TIME_T_MIN.
9215         (do_test): Likewise.
9217 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9219         [BZ #19467]
9220         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9221         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9223 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9225         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9227 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9229         * benchtests/Makefile (PYTHON): Define.
9230         (bench-func): Use $(PYTHON) to run python scripts.
9231         ($(objpfx)bench-%.c): Likewise.
9233 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9235         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9236         leading slash when `file_name' is "/".
9238 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9240         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9241         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9242         Likewise.
9243         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9244         Likewise.
9245         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9246         Likewise.
9247         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9248         enum constant and macro.
9249         (PTRACE_SETSIGMASK): Likewise.
9250         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9251         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9252         (PTRACE_GETSIGMASK): Likewise.
9253         (PTRACE_SETSIGMASK): Likewise.
9254         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9255         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9256         Likewise.
9257         (PTRACE_SETSIGMASK): Likewise.
9258         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9259         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9260         (PTRACE_GETSIGMASK): Likewise.
9261         (PTRACE_SETSIGMASK): Likewise.
9262         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9263         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9264         Likewise.
9265         (PTRACE_SETSIGMASK): Likewise.
9266         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9267         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9268         Likewise.
9269         (PTRACE_SETSIGMASK): Likewise.
9270         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9271         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9272         Likewise.
9273         (PTRACE_SETSIGMASK): Likewise.
9274         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9276 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9277             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9279         [BZ #19439]
9280         * math/bits/mathcalls.h
9281         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9282         prototype.
9283         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9285 2016-01-11  Andreas Schwab  <schwab@suse.de>
9287         [BZ #19253]
9288         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9289         cache when TZDEFRULES was used.
9290         * time/tst-tzname.c: New file.
9291         * time/Makefile (test): Add tst-tzname.
9292         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9293         * timezone/Makefile (test-zones): Add $(posixrules-file).
9294         ($(testdata)/$(posixrules-file)): New rule.
9296 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9298         Fix doc quoting problems with Texinfo 5
9299         Without this change, in the info file output, Texinfo 5 quotes code
9300         in text with undirected single quotes 'like this' and generates
9301         code examples that with many PDF readers cannot be cut out of PDFs
9302         and pasted into code.
9303         * manual/libc.texinfo: Configure the libc manual like the GNU
9304         Emacs manual, by using @documentencoding and setting
9305         txicodequoteundirected and txicodequotebacktick.  This way,
9306         Texinfo 5 quotes code in text with directed single quotes ‘like
9307         this’ and produces examples that can be cut out of PDFs.  This
9308         change causes Texinfo 5 to generate info files that contain UTF-8
9309         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9310         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9312 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9314         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9315         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9316         barriers to their respective compiler built-ins.
9317         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9318         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9319         * sysdeps/powerpc/sysdep.h: Likewise.
9320         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9321         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9322         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9324 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9326         * scripts/config.guess: Revert previous shebang change.
9327         * scripts/config.sub: Likewise.
9328         * scripts/mkinstalldirs: Likewise.
9330 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9332         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9333         PPC_FEATURE2_HAS_IEEE128.
9334         * sysdeps/powerpc/dl-procinfo.c:
9335         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9337 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9339         [BZ #19415]
9340         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9341         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9342         (_dl_lookup_address): Rewrite using function resolver trampoline.
9343         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9344         two bits in address.
9346 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9348         * longlong.h: Change !__SHMEDIA__ to
9349         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9350         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9352 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9353             Joseph Myers  <joseph@codesourcery.com>
9354             Mark Shinwell  <shinwell@codesourcery.com>
9355             Andrew Stubbs  <ams@codesourcery.com>
9356             Rich Felker <dalias@libc.org>
9358         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9360 2016-01-07  Richard Henderson  <rth@redhat.com>
9362         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9364 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9366         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9367         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9368         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9369         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9370         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9372 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9373             Joseph Myers  <joseph@codesourcery.com>
9375         * timezone/private.h: Update from tzcode 2015g.
9376         * timezone/tzfile.h: Likewise.
9377         * timezone/tzselect.ksh: Likewise.
9378         * timezone/zdump.c: Likewise.
9379         * timezone/zic.c: Likewise.
9380         * timezone/ialloc.c: Remove file.
9381         * timezone/scheck.c: Likewise.
9382         * timezone/Makefile (extra-objs): Remove variable.
9383         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9384         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9385         -Wno-maybe-uninitialized.
9386         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9387         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9388         (CFLAGS-ialloc.c): Remove variable.
9389         (CFLAGS-scheck.c): Likewise.
9390         * timezone/README: Update list of files from tzcode.
9392 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9394         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9395         instead of __fxprintf when _LIBC is undefined.
9397 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9399         * catgets/test-gencat.sh: Remove space after shebang.
9400         * conform/GlibcConform.pm: Likewise.
9401         * conform/check-header-lists.sh: Likewise.
9402         * conform/conformtest.pl: Likewise.
9403         * conform/linknamespace.pl: Likewise.
9404         * conform/list-header-symbols.pl: Likewise.
9405         * debug/catchsegv.sh: Likewise.
9406         * elf/genrtldtbl.awk: Likewise.
9407         * elf/tst-pathopt.sh: Likewise.
9408         * elf/tst-rtld-load-self.sh: Likewise.
9409         * grp/tst_fgetgrent.sh: Likewise.
9410         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9411         * iconvdata/gen-8bit-gap.sh: Likewise.
9412         * iconvdata/gen-8bit.sh: Likewise.
9413         * iconvdata/run-iconv-test.sh: Likewise.
9414         * intl/tst-gettext.sh: Likewise.
9415         * intl/tst-gettext2.sh: Likewise.
9416         * intl/tst-gettext4.sh: Likewise.
9417         * intl/tst-gettext6.sh: Likewise.
9418         * intl/tst-translit.sh: Likewise.
9419         * io/ftwtest-sh: Likewise.
9420         * libio/test-freopen.sh: Likewise.
9421         * locale/gen-translit.pl: Likewise.
9422         * malloc/tst-mtrace.sh: Likewise.
9423         * manual/check-safety.sh: Likewise.
9424         * manual/libc-texinfo.sh: Likewise.
9425         * manual/tsort.awk: Likewise.
9426         * manual/xtract-typefun.awk: Likewise.
9427         * nptl/tst-cancel-wrappers.sh: Likewise.
9428         * nptl/tst-tls6.sh: Likewise.
9429         * posix/globtest.sh: Likewise.
9430         * posix/tst-getconf.sh: Likewise.
9431         * posix/wordexp-tst.sh: Likewise.
9432         * scripts/check-c++-types.sh: Likewise.
9433         * scripts/check-local-headers.sh: Likewise.
9434         * scripts/config.guess: Likewise.
9435         * scripts/config.sub: Likewise.
9436         * scripts/cpp: Likewise.
9437         * scripts/cross-test-ssh.sh: Likewise.
9438         * scripts/documented.sh: Likewise.
9439         * scripts/evaluate-test.sh: Likewise.
9440         * scripts/gen-libc-abis: Likewise.
9441         * scripts/gen-sorted.awk: Likewise.
9442         * scripts/list-fixed-bugs.py: Likewise.
9443         * scripts/merge-test-results.sh: Likewise.
9444         * scripts/mkinstalldirs: Likewise.
9445         * scripts/rellns-sh: Likewise.
9446         * scripts/test-installation.pl: Likewise.
9447         * scripts/update-copyrights: Likewise.
9448         * stdio-common/tst-printf.sh: Likewise.
9449         * stdio-common/tst-unbputc.sh: Likewise.
9450         * stdlib/tst-fmtmsg.sh: Likewise.
9451         * stdlib/tst-setcontext3.sh: Likewise.
9452         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9453         * sysdeps/unix/make-syscalls.sh: Likewise.
9455 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9457         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9458         asm stw with atomic_exchange_rel.  Add explanatory comment.
9459         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9460         Likewise.
9462 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9464         [BZ #19122]
9465         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9466         * sysdeps/generic/dl-unistd.h: New file.
9467         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9469 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9471          [BZ #19122]
9472          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9473          * sysdeps/generic/dl-mman.h: New file.
9474          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9476 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9478         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9479         trailing whitespace removed.
9480         * scripts/config.guess: Update to version 2016-01-01.
9481         * scripts/config.sub: Update to version 2016-01-01.
9482         * scripts/move-if-change: Update from gnulib.
9484 2016-01-04  Anton Blanchard  <anton@samba.org>
9486         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9487         for array indices.
9488         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9490 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9492         * NEWS: Update copyright dates.
9493         * catgets/gencat.c (print_version): Likewise.
9494         * csu/version.c (banner): Likewise.
9495         * debug/catchsegv.sh: Likewise.
9496         * debug/pcprofiledump.c (print_version): Likewise.
9497         * debug/xtrace.sh (do_version): Likewise.
9498         * elf/ldconfig.c (print_version): Likewise.
9499         * elf/ldd.bash.in: Likewise.
9500         * elf/pldd.c (print_version): Likewise.
9501         * elf/sotruss.sh: Likewise.
9502         * elf/sprof.c (print_version): Likewise.
9503         * iconv/iconv_prog.c (print_version): Likewise.
9504         * iconv/iconvconfig.c (print_version): Likewise.
9505         * locale/programs/locale.c (print_version): Likewise.
9506         * locale/programs/localedef.c (print_version): Likewise.
9507         * login/programs/pt_chown.c (print_version): Likewise.
9508         * malloc/memusage.sh (do_version): Likewise.
9509         * malloc/memusagestat.c (print_version): Likewise.
9510         * malloc/mtrace.pl: Likewise.
9511         * manual/libc.texinfo: Likewise.
9512         * nptl/version.c (banner): Likewise.
9513         * nscd/nscd.c (print_version): Likewise.
9514         * nss/getent.c (print_version): Likewise.
9515         * nss/makedb.c (print_version): Likewise.
9516         * posix/getconf.c (main): Likewise.
9517         * scripts/test-installation.pl: Likewise.
9518         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9520         * All files with FSF copyright notices: Update copyright dates
9521         using scripts/update-copyrights.
9522         * intl/plural.c: Regenerated.
9523         * locale/programs/charmap-kw.h: Likewise.
9524         * locale/programs/locfile-kw.h: Likewise.
9526 2016-01-02  Helge Deller  <deller@gmx.de>
9528         [BZ #19285]
9529         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9530         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9531         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9532         (MADV_xxK_PAGES): Remove.
9534 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9536         [BZ #15421]
9537         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9538         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9539         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9540         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9542 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9544         [BZ #19408]
9545         * sysdeps/unix/sysv/linux/personality.c: New file.
9546         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9547         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9548         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9549         (sysdep_routines): Add personality.
9550         (tests): Add tst-personality.
9551         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9552         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9553         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9554         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9555         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9556         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9557         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9558         Likewise.
9559         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9560         Likewise.
9561         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9562         Likewise.
9563         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9564         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9565         Likewise.
9567 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9569         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9570         (PATH_ARM_SYSTYPE): Remove.
9571         (PATH_CPUINFO): Likewise.
9572         (IO_BASE_FOOTBRIDGE): Likewise.
9573         (IO_SHIFT_FOOTBRIDGE): Likewise.
9574         (struct platform): Likewise.
9575         (init_iosys): Remove compatibility code for 2.4 kernels.
9576         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
9578 2015-12-29  Florian Weimer  <fweimer@redhat.com>
9580         * malloc/tst-malloc-thread-fail.c: New file.
9581         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
9582         (tst-malloc-thread-fail): Link against libpthread.
9584 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
9586         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
9587         (get_parser): New function.
9588         (main): New function.
9590 2015-12-29  Rob Wu  <rob@robwu.nl>
9592         [BZ #19369]
9593         * resolv/res_init.c (__res_vinit): Reset defdname before use.
9595 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
9597         [BZ #19270]
9598         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9600 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
9602         [BZ #15421]
9603         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
9605 2015-12-23  Torvald Riegel  <triegel@redhat.com>
9607         [BZ #13690]
9608         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
9609         after releasing it.
9610         (__lll_robust_unlock): Likewise.
9611         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9612         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
9613         (lll_robust_unlock): Likewise.
9614         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
9615         Prevent warnings in callers.
9617 2015-12-23  Florian Weimer  <fweimer@redhat.com>
9619         * malloc/arena.c (list_lock): Update comment.
9621 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9623         * sysdeps/powerpc/hwcapinfo.c: Export symbol
9624         __parse_hwcap_and_convert_at_platform to libc.a.
9626 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9628         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
9629         platform and feature support for POWER9.
9630         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9631         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
9632         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
9633         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
9634         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
9635         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
9636         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
9637         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
9639 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9641         Harmonize generic stdio-lock support with nptl
9643         This fixes build when _IO_funlockfile is a macro, fixes build where
9644         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
9645         stack unwind.
9647         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
9648         _IO_release_lock ): Use cleanup attribute on new
9649         _IO_acquire_lock_file variable instead of assuming that
9650         _IO_release_lock will be called.
9651         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
9652         _IO_acquire_lock_needs_exceptions_enabled.
9653         (_IO_acquire_lock_clear_flags2): New macro.
9655 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9657         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9659 2015-12-21  Florian Weimer  <fweimer@redhat.com>
9661         [BZ #19182]
9662         * malloc/arena.c (list_lock): Document lock ordering requirements.
9663         (free_list_lock): New lock.
9664         (ptmalloc_lock_all): Comment on free_list_lock.
9665         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
9666         (detach_arena): Update comment.  free_list_lock is now needed.
9667         (_int_new_arena): Use free_list_lock around detach_arena call.
9668         Acquire arena lock after list_lock.  Add comment, including FIXME
9669         about incorrect synchronization.
9670         (get_free_list): Switch to free_list_lock.
9671         (reused_arena): Acquire free_list_lock around detach_arena call
9672         and attached threads counter update.  Add two FIXMEs about
9673         incorrect synchronization.
9674         (arena_thread_freeres): Switch to free_list_lock.
9675         * malloc/malloc.c (struct malloc_state): Update comments to
9676         mention free_list_lock.
9678 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9680         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
9681         Remove functions.
9682         (sloww, sloww1): Accept argument to offset quadrant.
9683         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
9684         quadrant.
9685         (__sin, __cos): Consolidate common code into new functions.
9686         (reduce_sincos_1, do_sincos_1): New functions.
9687         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9689         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
9690         code to new functions.
9691         (reduce_sincos_2, do_sincos_2): New functions.
9692         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
9694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
9695         common code for sincos.
9696         (__cos) [!IN_SINCOS]: Likewise.
9697         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
9698         New function.
9699         (__sincos): Use it.
9701 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
9703         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
9704         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
9705         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9707 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9709         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
9710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
9711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9712         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
9713         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9714         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
9715         index_Prefer_No_VZEROUPPER): New feature.
9716         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
9717         Prefer_No_VZEROUPPER for Knights Landing.
9719 015-12-18  Torvald Riegel  <triegel@redhat.com>
9721         * math/atest-exp2.c (mp_exp_m1): Remove.
9723 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9725         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
9726         syscalls.
9727         (__SYSCALL0): New macro.
9728         (__SYSCALL1): Likewise.
9729         (__SYSCALL2): Likewise.
9730         (__SYSCALL3): Likewise.
9731         (__SYSCALL4): Likewise.
9732         (__SYSCALL5): Likewise.
9733         (__SYSCALL6): Likewise.
9734         (__SYSCALL_CONCAT_X): Likewise.
9735         (__SYSCALL_CONCAT): Likewise.
9736         (__SYSCALL_DIST): Likewise.
9737         (__SYSCALL_CALL): Likewise.
9739 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
9741         [BZ #19363]
9742         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
9744 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9746         [BZ #19375]
9747         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
9748         negative subnormals.
9750 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
9752         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
9753         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
9754         (INTERNAL_SYSCALL_NCS): Use it.
9755         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9757 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9759         [BZ #19243]
9760         * malloc/arena.c (get_free_list): Remove assert and adjust
9761         reference count handling.  Add comment about reused_arena
9762         interaction.
9763         (reused_arena): Add comments abount get_free_list interaction.
9764         * malloc/tst-malloc-thread-exit.c: New file.
9765         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9766         (tst-malloc-thread-exit): Link against libpthread.
9768 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9770         [BZ #19367]
9771         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9772         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9773         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9774         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9775         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9777 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9779         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9780         Silvermont optimizations for Knights Landing.
9782 2015-12-15  Andreas Schwab  <schwab@suse.de>
9784         [BZ #17197]
9785         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9786         immediately after emitting SI.
9787         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9788         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9789         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9790         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9791         * iconvdata/bug-iconv10.c: New file.
9792         * iconvdata/Makefile (tests): Add bug-iconv10.
9793         ($(objpfx)bug-iconv10.out): New rule.
9795 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9797         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9798         aliasing violation.
9800 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9802         [BZ #18472]
9803         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9804         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9805         conditionals for them.
9806         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9807         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9808         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9809         sys/kdaemon.h.
9810         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9811         compat-only syscall, obsoleted in glibc 2.23.
9812         (create_module): Likewise.
9813         (get_kernel_syms): Likewise.
9814         (query_module): Likewise.
9815         (uselib): Likewise.
9816         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9818 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9820         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9821         <linux/version.h>.
9822         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9823         conditional code.
9824         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9825         and ioshift_name initialization.
9827 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9829         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9830         Fix indentation.
9832 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9834         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9836 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9838         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9840 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9841             Jakub Wilk  <jwilk@debian.org>
9843         [BZ #19347]
9844         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9845         to change the group of the device to the tty group.
9847 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9849         Split large string section; add truncation advice
9850         * manual/examples/strncat.c: Remove.
9851         This example was misleading, as the code would have undefined
9852         behavior if "hello" was longer than SIZE.  Anyway, the manual
9853         shouldn't encourage strncpy+strncat for this sort of thing.
9854         * manual/string.texi (Copying Strings and Arrays): Split into
9855         three sections Copying Strings and Arrays, Concatenating Strings,
9856         and Truncating Strings, as this section was way too long.  All
9857         cross-referenced changed.  Add advice about string-truncation
9858         functions.  Remove misleading strncat example.
9860 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9862         * manual/nss.texi (NSS Modules Interface): Document
9863         NSS_STATUS_NOTFOUND and SUCCESS.
9865 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9867         [BZ 18568]
9868         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9869         201505L, for Unicode 8.
9871 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9873         * locale/C-translit.h: Regenerate.
9875 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9877         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9878         and U+0153.
9880 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9882         [BZ #19351]
9883         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9884         expanding log(1+z), compare z rather than its square with epsilon
9885         to determine when to avoid evaluating the expansion.
9887         [BZ #19350]
9888         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9889         Increase overflow threshold.
9891         [BZ #19349]
9892         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9893         when small.
9895         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9896         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9897         New macro.
9898         [__LINUX_KERNEL_VERSION >= 0x040300]
9899         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9900         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9901         Likewise.
9902         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9903         Likewise.
9904         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9905         Likewise.
9906         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9907         Likewise.
9908         [__LINUX_KERNEL_VERSION >= 0x040300]
9909         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9910         [__LINUX_KERNEL_VERSION >= 0x040300]
9911         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9912         [__LINUX_KERNEL_VERSION >= 0x040300]
9913         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9914         [__LINUX_KERNEL_VERSION >= 0x040300]
9915         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9916         [__LINUX_KERNEL_VERSION >= 0x040300]
9917         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9918         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9919         Likewise.
9920         [__LINUX_KERNEL_VERSION >= 0x040300]
9921         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9922         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9923         Likewise.
9924         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9925         Likewise.
9926         [__LINUX_KERNEL_VERSION >= 0x040300]
9927         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9928         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9929         Likewise.
9930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9931         Likewise.
9932         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9933         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9934         Likewise.
9935         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9936         Likewise.
9937         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9938         Likewise.
9939         [__LINUX_KERNEL_VERSION >= 0x040300]
9940         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9941         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9942         Likewise.
9943         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9944         Likewise.
9945         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9946         Likewise.
9947         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9948         Likewise.
9949         [__LINUX_KERNEL_VERSION >= 0x040300]
9950         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9951         [__LINUX_KERNEL_VERSION >= 0x040300]
9952         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9953         [__LINUX_KERNEL_VERSION >= 0x040300]
9954         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9955         [__LINUX_KERNEL_VERSION >= 0x040300]
9956         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9957         [__LINUX_KERNEL_VERSION >= 0x040300]
9958         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9959         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9960         Likewise.
9961         [__LINUX_KERNEL_VERSION >= 0x040300]
9962         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9963         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9964         Likewise.
9965         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9966         Likewise.
9967         [__LINUX_KERNEL_VERSION >= 0x040300]
9968         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9970         Likewise.
9971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9972         Likewise.
9973         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9974         (__ASSUME_SOCKET_SYSCALL): Likewise.
9975         (__ASSUME_BIND_SYSCALL): Likewise.
9976         (__ASSUME_CONNECT_SYSCALL): Likewise.
9977         (__ASSUME_LISTEN_SYSCALL): Likewise.
9978         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9979         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9980         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9981         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9982         (__ASSUME_SEND_SYSCALL): Likewise.
9983         (__ASSUME_SENDTO_SYSCALL): Likewise.
9984         (__ASSUME_RECV_SYSCALL): Likewise.
9985         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9986         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9987         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9988         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9989         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9990         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9991         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9992         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9993         Likewise.
9994         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9995         Likewise.
9996         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9997         Likewise.
9998         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9999         Likewise.
10000         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10001         Likewise.
10002         [__LINUX_KERNEL_VERSION >= 0x020625]
10003         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10004         [__LINUX_KERNEL_VERSION >= 0x020625]
10005         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10006         [__LINUX_KERNEL_VERSION >= 0x020625]
10007         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10008         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10009         Likewise.
10010         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10011         Likewise.
10012         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10013         Likewise.
10014         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10015         Likewise.
10016         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10017         Likewise.
10018         [__LINUX_KERNEL_VERSION >= 0x020625]
10019         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10020         [__LINUX_KERNEL_VERSION >= 0x020625]
10021         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10022         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10023         Likewise.
10024         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10025         Likewise.
10027 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10029         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10030         record the current if the current ABI and CPU support the FP64
10031         extension.
10032         (has-modd-spreg): Define to record the current if the current ABI and
10033         CPU support 32-bit floating point values in odd FPU registers.
10034         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10035         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10036         $(has-modd-spreg) equals yes.
10037         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10038         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10039         $(has-modd-spreg) equal yes.
10041 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10043         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10044         basename.
10046 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10048         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10049         (bench-string): ... here.
10050         (bench): Add bench-string.
10051         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10052         to *-benchset to reflect what they are.
10053         (benchset): Adjust.
10055         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10056         cos-inputs.
10058 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10060         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10061         __attribute__ ((__simd__)) for vector math function declarations.
10063 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10065         Fix typo in strncat, wcsncat manual entries
10066         * manual/string.texi (Copying and Concatenation): Fix typos in
10067         sample implementations of strncat and wcsncat, by having them use
10068         the old value of the destination length, not the new one.
10070 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10072         [BZ #16961]
10073         [BZ #16962]
10074         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10075         string on the stack for strtod.
10076         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10077         a string on the stack for strtof.
10078         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10079         constructing a string on the stack for strtold.
10080         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10081         __strtold_nan to GLIBC_PRIVATE.
10082         * math/test-nan-overflow.c: New file.
10083         * math/test-nan-payload.c: Likewise.
10084         * math/Makefile (tests): Add test-nan-overflow and
10085         test-nan-payload.
10087 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10089         Consistency about byte vs character in string.texi
10090         * manual/string.texi (String and Array Utilities):
10091         Distinguish more carefully among bytes, multibyte characters,
10092         and wide characters.  Use "byte" when talking about C 'char',
10093         to distinguish it more clearly from multibyte characters.
10094         Say "wide character" or "multibyte character" instead of
10095         "character", when a wide or multibyte character is intended.
10096         Similarly for "multibyte string" versus "string".
10097         Define these terms more carefully.
10099 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10101         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10102         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10103         Likewise.
10104         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10105         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10106         * sysdeps/sh/math_private.h: New file.
10107         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10108         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10109         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10110         long double function name.
10111         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10112         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10113         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10114         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10115         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10117         Remove __finitel, __isinfl, and __isnanl.
10118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10119         Likewise.
10120         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10122         Remove __finitel.
10123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10124         Likewise.
10125         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10127 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10129         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10130         installed libmvec_nonshared.a.
10132 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10134         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10135         (sysdep_routines): Likewise.
10136         (sysdep-rtld-routines): Likewise.
10137         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10138         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10139         * sysdeps/powerpc/Versions: Added new
10140         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10141         * sysdeps/powerpc/hwcapinfo.c: New file.
10142         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10143         and parse hwcap, hwcap2 and platform number information.
10144         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10145         to store HWCAP+HWCAP2 and platform number.
10146         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10147         for HWCAP+HWCAP2 and platform number in the TCB.
10148         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10149         the HWCAP, HWCAP2 and platform number in the TCB.
10150         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10151         (TLS_INIT_TP): Included calls to add the hwcap and
10152         at_platform values in the TCB in TP initialization.
10153         (TLS_DEFINE_INIT_TP): Likewise.
10154         (THREAD_GET_HWCAP): New macro.
10155         (THREAD_SET_HWCAP): Likewise.
10156         (THREAD_GET_AT_PLATFORM): Likewise.
10157         (THREAD_SET_AT_PLATFORM): Likewise.
10158         * sysdeps/powerpc/powerpc32/dl-machine.h:
10159         (dl_platform_init): New function that calls
10160         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10161         powerpc32.
10162         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10163         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10164         this functionality, static linking case.
10165         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10166         linking case.
10167         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10168         __parse_hwcap_and_convert_at_platform for the static linking case.
10169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10170         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10171         ABI list for GLIBC 2.23.
10172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10173         Likewise.
10174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10175         Likewise.
10177 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10179         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10180         * configure: Regenerate.
10181         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10182         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10184 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10186         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10187         * iconvdata/ibm933.c: Likewise.
10188         * iconvdata/ibm935.c: Likewise.
10189         * iconvdata/ibm937.c: Likewise.
10190         * iconvdata/ibm939.c: Likewise.
10192 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10194         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10195         pthread_join.
10196         * nptl/tst-cancel21.c (tf): Likewise.
10198 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10200         [BZ #19313]
10201         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10202         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10203         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10204         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10205         Likewise.
10206         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10207         Likewise.
10208         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10209         Likewise.
10210         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10211         Likewise.
10212         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10213         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10214         unsigned long int with __CPU_MASK_TYPE.
10216 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10218         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10220 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10222         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10223         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10224         t512.x.
10225         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10227 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10229         [BZ #19214]
10230         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10231         argument to return extended model.  Update family and model
10232         with extended family and model when family == 0x0f.
10233         (init_cpu_features): Updated.
10235 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10237         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10238         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10240         * sysdeps/mach/hurd/mmap64.c: New file.
10242 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10244         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10245         rights for its main user thread in NEWTASK.
10247 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10249         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10250         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10252 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10254         [BZ #14259]
10255         * Makeconfig: Rename localedir to complocaledir.
10256         Rename inst_localedir to inst_complocaledir.
10257         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10258         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10259         * configure.ac: Use libc_cv_complocaledir.
10260         * configure: Regenerate.
10261         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10262         -DCOMPLOCALEDIR.
10263         * locale/findlocale.c: Use COMPLOCALEDIR.
10264         * locale/loadarchive.c: Likewise.
10265         * locale/programs/locale.c: Likewise.
10266         * locale/programs/localedef.c: Likewise.
10267         * locale/programs/locarchive.c: Likewise.
10268         * localedata/Makefile: Use inst_complocaledir.
10269         * sysdeps/gnu/configure: Regenerate.
10270         * sysdeps/hppa/configure: Regenerate.
10271         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10272         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10274         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10275         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10276         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10277         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10279 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10281         [BZ #19058]
10282         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10283         AS_NEEDED.
10284         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10285         workaround.
10286         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10287         libmvec-static-only-routines): Added new file.
10288         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10290 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10292         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10293         of interrupted RPC instead of restoring it.
10295         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10296         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10297         libc_hidden_def.
10298         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10299         into initialized data instead of common. Define rtld_hidden_data_def.
10300         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10301         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10302         libc_hidden_def.
10303         (if_freenameindex): Add libc_hidden_weak.
10304         (if_nameindex): Add libc_hidden_weak.
10305         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10306         __open64.
10307         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10308         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10309         * sysdeps/mach/nanosleep.c: Include <time.h>
10310         (__nanosleep): Rename to __libc_nanosleep.
10311         (__nanosleep): Add weak_alias.
10312         (nanosleep): Update alias.
10314 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10316         * stdlib/strtod_nan.c: New file.
10317         * stdlib/strtod_nan_double.h: Likewise.
10318         * stdlib/strtod_nan_float.h: Likewise.
10319         * stdlib/strtod_nan_main.c: Likewise.
10320         * stdlib/strtod_nan_narrow.h: Likewise.
10321         * stdlib/strtod_nan_wide.h: Likewise.
10322         * stdlib/strtof_nan.c: Likewise.
10323         * stdlib/strtold_nan.c: Likewise.
10324         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10325         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10326         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10327         * wcsmbs/wcstod_nan.c: Likewise.
10328         * wcsmbs/wcstof_nan.c: Likewise.
10329         * wcsmbs/wcstold_nan.c: Likewise.
10330         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10331         strtold_nan.
10332         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10333         wcstof_nan.
10334         * include/stdlib.h (__strtof_nan): Declare and use
10335         libc_hidden_proto.
10336         (__strtod_nan): Likewise.
10337         (__strtold_nan): Likewise.
10338         (__wcstof_nan): Likewise.
10339         (__wcstod_nan): Likewise.
10340         (__wcstold_nan): Likewise.
10341         * include/wchar.h (____wcstoull_l_internal): Declare.
10342         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10343         (____strtoull_l_internal): Remove declaration.
10344         (STRTOF_NAN): Define macro.
10345         (SET_MANTISSA): Remove macro.
10346         (STRTOULL): Likewise.
10347         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10348         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10349         (STRTOF_NAN): Define macro.
10350         (SET_MANTISSA): Remove macro.
10351         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10352         (SET_MANTISSA): Remove macro.
10353         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10354         macro.
10355         (SET_MANTISSA): Remove macro.
10356         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10357         macro.
10358         (SET_MANTISSA): Remove macro.
10359         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10360         (SET_MANTISSA): Remove macro.
10361         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10362         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10363         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10365         [BZ #19266]
10366         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10367         upper case and lower case letters inside NAN(), not using TOLOWER.
10368         * stdlib/tst-strtod-nan-locale-main.c: New file.
10369         * stdlib/tst-strtod-nan-locale.c: Likewise.
10370         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10371         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10372         Depend on $(gen-locales).
10373         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10374         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10375         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10376         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10377         Depend on $(gen-locales).
10378         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10380 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10382         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10384         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10386         __finitel, __isinfl, and __isnanl.
10387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10388         Likewise.
10389         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10391         __finitel.
10392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10393         Likewise.
10394         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10396 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10398         * malloc/memusage.c (me): Remove redundant getenv call.
10400 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10402         [BZ #19143]
10403         [BZ #19164]
10404         * nptl/check-cpuset.h: Remove.
10405         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10406         Remove CPU set size check.
10407         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10408         Likewise.
10409         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10410         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10411         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10412         (__pthread_setaffinity_new): Remove CPU set size check.
10413         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10414         (__kernel_cpumask_size): Remove.
10415         (__sched_setaffinity_new): Remove CPU set size check.
10416         * manual/threads.texi (Default Thread Attributes): Remove stale
10417         reference to check_cpuset_attr, determine_cpumask_size in comment.
10418         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10419         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10420         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10421         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10422         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10423         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10424         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10425         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10426         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10427         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10428         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10429         skeleton test file.
10430         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10431         tst-affinity-pid.
10433 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10435         * scripts/update-abilist.sh: New file.
10436         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10437         * Makerules (update-all-abi-%, update-all-abi)
10438         (subdir_update-all-abi): New targets.
10439         * elf/Makefile (update-all-abi): New target.
10441 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10443         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10444         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10445         (__libc_lock_define_initialized): Use it.
10446         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10447         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10448         * malloc/malloc.c (main_arena): Likewise.
10449         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10450         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10452 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10454         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10455         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10456         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10457         (PTRACE_O_MASK): Update value.
10458         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10459         New value in enum __ptrace_setoptions.
10460         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10461         (PTRACE_O_MASK): Update value.
10462         * sysdeps/unix/sysv/linux/powerpc/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/s390/sys/ptrace.h
10466         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10467         (PTRACE_O_MASK): Update value.
10468         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10469         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10470         (PTRACE_O_MASK): Update value.
10471         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10472         New value in enum __ptrace_setoptions.
10473         (PTRACE_O_MASK): Update value.
10474         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10475         New value in enum __ptrace_setoptions.
10476         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10477         (PTRACE_O_MASK): Update value.
10479         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10480         New macro.
10481         (PACKET_AUXDATA): Likewise.
10482         (PACKET_ORIGDEV): Likewise.
10483         (PACKET_VERSION): Likewise.
10484         (PACKET_HDRLEN): Likewise.
10485         (PACKET_RESERVE): Likewise.
10486         (PACKET_TX_RING): Likewise.
10487         (PACKET_LOSS): Likewise.
10488         (PACKET_VNET_HDR): Likewise.
10489         (PACKET_TX_TIMESTAMP): Likewise.
10490         (PACKET_TIMESTAMP): Likewise.
10491         (PACKET_FANOUT): Likewise.
10492         (PACKET_TX_HAS_OFF): Likewise.
10493         (PACKET_QDISC_BYPASS): Likewise.
10494         (PACKET_ROLLOVER_STATS): Likewise.
10495         (PACKET_FANOUT_DATA): Likewise.
10496         (PACKET_MR_UNICAST): Likewise.
10498         [BZ #19242]
10499         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10500         (TOUPPER): Likewise.
10501         * stdlib/tst-strtol-locale-main.c: New file.
10502         * stdlib/tst-strtol-locale.c: Likewise.
10503         * stdlib/Makefile (tests): Add tst-strtol-locale.
10504         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10505         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10506         Depend on $(gen-locales).
10507         * wcsmbs/tst-wcstol-locale.c: New file.
10508         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10509         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10510         tr_TR.ISO-8859-9.
10511         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10512         Depend on $(gen-locales).
10514 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10516         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10517         __glibc_likely instead of __builtin_expect.  After falling back to
10518         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10519         system interface to register the code pages as occupied.
10521 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10523         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10524         [!ARM_MATH_PRIVATE_H].
10525         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10526         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10527         [!HPPA_MATH_PRIVATE_H].
10528         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10529         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10530         to [!I386_MATH_PRIVATE_H].
10531         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10532         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10533         Change guard to [!M68K_MATH_PRIVATE_H].
10534         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10535         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10536         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10537         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10538         macro.
10539         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10540         [!MIPS_MATH_PRIVATE_H].
10541         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10542         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10543         [!NIO2_MATH_PRIVATE_H].
10544         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10545         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10546         [!TILE_MATH_PRIVATE_H].
10547         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10549         [BZ #15421]
10550         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10551         initialize with 0 and define as weak alias of __signgam.
10552         * include/math.h [!_ISOMAC] (__signgam): Declare.
10553         * math/Makefile (libm-calls): Add w_lgamma_compat.
10554         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10555         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10556         test-signgam-ullong-init.
10557         (tests-static): Add test-signgam-uchar-static,
10558         test-signgam-uchar-init-static, test-signgam-uint-static,
10559         test-signgam-uint-init-static, test-signgam-ullong-static and
10560         test-signgam-ullong-init-static.
10561         (CFLAGS-test-signgam-uchar.c): New variable.
10562         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10563         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10564         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10565         (CFLAGS-test-signgam-uint.c): Likewise.
10566         (CFLAGS-test-signgam-uint-init.c): Likewise.
10567         (CFLAGS-test-signgam-uint-static.c): Likewise.
10568         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10569         (CFLAGS-test-signgam-ullong.c): Likewise.
10570         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10571         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10572         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
10573         * math/Versions (libm): Add GLIBC_2.23.
10574         * math/lgamma-compat.h: New file.
10575         * math/test-signgam-main.c: Likewise.
10576         * math/test-signgam-uchar-init-static.c: Likewise.
10577         * math/test-signgam-uchar-init.c: Likewise.
10578         * math/test-signgam-uchar-static.c: Likewise.
10579         * math/test-signgam-uchar.c: Likewise.
10580         * math/test-signgam-uint-init-static.c: Likewise.
10581         * math/test-signgam-uint-init.c: Likewise.
10582         * math/test-signgam-uint-static.c: Likewise.
10583         * math/test-signgam-uint.c: Likewise.
10584         * math/test-signgam-ullong-init-static.c: Likewise.
10585         * math/test-signgam-ullong-init.c: Likewise.
10586         * math/test-signgam-ullong-static.c: Likewise.
10587         * math/test-signgam-ullong.c: Likewise.
10588         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
10589         wrapper of w_lgamma_main.c.
10590         * math/w_lgamma_compat.c: New file.
10591         * math/w_lgamma_compatf.c: Likewise.
10592         * math/w_lgamma_compatl.c: Likewise.
10593         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
10594         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10595         defining compatibility symbols.
10596         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
10597         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
10598         wrapper of w_lgammaf_main.c.
10599         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
10600         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10601         defining compatibility symbols.
10602         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
10603         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
10604         wrapper of w_lgammal_main.c.
10605         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
10606         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
10607         defining compatibility symbols.
10608         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
10609         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
10610         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
10611         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
10612         <lgamma-compat.h>.
10613         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
10614         (__ieee754_gamma): Define as alias.
10615         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
10616         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
10617         <lgamma-compat.h>.
10618         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
10619         (__ieee754_gammaf): Define as alias.
10620         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
10621         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
10622         <lgamma-compat.h>.
10623         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
10624         (__ieee754_gammal): Define as alias.
10625         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
10626         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
10627         <math/w_lgamma_compat.c>.
10628         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
10629         Define as alias of __lgamma_compat and use in defining lgammal.
10630         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
10631         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
10632         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
10633         (USE_AS_COMPAT): New macro.
10634         (LGAMMA_OLD_VER): Undefine and redefine.
10635         (lgammal): Do not define here.
10636         (gammal): Only define here if [GAMMA_ALIAS].
10637         * conform/linknamespace.pl (@whitelist): Remove signgam.
10638         * sysdeps/nacl/libm.abilist: Update.
10639         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10640         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10641         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10642         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10643         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10644         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10645         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10646         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10647         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10648         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10649         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10650         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10652         Likewise.
10653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10654         Likewise.
10655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10656         Likewise.
10657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10658         Likewise.
10659         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10660         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10661         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10662         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10663         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10665         Likewise.
10666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10667         Likewise.
10668         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10669         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10670         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10672 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10674         [BZ #16364]
10675         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
10676         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
10678 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10680         * sysdeps/s390/fpu/bits/mathinline.h:
10681         Use __asm__ [__volatile__] instead of asm [volatile].
10682         * sysdeps/s390/abort-instr.h: Likewise.
10683         * sysdeps/s390/atomic-machine.h: Likewise.
10684         * sysdeps/s390/bits/string.h: Likewise.
10685         * sysdeps/s390/dl-tls.h: Likewise.
10686         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10687         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10688         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10689         * sysdeps/s390/fpu/fesetround.c: Likewise.
10690         * sysdeps/s390/fpu/fpu_control.h: Likewise.
10691         * sysdeps/s390/fpu/s_fma.c: Likewise.
10692         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
10693         * sysdeps/s390/memusage.h: Likewise.
10694         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
10695         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
10696         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
10697         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
10698         * sysdeps/s390/nptl/tls.h: Likewise.
10699         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
10700         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10701         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10702         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10703         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10704         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10705         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
10706         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10707         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10708         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
10709         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10710         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10711         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10712         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
10713         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10714         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10715         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
10716         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10717         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
10718         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10719         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
10720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10721         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
10723 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10724             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10726         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10727         Add lwarx hint, and use macro for acquire instruction.
10728         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10729         Likewise.
10730         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
10731         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
10732         update to use new atomic macros.
10734 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10736         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10737         (__lll_trylock_elision): Fix setting of adapt_count.
10738         * sysdeps/unix/sysv/linux/powerpc/htm.h
10739         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
10740         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
10741         (_ABORT_SYSCALL): Renumber, and clarify definition.
10742         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
10744 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10746         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
10747         after system headers to prevent MIN/MAX redefinition.  Define
10748         HAVE_ALLOCA to preserve builtin alloca usage.
10750 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10752         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
10753         static and don't set or restore rounding.
10754         (__cos)[IN_SINCOS]: Likewise.
10755         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
10756         (__sincos): Set and restore rounding mode.  Remove check for infinite
10757         or NaN input.
10759         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10761         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10762         as used.
10764 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10766         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10768 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10770         * config.make.in (have-glob-dat-reloc): New.
10771         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10772         target supports GLOB_DAT relocaton. AC_SUBST.
10773         * configure: Regenerated.
10774         * elf/Makefile (tests): Add tst-prelink.
10775         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10776         (tst-prelink-ENV): New.
10777         ($(objpfx)tst-prelink-conflict.out): Likewise.
10778         ($(objpfx)tst-prelink-cmp.out): Likewise.
10779         * sysdeps/x86/tst-prelink.c: Moved to ...
10780         * elf/tst-prelink.c: Here.
10781         * sysdeps/x86/tst-prelink.exp: Moved to ...
10782         * elf/tst-prelink.exp: Here.
10783         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10784         (tst-prelink-ENV): Removed.
10785         ($(objpfx)tst-prelink-conflict.out): Likewise.
10786         ($(objpfx)tst-prelink-cmp.out): Likewise.
10787         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10789 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10791         [BZ #14551]
10792         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10793         (__mpn_construct_long_double): If high part overflows to infinity,
10794         set errno and recompute overflowed result of the correct sign.
10795         * sysdeps/ieee754/ldbl-128ibm/Makefile
10796         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10797         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10798         $(libm).
10799         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10801 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10803         [BZ #15479]
10804         [BZ #19238]
10805         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10806         floating-point state after first operation on input.  Restore full
10807         state rather than just rounding mode.
10808         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10809         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10810         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10812         [BZ #19235]
10813         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10814         add 0.5 to integer arguments.
10815         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10816         Likewise.
10817         (.LC2): New object.
10819 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10821         * scripts/pylintrc (reports): Set to no.
10823 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10825         * elf/dl-load.c (open_verify): Take new argument FD.
10826         Skip __open call if passed FD is not -1.
10827         (_dl_map_object, open_path): Update callers.
10828         * elf/dl-sysdep-open.h: New file.
10829         * elf/dl-load.c: Include it.
10830         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10831         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10832         * sysdeps/nacl/dl-sysdep-open.h: New file.
10833         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10834         from libc to rtld.
10836 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10838         [BZ #19228]
10839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10840         and restore full floating-point state.
10841         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10842         Likewise.
10843         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10844         Likewise.
10845         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10846         Likewise.
10847         * math/test-nearbyint-except-2.c: New file.
10848         * math/Makefile (tests): Add test-nearbyint-except-2.
10850 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10852         [BZ #19178]
10853         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10854         (tst-prelink-ENV): New.
10855         ($(objpfx)tst-prelink-conflict.out): Likewise.
10856         ($(objpfx)tst-prelink-cmp.out): Likewise.
10857         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10858         * sysdeps/x86/tst-prelink.c: New file.
10859         * sysdeps/x86/tst-prelink.exp: Likewise.
10861 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10863         * math/auto-libm-test-in: Add another test of pow.
10864         * math/auto-libm-test-out: Regenerated.
10865         * math/libm-test.inc (pow_test_data): Add another test.
10867 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10869         [BZ #19219]
10870         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10871         weak_alias to nearbyintl.
10873 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10875         * sysdeps/aarch64/bits/string.h: New file.
10876         (_STRING_ARCH_unaligned): Define.
10878 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10880         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10881         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10882         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10883         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10886 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10888         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10889         for original name of the DSO.  Add it to the name list of the DSO
10890         if it is actually given.
10891         (_dl_map_object): Keep track of whether an audit module rewrote
10892         the file name.  If yes, pass the original name to
10893         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10894         debugging is enabled, log the change of the file name.
10895         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10896         _dl_map_object_from_fd.
10897         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10898         * elf/tst-audit11.c: New file
10899         * elf/tst-auditmod11.c: New file.
10900         * elf/tst-audit11mod1.c: New file.
10901         * elf/tst-audit11mod2.c: New file.
10902         * elf/tst-audit11mod2.map: New file.
10903         * elf/tst-audit12.c: New file
10904         * elf/tst-auditmod12.c: New file.
10905         * elf/tst-audit12mod1.c: New file.
10906         * elf/tst-audit12mod2.c: New file.
10907         * elf/tst-audit12mod2.map: New file.
10908         * elf/tst-audit12mod3.c: New file.
10910 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10912         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10913         Don't create weak aliases,
10914         because versioned symbols are created later.
10915         * sysdeps/s390/s390-32/setjmp.S
10916         (setjmp, _setjmp): Remove weak and rename to an unique name
10917         in SHARED case due to existing versioned symbols.
10918         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10919         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10920         (getcontext): Create weak alias only in non SHARED case.
10921         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10923 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10925         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10926         (__ASSUME_*_SYSCALL) Define new macros.
10927         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10928         Remove socketcall syscalls.
10929         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10930         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10931         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10932         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10933         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10934         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10936 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10938         [BZ #12926]
10939         Terminate process on invalid netlink response.
10940         * sysdeps/unix/sysv/linux/netlinkaccess.h
10941         (__netlink_assert_response): Declare.
10942         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10943         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10944         (sysdep_routines): Add netlink_assert_response.
10945         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10946         __netlink_assert_response.
10947         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10948         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10949         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10950         __netlink_assert_response.
10952 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10954         [BZ #19178]
10955         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10956         (RTYPE_CLASS_PLT): Likewise.
10957         (RTYPE_CLASS_COPY): Likewise.
10958         (RTYPE_CLASS_TLS): Likewise.
10959         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10960         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10961         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10962         DL_DEBUG_PRELINK.
10964 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10966         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10967         calls with argument -0.5.
10968         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10970         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10971         (libc_cv_z_nodlopen): Likewise.
10972         (libc_cv_z_initfirst): Likewise.
10973         * configure: Regenerated.
10975 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10977         Simplify abilist format to be line-based.
10978         * scripts/abilist.awk: Collect descriptors in the descs variable.
10979         (emit): Write descs variable and sort it
10980         externally, with sort.
10981         * sysdeps/**/*.abilist: Convert to new format.
10983 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10985         [BZ #11460]
10986         * io/Makefile (routines): Add fts64.
10987         (tests): Add tst-fts and tst-fts-lfs.
10988         (CFLAGS-fts64.c): New.
10989         * io/Versions (GLIBC_2.23): New.
10990         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10991         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10992         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10993         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10994         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10995         (FTSENT64): Likewise.
10996         (fts64_children): Likewise.
10997         (fts64_close): Likewise.
10998         (fts64_open): Likewise.
10999         (fts64_read): Likewise.
11000         (fts64_set): Likewise.
11001         * io/fts64.c: New file.
11002         * io/tst-fts.c: New test.
11003         * io/tst-fts-lfs.c: Likewise.
11004         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11005         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11006         fts64_set.
11007         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11008         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11009         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11010         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11011         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11012         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11013         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11014         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11015         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11016         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11017         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11018         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11019         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11021         Likewise.
11022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11023         Likewise.
11024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11026         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11027         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11028         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11029         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11030         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11033         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11034         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11035         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11036         * sysdeps/wordsize-64/fts.c: New file.
11037         * sysdeps/wordsize-64/fts64.c: Likewise.
11038         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11039         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11040         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11041         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11043 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11045         * math/libm-test.inc (NON_FINITE): New macro.
11046         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11047         * math/gen-libm-test.pl (show_exceptions): Add argument
11048         $non_finite.
11049         (parse_args): Update call to show_exceptions.
11050         * math/test-math-finite.h: New file.
11051         * math/test-math-no-finite.h: Likewise.
11052         * math/test-double-finite.c: Likewise.
11053         * math/test-float-finite.c: Likewise.
11054         * math/test-ldouble-finite.c: Likewise.
11055         * math/test-double.c: Include "test-math-no-finite.h".
11056         * math/test-float.c: Include "test-math-no-finite.h".
11057         * math/test-ldouble.c: Include "test-math-no-finite.h".
11058         * math/test-math-inline.h (TEST_FINITE): New macro.
11059         * math/test-math-vector.h (TEST_FINITE): Likewise.
11060         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11061         (libm-tests): Add test-float-finite and test-double-finite.
11062         ($(objpfx)test-float-finite.o): New dependency on
11063         $(objpfx)libm-test.stmp.
11064         ($(objpfx)test-double-finite.o): Likewise.
11065         ($(objpfx)test-ldouble-finite.o): Likewise.
11066         (libm-test-no-inline-cflags): New variable.
11067         (libm-test-finite-cflags): Likewise.
11068         (CFLAGS-test-float-finite.c): Likewise.
11069         (CFLAGS-test-double-finite.c): Likewise.
11070         (CFLAGS-test-ldouble-finite.c): Likewise.
11071         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11072         (CFLAGS-test-double.c): Likewise.
11073         (CFLAGS-test-ldouble.c): Likewise.
11075 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11077         * io/fcntl.c (__fcntl): Add ... to prototype.
11078         * misc/ioctl.c (__ioctl): Likewise.
11079         * misc/syscall.c (syscall): Likewise.
11081 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11083         * scripts/list-fixed-bugs.py: New file.
11085         [BZ #19213]
11086         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11087         returned for argument 1.
11088         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11089         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11090         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11091         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11092         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11093         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11095         [BZ #19211]
11096         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11097         __USE_XOPEN], not if [!__USE_ISOC99].
11098         (lgammaf): Likewise.
11099         (lgammal): Likewise.
11100         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11101         (gammaf): Likewise.
11102         (gammal): Likewise.
11103         * math/test-signgam-finite-c11.c: New file.
11104         * math/test-signgam-finite-c99.c: Likewise.
11105         * math/test-signgam-finite.c: Likewise.
11106         * math/Makefile (tests): Add test-signgam-finite,
11107         test-signgam-finite-c99 and test-signgam-finite-c11.
11108         (CFLAGS-test-signgam-finite.c): New variable.
11109         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11110         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11112         [BZ #19212]
11113         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11114         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11115         500].
11116         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11117         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11118         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11119         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11120         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11121         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11122         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11123         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11124         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11125         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11127         [BZ #19209]
11128         * math/bits/math-finite.h (ldexp): Remove declaration.
11129         (ldexpf): Likewise.
11130         (ldexpl): Likewise.
11132         [BZ #19205]
11133         * math/bits/math-finite.h (acosf): Condition declaration on
11134         [__USE_ISOC99].
11135         (acosl): Likewise.
11136         (acoshf): Likewise.
11137         (acoshl): Likewise.
11138         (asinf): Likewise.
11139         (asinl): Likewise.
11140         (atan2f): Likewise.
11141         (atan2l): Likewise.
11142         (atanhf): Likewise.
11143         (atanhl): Likewise.
11144         (coshf): Likewise.
11145         (coshl): Likewise.
11146         (expf): Likewise.
11147         (expl): Likewise.
11148         (fmodf): Likewise.
11149         (fmodl): Likewise.
11150         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11151         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11152         (j0l): Likewise.
11153         (y0f): Likewise.
11154         (y0l): Likewise.
11155         (j1f): Likewise.
11156         (j1l): Likewise.
11157         (y1f): Likewise.
11158         (y1l): Likewise.
11159         (jnf): Likewise.
11160         (jnl): Likewise.
11161         (ynf): Likewise.
11162         (ynl): Likewise.
11163         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11164         (lgammal_r): Likewise.
11165         (__lgamma_r_finite): New declaration.
11166         (__lgammaf_r_finite): Likewise.
11167         (__lgammal_r_finite): Likewise.
11168         (lgamma): Use __lgamma_r_finite.
11169         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11170         __lgammaf_r_finite.
11171         (lgammal): Condition definition on [__USE_ISOC99].  Use
11172         __lgammal_r_finite.
11173         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11174         __lgamma_r_finite.
11175         (gammaf): Condition definition on [__USE_ISOC99].  Use
11176         __lgammaf_r_finite.
11177         (gammal): Condition definition on [__USE_ISOC99].  Use
11178         __lgammal_r_finite.
11179         (logf): Condition declaration on [__USE_ISOC99].
11180         (logl): Likewise.
11181         (log10f): Likewise.
11182         (log10l): Likewise.
11183         (ldexpf): Likewise.
11184         (ldexpl): Likewise.
11185         (powf): Likewise.
11186         (powl): Likewise.
11187         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11188         __USE_ISOC99].
11189         (remainderf): Condition declaration on [__USE_ISOC99].
11190         (remainderl): Likewise.
11191         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11192         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11193         (scalbl): Likewise.
11194         (sinhf): Condition declaration on [__USE_ISOC99].
11195         (sinhl): Likewise.
11196         (sqrtf): Likewise.
11197         (sqrtl): Likewise.
11199 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11201         * sysdeps/arm/atomic-machine.h
11202         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11203         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11204         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11205         Remove conditional code.
11206         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11207         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11208         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11209         Change conditional to [__ASSEMBLER__].
11210         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11211         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11212         [!__ASSEMBLER__].
11213         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11214         code.
11215         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11216         conditional macro definitions.
11217         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11218         (__arch_compare_and_exchange_val_16_acq): Likewise.
11219         (__arch_compare_and_exchange_val_32_acq): Likewise.
11220         (atomic_exchange_and_add): Likewise.
11221         (atomic_add): Likewise.
11222         (atomic_add_negative): Likewise.
11223         (atomic_add_zero): Likewise.
11224         (atomic_bit_set): Likewise.
11225         (atomic_bit_test_set): Likewise.
11226         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11227         code unconditional.
11228         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11230         * math/test-math-errno.h: New file.
11231         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11232         empty.
11233         (TEST_ERRNO): New macro.
11234         (TEST_EXCEPTIONS): Likewise.
11235         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11236         (TEST_EXCEPTIONS): Likewise.
11237         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11238         * math/test-double.c: Include "test-math-errno.h".
11239         * math/test-float.c: Likewise.
11240         * math/test-ldouble.c: Likewise.
11241         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11242         code unconditional.
11243         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11244         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11245         unconditional.
11246         (test_errno): Only run code if TEST_ERRNO.
11247         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11249 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11251         * nptl/tst-once5.cc: Remove attribution.
11253 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11255         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11256         sqrt, tan, tanh, y0, y1 and yn.
11257         * math/auto-libm-test-out: Regenerated.
11258         * math/libm-test.inc (scalb_test_data): Add more tests.
11259         (scalbn_test_data): Likewise.
11260         (scalbln_test_data): Likewise.
11261         (signbit_test_data): Likewise.
11262         (sin_test_data): Likewise.
11263         (sincos_test_data): Likewise.
11264         (sinh_test_data): Likewise.
11265         (sqrt_test_data): Likewise.
11266         (tan_test_data): Likewise.
11267         (tanh_test_data): Likewise.
11268         (tgamma_test_data): Likewise.
11269         (y0_test_data): Likewise.
11270         (y1_test_data): Likewise.
11271         (yn_test_data): Likewise.
11272         (significand_test_data): Likewise.
11273         * sysdeps/i386/fpu/libm-test-ulps: Update.
11275 2015-11-03  David Kastrup  <dak@gnu.org>
11277         [BZ #18604]
11278         * assert/assert.h (assert): Don't macro-expand failed assertion
11279         expression in error message.
11280         * malloc/malloc.c (assert): Likewise.
11282 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11284         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11285         test.
11286         * configure: Regenerated.
11288 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11290         * math/libm-test.inc (modf_test_data): Add more tests.
11291         (nearbyint_test_data): Likewise.
11292         (nextafter_test_data): Likewise.
11293         (nexttoward_test_data): Likewise.
11294         (pow_test_data): Likewise.
11295         (remainder_test_data): Likewise.
11296         (remquo_test_data): Likewise.
11297         (rint_test_data): Likewise.
11299         [BZ #19201]
11300         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11301         Check for zero remainder in case of large exponents and ensure
11302         correct sign of result in that case.
11303         * math/libm-test.inc (remainder_test_data): Add more tests.
11305         [BZ #6799]
11306         * math/s_nextafter.c: Include <errno.h>.
11307         (__nextafter): Set errno on overflow and underflow.
11308         * math/s_nexttowardf.c: Include <errno.h>.
11309         (__nexttowardf): Set errno on overflow and underflow.
11310         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11311         (__nextafterl): Set errno on overflow and underflow.
11312         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11313         (__nexttoward): Set errno on overflow and underflow.
11314         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11315         (__nexttowardf): Set errno on overflow and underflow.
11316         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11317         (__nextafterf): Set errno on overflow and underflow.
11318         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11319         (__nextafterl): Set errno on overflow and underflow.
11320         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11321         (__nexttoward): Set errno on overflow and underflow.
11322         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11323         (__nexttowardf): Set errno on overflow and underflow.
11324         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11325         (__nextafterl): Set errno on overflow and underflow.
11326         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11327         (__nexttoward): Set errno on overflow and underflow.
11328         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11329         (__nexttowardf): Set errno on overflow and underflow.
11330         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11331         (__nexttoward): Set errno on overflow and underflow.
11332         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11333         (__nexttowardf): Set errno on overflow and underflow.
11334         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11335         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11336         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11337         (__nextafterl): Set errno on overflow and underflow.
11338         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11339         setting to be missing on overflow.  Add more tests.
11340         (nexttoward_test_data): Likewise.
11342         * configure.ac (libc_cv_initfini_array): Remove configure test.
11343         * configure: Regenerated.
11345 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11347         [BZ #19189]
11348         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11349         non-finite argument handle arguments with negative sign.
11351         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11352         result from infinite argument.
11353         (j1_test_data): Likewise.
11354         (jn_test_data): Likewise.
11355         (y0_test_data): Likewise.
11356         (y1_test_data): Likewise.
11357         (yn_test_data): Likewise.
11359         [BZ #16171]
11360         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11361         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11362         * math/w_remainderf.c (dremf): Define as weak alias of
11363         __remainderf.
11364         * math/w_remainderl.c (dreml): Define as weak alias of
11365         __remainderl.
11366         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11367         __remainder.
11368         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11369         __remainderf.
11370         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11371         __remainderl.
11372         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11373         weak alias of remainderl.
11374         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11375         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11376         alias of __remainder.
11377         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11378         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11379         strong alias of __remainderl.
11380         (dreml): Use long_double_symbol.
11381         * math/Makefile (libm-calls): Remove w_drem.
11382         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11383         (CFLAGS-nldbl-drem.c): Remove variable.
11384         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11385         * math/w_drem.c: Remove file.
11386         * math/w_dremf.c: Likewise.
11387         * math/w_dreml.c: Likewise.
11388         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11389         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11390         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11392         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11393         * sysdeps/i386/configure: Regenerated.
11394         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11395         * sysdeps/x86_64/configure: Regenerated.
11397         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11398         test.
11399         (libc_cv_visibility_attribute): Likewise.
11400         (libc_cv_protected_data): Test unconditionally.
11401         (libc_cv_broken_visibility_attribute): Remove configure test.
11402         (libc_cv_have_sdata_section): Test unconditionally.
11403         * configure: Regenerated.
11405         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11406         * include/scratch_buffer.h: Include <stddef.h> instead of
11407         <libc-internal.h>.
11408         (struct scratch_buffer): Use max_align_t instead of
11409         libc_max_align_t.
11411 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11413         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11414         instead of extend_alloca.  Change control flow to avoid a goto.
11415         Remove assert which is trivially always true.
11417 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11419         [BZ #16068]
11420         * sysdeps/i386/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_64/fpu/fesetenv.c: Include <fpu_control.h>.
11427         (FE_ALL_EXCEPT_X86): New macro.
11428         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11429         FE_ALL_EXCEPT.  Ensure precision control is included in
11430         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11431         handle "denormal operand exception" and clear FZ and DAZ bits.
11432         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11433         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11434         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11435         test-fenv-x87 and test-fenv-sse-2.
11436         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11438         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11439         * math/test-double.h (BUILD_COMPLEX): New macro.
11440         * math/test-float.h (BUILD_COMPLEX): Likewise.
11441         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11443         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11444         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11445         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11446         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11447         instead of DBL_DENORM_MIN in comment.
11448         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11449         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11450         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11451         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11452         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11453         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11455 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11457         [BZ# 19048]
11458         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11459         attached_threads member.
11460         (main_arena): Initialize attached_threads.
11461         * malloc/arena.c (list_lock): Update comment.
11462         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11463         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11464         (deattach_arena): New function.
11465         (_int_new_arena): Initialize arena reference count and deattach
11466         replaced arena.
11467         (get_free_list, reused_arena): Update reference count and deattach
11468         replaced arena.
11469         (arena_thread_freeres): Update arena reference count and only put
11470         unreferenced arenas on the free list.
11472 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11474         [BZ #19181]
11475         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11476         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11477         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11478         * math/test-fenv-clear-main.c: New file.
11479         * math/test-fenv-clear.c: Likewise.
11480         * math/Makefile (tests): Add test-fenv-clear.
11481         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11482         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11483         test-fenv-clear-sse.
11484         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11486         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11487         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11488         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11490 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11492         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11493         static libc.
11495 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11497         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11498         test.
11499         * sysdeps/i386/configure: Regenerated.
11500         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11501         test.
11502         * sysdeps/x86_64/configure: Regenerated.
11503         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11504         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11505         memset-avx2 unconditionally instead of conditionally on
11506         [$(config-cflags-avx2) = yes].
11507         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11508         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11509         unconditional.
11510         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11511         * sysdeps/x86_64/multiarch/memset_chk.S
11512         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11513         to [IS_IN (libc) && SHARED].
11515 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11517         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11518         configure test.
11519         * sysdeps/arm/configure: Regenerated.
11520         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11521         Define variable if not already defined.
11523         [BZ #17404]
11524         * sysdeps/mips/atomic-machine.h
11525         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11526         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11527         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11529         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11530         unconditional.
11531         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11532         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11533         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11534         unconditional.
11535         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11536         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11537         unconditional.
11538         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11539         * stdlib/setenv.c
11540         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11541         code unconditional.
11542         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11543         Remove conditional code.
11544         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11545         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11546         unconditional.
11547         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11548         code.
11549         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11550         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11551         unconditional.
11552         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11553         code.
11554         * sysdeps/ieee754/ldbl-128/k_tanl.c
11555         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11556         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11557         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11558         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11559         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11560         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11561         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11562         unconditional.
11563         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11564         code.
11565         * sysdeps/ieee754/ldbl-96/k_tanl.c
11566         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11567         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11569         * nptl/tst-initializers1-c11.c: New file.
11570         * nptl/tst-initializers1-gnu11.c: Likewise.
11571         * nptl/Makefile (tests): Add these new tests.
11572         (CFLAGS-tst-initializers1-c11.c): New variable.
11573         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
11575         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
11576         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
11577         instead of -std=gnu99.
11578         * configure.ac (systemtap): Test with -std=gnu11 instead of
11579         -std=gnu99.
11580         * configure: Regenerated.
11581         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
11582         in compilation command in comment.
11584         * sysdeps/nptl/configure.ac: Remove file.
11585         * sysdeps/nptl/configure: Remove generated file.
11586         * configure.ac (libc_cv_forced_unwind): Do not substitute.
11587         * configure: Regenerated.
11588         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
11589         * config.make.in (have-forced-unwind): Remove variable.
11590         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11591         unconditional.
11592         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
11593         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
11594         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
11595         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
11596         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
11597         unconditional.
11599 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11601         [BZ #19174]
11602         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
11603         .skip_lock_out_of_tbegin_retries.
11604         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11605         (__lll_lock_elision): Likewise, and respect a value of
11606         try_tbegin <= 0.
11608 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11610         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
11611         statement.
11613 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11615         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
11616         variable.
11617         (test-xfail-ISO11/stdalign.h/conform): Likewise.
11618         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11620         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
11621         of -std=c1x -D_ISOC11_SOURCE.
11623         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
11624         * configure: Regenerated.
11625         * manual/install.texi (Tools for Compilation): Document
11626         requirement for GCC 4.7 or later.
11627         * INSTALL: Regenerated.
11629 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
11631         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
11632         on CNT to a conditional jump to 'puntdata'.
11634 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11636         * configure.ac (libc_cv_gcc___thread): Remove configure test.
11637         (libc_cv_gcc_tls_model_attr): Likewise.
11638         * configure: Regenerated.
11640         * configure.ac (libc_cv_need_minus_P): Remove configure test.
11641         * configure: Regenerated.
11642         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
11644 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
11646         * configure.ac (old_glibc_headers): Remove configure test.
11647         * configure: Regenerated.
11648         * config.make.in (old-glibc-headers): Remove variable.
11649         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
11650         (install): Remove dependency on remove-old-headers.
11651         (headers2_0): Remove variable.
11652         (remove-old-headers): Remove rule.
11654         * configure.ac (libc_cv_dot_text): Remove configure test.
11655         (libc_cv_asm_set_directive): Use .text instead of
11656         ${libc_cv_dot_text} in configure test.
11657         * configure: Regenerated.
11659 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11661         [BZ #19168]
11662         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11664 2015-10-26  Florian Weimer  <fweimer@redhat.com>
11666         * configure.ac (CXX): Clear the variable if the C++ toolchain does
11667         not support static linking.
11668         * configure: Regenerate.
11670 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
11672         * math/libm-test.inc (check_float_internal): Do not special-case
11673         errors up to 0.5 ulp.
11675         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11676         log2.
11677         * math/auto-libm-test-out: Regenerated.
11678         * math/libm-test.inc (MAX_EXP): New macro.
11679         (ilogb_test_data): Add more tests.
11680         (isfinite_test_data): Likewise.
11681         (isgreater_test_data): Likewise.
11682         (isgreaterequal_test_data): Likewise.
11683         (isinf_test_data): Likewise.
11684         (isless_test_data): Likewise.
11685         (islessequal_test_data): Likewise.
11686         (islessgreater_test_data): Likewise.
11687         (isnan_test_data): Likewise.
11688         (isnormal_test_data): Likewise.
11689         (issignaling_test_data): Likewise.
11690         (isunordered_test_data): Likewise.
11691         (j0_test_data): Likewise.
11692         (j1_test_data): Likewise.
11693         (jn_test_data): Likewise.
11694         (lgamma_test_data): Likewise.
11695         (log_test_data): Likewise.
11696         (log10_test_data): Likewise.
11697         (log1p_test_data): Likewise.
11698         (log2_test_data): Likewise.
11699         (logb_test_data): Likewise.
11700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11702         [BZ #18611]
11703         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
11704         avoid excess range and precision on underflow.
11705         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11706         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
11707         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11708         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
11709         underflow.
11710         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11711         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11712         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11713         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11714         * math/auto-libm-test-in: Do not allow missing errno setting for
11715         tests of j1 and jn.
11716         * math/auto-libm-test-out: Regenerated.
11718 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
11720         [BZ #15491]
11721         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
11722         floating-point environment instead of clearing all exceptions.
11723         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11724         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
11725         merging in "invalid" exceptions from frndint.
11726         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11727         * math/test-nearbyint-except.c: New file.
11728         * math/Makefile (tests): Add test-nearbyint-except.
11730 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
11732         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
11734         * sysdeps/tile/libm-test-ulps: Regenerated.
11736 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
11739         (__NR_sync_file_range2): Assume it is always defined.
11740         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11741         (__NR_sync_file_range): Assume it is always defined.
11743 2015-10-22  Andreas Schwab  <schwab@suse.de>
11745         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11746         INTERNAL_SYSCALL_ERRNO.
11747         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11748         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11749         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11750         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11751         Likewise.
11752         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11754 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11756         * io/tst-fcntl.c (fd): New static variable.
11757         (do_prepare): Open temporary file here....
11758         (do_test): ...not here.
11760         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11762 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11764         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11765         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11766         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11767         Moved before "#ifdef __ASSEMBLER__".
11769 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11771         [BZ #19156]
11772         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11773         arguments very close to 0.
11775 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11777         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11778         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11780 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11782         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11783         New.  Defined for GCC 5 and above when not compiling for
11784         profiling.
11785         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11787         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11788         Renamed to ...
11789         (CFLAGS-epoll_pwait.o): This.
11790         (CFLAGS-mmap.c): Renamed to ...
11791         (CFLAGS-mmap.o): This.
11792         (CFLAGS-mmap64.c): Renamed to ...
11793         (CFLAGS-mmap64.o): This.
11794         (CFLAGS-epoll_pwait.os): New.
11795         (CFLAGS-mmap.os): Likewise.
11796         (CFLAGS-mmap64.os): Likewise.
11797         (CFLAGS-semtimedop.os): Likewise.
11798         (CFLAGS-semtimedop.c): Renamed to ...
11799         (CFLAGS-semtimedop.o): This.
11801 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11803         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11804         warning message.
11806 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11808         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11809         * Makefile ($(objpfx)c++-types-check.out): Filter out
11810         $(+gccwarn-c) instead of -Wstrict-prototypes.
11812         * io/fts.c (fts_open): Convert to prototype-style function
11813         definition.
11814         * malloc/mcheck.c (mcheck): Likewise.
11815         (mcheck_pedantic): Likewise.
11816         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11817         internal_function.
11818         (re_search_internal): Likewise.
11819         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11820         prototype-style function definition.
11821         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11822         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11823         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11824         (xdr_utmpptr): Likewise.
11825         (xdr_utmparr): Likewise.
11826         (xdr_utmpidle): Likewise.
11827         (xdr_utmpidleptr): Likewise.
11828         (xdr_utmpidlearr): Likewise.
11830         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11831         log, log10 and log2.
11832         * math/auto-libm-test-out: Regenerated.
11833         * math/libm-test.inc (fmod_test_data): Add more tests.
11834         (fpclassify_test_data): Likewise.
11835         (frexp_test_data): Likewise.
11836         (hypot_test_data): Likewise.
11837         (ilogb_test_data): Likewise.
11839 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11841         * debug/fortify_fail.c (__fortify_fail): Convert to
11842         prototype-style function definition.  Use internal_function.
11843         * libio/genops.c (save_for_backup): Convert to prototype-style
11844         function definition.
11845         * libio/wgenops.c (save_for_wbackup): Likewise.
11846         * login/grantpt.c (grantpt): Likewise.
11847         * login/ptsname.c (ptsname): Likewise.
11848         (__ptsname_r): Likewise.
11849         * login/unlockpt.c (unlockpt): Likewise.
11850         * mach/msgserver.c (__mach_msg_server): Likewise.
11851         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11852         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11853         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11854         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11855         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11856         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11857         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11858         Likewise.
11859         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11860         internal_function.
11861         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11862         prototype-style function definition.
11863         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11864         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11865         (__pthread_create_2_0): Likewise.
11866         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11867         * nptl/register-atfork.c (__register_atfork): Likewise.
11868         * posix/glob.c (glob): Likewise.
11869         * posix/regcomp.c (re_comp): Likewise.
11870         * posix/regexec.c (re_exec): Likewise.
11871         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11872         [!__STDC__]: Remove conditional code.
11873         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11874         [!__STDC__]: Remove conditional code.
11875         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11876         [!__STDC__]: Remove conditional code.
11877         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11878         [!__STDC__]: Remove conditional code.
11879         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11880         [!__STDC__]: Remove conditional code.
11881         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11882         [!__STDC__]: Remove conditional code.
11883         * stdlib/mul.c [__STDC__]: Make code unconditional.
11884         [!__STDC__]: Remove conditional code.
11885         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11886         [!__STDC__]: Remove conditional code.
11887         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11888         [!__STDC__]: Remove conditional code.
11889         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11890         function definition.
11891         (STRTOF): Likewise.
11892         * stdlib/strtod_l.c (__STRTOF): Likewise.
11893         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11894         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11895         (__strtol_l): Likewise.
11896         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11897         [!__STDC__]: Remove conditional code.
11898         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11899         definition.
11900         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11901         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11902         type.
11903         (__strcasecmp): Convert to prototype-style function definition.
11904         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11905         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11906         type.
11907         (__strncasecmp): Convert to prototype-style function definition.
11908         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11909         * sunrpc/xdr.c (xdr_union): Likewise.
11910         * sunrpc/xdr_array.c (xdr_array): Likewise.
11911         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11912         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11913         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11914         Likewise.
11915         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11916         Likewise.
11917         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11918         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11919         Likewise.
11920         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11921         (LOCALE_PARAM_PROTO): Likewise.
11922         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11923         argument type.
11924         (ut_argument_spec): Remove macro.
11925         (ut_argument_spec_iso): Rename to ut_argument_spec.
11926         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11927         prototype-style function definition.
11928         (memcpy_uppcase): Likewise.
11929         (__strftime_internal): Likewise.
11930         (my_strftime): Likewise.
11931         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11932         (LOCALE_PARAM_DECL): Likewise.
11933         [_LIBC] (LOCALE_PARAM): Include argument type.
11934         (__strptime_internal): Convert to prototype-style function
11935         definition.
11936         (strptime): Likewise.
11937         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11938         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11939         type.
11940         (__wcscasecmp): Convert to prototype-style function definition.
11941         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11942         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11943         type.
11944         (__wcsncasecmp): Convert to prototype-style function definition.
11946         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11947         function definition.
11948         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11949         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11950         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11951         * elf/dl-minimal.c (_itoa): Likewise.
11952         * hurd/hurdmalloc.c (malloc): Likewise.
11953         (free): Likewise.
11954         (realloc): Likewise.
11955         * inet/inet6_option.c (inet6_option_space): Likewise.
11956         (inet6_option_init): Likewise.
11957         (inet6_option_append): Likewise.
11958         (inet6_option_alloc): Likewise.
11959         (inet6_option_next): Likewise.
11960         (inet6_option_find): Likewise.
11961         * io/ftw.c (FTW_NAME): Likewise.
11962         (NFTW_NAME): Likewise.
11963         (NFTW_NEW_NAME): Likewise.
11964         (NFTW_OLD_NAME): Likewise.
11965         * libio/iofwide.c (_IO_fwide): Likewise.
11966         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11967         (_IO_str_init_static): Likewise.
11968         (_IO_str_init_readonly): Likewise.
11969         (_IO_str_overflow): Likewise.
11970         (_IO_str_underflow): Likewise.
11971         (_IO_str_count): Likewise.
11972         (_IO_str_seekoff): Likewise.
11973         (_IO_str_pbackfail): Likewise.
11974         (_IO_str_finish): Likewise.
11975         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11976         (_IO_wstr_overflow): Likewise.
11977         (_IO_wstr_underflow): Likewise.
11978         (_IO_wstr_count): Likewise.
11979         (_IO_wstr_seekoff): Likewise.
11980         (_IO_wstr_pbackfail): Likewise.
11981         (_IO_wstr_finish): Likewise.
11982         * locale/programs/localedef.c (normalize_codeset): Likewise.
11983         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11984         (add_locales_to_archive): Likewise.
11985         (delete_locales_from_archive): Likewise.
11986         * malloc/malloc.c (__libc_mallinfo): Likewise.
11987         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11988         * misc/tsearch.c (__tfind): Likewise.
11989         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11990         * nptl/pthread_attr_getdetachstate.c
11991         (__pthread_attr_getdetachstate): Likewise.
11992         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11993         Likewise.
11994         * nptl/pthread_attr_getinheritsched.c
11995         (__pthread_attr_getinheritsched): Likewise.
11996         * nptl/pthread_attr_getschedparam.c
11997         (__pthread_attr_getschedparam): Likewise.
11998         * nptl/pthread_attr_getschedpolicy.c
11999         (__pthread_attr_getschedpolicy): Likewise.
12000         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12001         Likewise.
12002         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12003         Likewise.
12004         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12005         Likewise.
12006         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12007         Likewise.
12008         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12009         (__pthread_attr_init_2_0): Likewise.
12010         * nptl/pthread_attr_setdetachstate.c
12011         (__pthread_attr_setdetachstate): Likewise.
12012         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12013         Likewise.
12014         * nptl/pthread_attr_setinheritsched.c
12015         (__pthread_attr_setinheritsched): Likewise.
12016         * nptl/pthread_attr_setschedparam.c
12017         (__pthread_attr_setschedparam): Likewise.
12018         * nptl/pthread_attr_setschedpolicy.c
12019         (__pthread_attr_setschedpolicy): Likewise.
12020         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12021         Likewise.
12022         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12023         Likewise.
12024         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12025         Likewise.
12026         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12027         Likewise.
12028         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12029         Likewise.
12030         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12031         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12032         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12033         use internal_function.
12034         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12035         prototype-style function definition.
12036         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12037         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12038         internal_function.
12039         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12040         Convert to prototype-style function definition.
12041         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12042         Likewise.
12043         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12044         Likewise.
12045         (__pthread_mutex_unlock): Likewise.
12046         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12047         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12048         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12049         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12050         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12051         * nss/makedb.c (process_input): Likewise.
12052         * posix/fnmatch.c (__strchrnul): Likewise.
12053         (__wcschrnul): Likewise.
12054         (fnmatch): Likewise.
12055         * posix/fnmatch_loop.c (FCT): Likewise.
12056         * posix/glob.c (globfree): Likewise.
12057         (__glob_pattern_type): Likewise.
12058         (__glob_pattern_p): Likewise.
12059         * posix/regcomp.c (re_compile_pattern): Likewise.
12060         (re_set_syntax): Likewise.
12061         (re_compile_fastmap): Likewise.
12062         (regcomp): Likewise.
12063         (regerror): Likewise.
12064         (regfree): Likewise.
12065         * posix/regexec.c (regexec): Likewise.
12066         (re_match): Likewise.
12067         (re_search): Likewise.
12068         (re_match_2): Likewise.
12069         (re_search_2): Likewise.
12070         (re_search_stub): Likewise.  Use internal_function
12071         (re_copy_regs): Likewise.
12072         (re_set_registers): Convert to prototype-style function
12073         definition.
12074         (prune_impossible_nodes): Likewise.  Use internal_function.
12075         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12076         prototype-style function definition.
12077         (inet_net_pton_ipv4): Likewise.
12078         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12079         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12080         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12081         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12082         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12083         Make variadic.
12084         * time/strptime_l.c (localtime_r): Convert to prototype-style
12085         function definition.
12086         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12087         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12088         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12089         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12091         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12092         definition.
12093         (_ufc_doit_r): Likewise.
12094         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12095         (_ufc_output_conversion_r): Likewise.
12096         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12097         * inet/rcmd.c (rcmd_af): Likewise.
12098         (rcmd): Likewise.
12099         (ruserok_af): Likewise.
12100         (ruserok): Likewise.
12101         (ruserok2_sa): Likewise.
12102         (ruserok_sa): Likewise.
12103         (iruserok_af): Likewise.
12104         (iruserok): Likewise.
12105         (__ivaliduser): Likewise.
12106         (__validuser2_sa): Likewise.
12107         * inet/rexec.c (rexec_af): Likewise.
12108         (rexec): Likewise.
12109         * inet/ruserpass.c (ruserpass): Likewise.
12110         * locale/programs/xmalloc.c (xcalloc): Likewise.
12111         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12112         * math/w_drem.c (__drem): Likewise.
12113         * math/w_dremf.c (__dremf): Likewise.
12114         * math/w_dreml.c (__dreml): Likewise.
12115         * misc/daemon.c (daemon): Likewise.
12116         * resolv/res_debug.c (p_fqnname): Likewise.
12117         * stdlib/div.c (div): Likewise.
12118         * string/memcmp.c (memcmp_bytes): Likewise.
12119         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12120         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12122         * crypt/cert.c (main): Convert to prototype-style function
12123         definition.
12124         * io/pipe.c (__pipe): Likewise.
12125         * io/pipe2.c (__pipe2): Likewise.
12126         * misc/futimesat.c (futimesat): Likewise.
12127         * misc/utimes.c (__utimes): Likewise.
12128         * posix/execve.c (__execve): Likewise.
12129         * posix/execvp.c (execvp): Likewise.
12130         * posix/execvpe.c (__execvpe): Likewise.
12131         * posix/fexecve.c (fexecve): Likewise.
12132         * socket/socketpair.c (socketpair): Likewise.
12133         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12134         * stdlib/erand48.c (erand48): Likewise.
12135         * stdlib/erand48_r.c (__erand48_r): Likewise.
12136         * stdlib/jrand48.c (jrand48): Likewise.
12137         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12138         * stdlib/lcong48.c (lcong48): Likewise.
12139         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12140         * stdlib/nrand48.c (nrand48): Likewise.
12141         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12142         * stdlib/seed48.c (seed48): Likewise.
12143         * stdlib/seed48_r.c (__seed48_r): Likewise.
12144         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12145         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12146         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12148 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12150         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12151         * configure: Regenerated.
12152         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12153         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12154         unconditional.
12155         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12156         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12157         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12158         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12159         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12160         unconditional.
12161         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12163         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12164         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12166         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12167         function definition.
12168         * crypt/crypt_util.c (__encrypt_r): Likewise.
12169         * libio/genops.c (_IO_no_init): Likewise.
12170         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12171         (_IO_old_fopencookie): Likewise.
12172         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12173         * libio/iogetline.c (_IO_getline): Likewise.
12174         (_IO_getline_info): Likewise.
12175         * libio/iogetwline.c (_IO_getwline): Likewise.
12176         (_IO_getwline_info): Likewise.
12177         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12178         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12179         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12180         (find_entry): Likewise.
12181         (iterate_table): Likewise.
12182         (lookup): Likewise.
12183         * login/forkpty.c (forkpty): Likewise.
12184         * misc/hsearch_r.c (__hsearch_r): Likewise.
12185         * misc/select.c (__select): Likewise.
12186         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12187         Likewise.
12188         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12189         Likewise.
12190         * nptl/old_pthread_cond_timedwait.c
12191         (__pthread_cond_timedwait_2_0): Likewise.
12192         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12193         * nptl/pthread_barrierattr_getpshared.c
12194         (pthread_barrierattr_getpshared): Likewise.
12195         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12196         Likewise.
12197         * nptl/pthread_mutex_setprioceiling.c
12198         (pthread_mutex_setprioceiling): Likewise.
12199         * nptl/pthread_mutexattr_getprioceiling.c
12200         (pthread_mutexattr_getprioceiling): Likewise.
12201         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12202         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12203         Likewise.
12204         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12205         Likewise.
12206         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12207         Likewise.
12208         * socket/recvfrom.c (__recvfrom): Likewise.
12209         * socket/sendto.c (__sendto): Likewise.
12210         * socket/setsockopt.c (__setsockopt): Likewise.
12211         * stdio-common/_itoa.c (_itoa): Likewise.
12212         * stdio-common/_itowa.c (_itowa): Likewise.
12213         * stdio-common/reg-printf.c (__register_printf_specifier):
12214         Likewise.
12215         (__register_printf_function): Likewise.
12216         * stdio-common/tempname.c (__path_search): Likewise.
12217         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12218         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12219         * stdlib/random_r.c (__initstate_r): Likewise.
12220         * stdlib/setenv.c (__add_to_environ): Likewise.
12221         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12222         * streams/getpmsg.c (getpmsg): Likewise.
12223         * streams/putmsg.c (putmsg): Likewise.
12224         * streams/putpmsg.c (putpmsg): Likewise.
12225         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12226         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12227         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12228         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12229         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12230         * sunrpc/svc_udp.c (cache_get): Likewise.
12231         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12232         * sysdeps/mach/hurd/getcwd.c
12233         (__canonicalize_directory_name_internal): Likewise.
12234         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12235         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12236         * sysdeps/mach/hurd/select.c (__select): Likewise.
12237         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12238         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12239         * sysdeps/sparc/nptl/pthread_barrier_init.c
12240         (__pthread_barrier_init): Likewise.
12241         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12242         (__pthread_cond_timedwait): Likewise.
12243         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12244         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12245         Likewise.
12246         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12247         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12248         Likewise.
12249         * sysvipc/semtimedop.c (semtimedop): Likewise.
12250         * time/setitimer.c (__setitimer): Likewise.
12251         * time/strftime_l.c (emacs_strftime): Likewise.
12253 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12255         * config.make.in (have-ssp): Delete.
12256         (stack-protector): New variable.
12257         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12258         cache test for -fstack-protector-strong.  Export stack_protector to
12259         the best ssp flag.
12260         * configure: Regenerated.
12261         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12262         * nscd/Makefile (CFLAGS-nscd): Likewise.
12263         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12265 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12267         [BZ #19122]
12268         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12269         attribute_hidden.
12271 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12273         [BZ #18743]
12274         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12275         code to...
12276         (ELIDE_LOCK): ...here.
12277         (__get_new_count): New function with part of the code from
12278         __elide_lock that updates the value of adapt_count after a
12279         transaction abort.
12280         (__elided_trylock): Moved this code to...
12281         (ELIDE_TRYLOCK): ...here.
12283 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12285         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12286         * configure: Regenerate.
12287         * INSTALL: Regenerate.
12288         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12289         and tweak grammar.
12291 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12293         * login/programs/pt_chown.c: Include signal.h
12294         (main): Clear any signal mask from the parent process.
12296 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12298         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12299         * configure: Regenerated.
12300         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12301         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12302         $(gnu89-inline-CFLAGS).
12304         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12305         test.
12306         (libc_cv_asm_weakext_directive): Likewise.
12307         * configure: Regenerated.
12308         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12309         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12310         * include/libc-symbols.h
12311         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12312         #error.
12313         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12314         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12316         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12317         prototype-style function definition.
12318         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12319         * sysdeps/i386/ffs.c (__ffs): Likewise.
12320         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12321         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12322         Likewise.
12323         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12324         Likewise.
12325         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12326         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12327         Likewise.
12328         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12329         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12330         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12331         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12332         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12333         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12334         * sysdeps/mach/hurd/access.c (__access): Likewise.
12335         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12336         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12337         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12338         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12339         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12340         (cthread_getspecific): Likewise.
12341         (cthread_setspecific): Likewise.
12342         (__libc_getspecific): Likewise.
12343         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12344         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12345         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12346         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12347         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12348         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12349         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12350         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12351         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12352         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12353         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12354         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12355         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12356         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12357         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12358         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12359         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12360         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12361         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12362         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12363         * sysdeps/mach/hurd/link.c (__link): Likewise.
12364         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12365         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12366         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12367         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12368         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12369         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12370         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12371         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12372         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12373         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12374         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12375         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12376         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12377         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12378         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12379         * sysdeps/mach/hurd/send.c (__send): Likewise.
12380         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12381         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12382         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12383         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12384         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12385         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12386         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12387         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12388         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12389         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12390         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12391         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12392         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12393         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12394         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12395         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12396         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12397         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12398         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12399         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12400         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12401         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12402         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12403         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12404         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12405         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12406         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12407         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12408         * sysdeps/posix/alarm.c (alarm): Likewise.
12409         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12410         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12411         * sysdeps/posix/dup.c (__dup): Likewise.
12412         * sysdeps/posix/dup2.c (__dup2): Likewise.
12413         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12414         (main): Likewise.
12415         * sysdeps/posix/flock.c (__flock): Likewise.
12416         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12417         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12418         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12419         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12420         * sysdeps/posix/isatty.c (__isatty): Likewise.
12421         * sysdeps/posix/killpg.c (killpg): Likewise.
12422         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12423         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12424         * sysdeps/posix/raise.c (raise): Likewise.
12425         * sysdeps/posix/remove.c (remove): Likewise.
12426         * sysdeps/posix/rename.c (rename): Likewise.
12427         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12428         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12429         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12430         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12431         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12432         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12433         * sysdeps/posix/sigset.c (sigset): Likewise.
12434         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12435         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12436         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12437         * sysdeps/posix/time.c (time): Likewise.
12438         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12439         (ttyname): Likewise.
12440         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12441         * sysdeps/posix/utime.c (utime): Likewise.
12442         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12443         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12444         Likewise.
12445         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12446         (pthread_spin_trylock): Likewise.
12447         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12448         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12449         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12450         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12451         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12452         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12453         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12454         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12455         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12456         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12457         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12458         * sysdeps/s390/ffs.c (__ffs): Likewise.
12459         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12460         Likewise.
12461         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12462         Likewise.
12463         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12464         Likewise.
12465         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12466         (pthread_barrier_destroy): Likewise.
12467         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12468         (__pthread_barrier_wait): Likewise.
12469         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12470         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12471         (__pthread_barrier_wait): Likewise.
12472         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12473         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12474         (memcmp_not_common_alignment): Likewise.
12475         (MEMCMP): Likewise.
12476         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12477         (_wordcopy_fwd_dest_aligned): Likewise.
12478         (_wordcopy_bwd_aligned): Likewise.
12479         (_wordcopy_bwd_dest_aligned): Likewise.
12480         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12481         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12482         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12483         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12484         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12485         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12486         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12487         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12488         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12489         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12490         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12491         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12492         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12493         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12494         * sysdeps/unix/stime.c (stime): Likewise.
12495         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12496         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12497         Likewise.  Use internal_function.
12498         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12499         Convert to prototype-style function definition.
12500         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12501         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12502         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12503         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12504         Likewise.  Use internal_function.
12505         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12506         prototype-style function definition
12507         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12508         Likewise.
12509         (__getlogin_r): Likewise.
12510         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12511         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12512         (__pthread_cond_broadcast): Likewise.
12513         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12514         (__pthread_cond_destroy): Likewise.
12515         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12516         (__pthread_cond_init): Likewise.
12517         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12518         (__pthread_cond_signal): Likewise.
12519         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12520         (__pthread_cond_wait): Likewise.
12521         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12522         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12523         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12524         Likewise.
12525         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12526         Likewise.
12527         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12528         Likewise.
12529         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12530         Likewise.
12531         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12533         (__ftruncate64): Likewise.
12534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12535         (truncate64): Likewise.
12536         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12537         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12538         (pthread_getcpuclockid): Likewise.
12539         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12540         Likewise.
12541         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12542         Likewise.
12543         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12544         Likewise.
12545         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12546         Likewise.
12547         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12548         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12549         (__libc_sigaction): Likewise.
12550         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12551         Likewise.
12552         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12553         (__sigprocmask): Likewise.
12554         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12555         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12556         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12557         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12558         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12559         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12560         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12561         Likewise.
12562         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12563         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12564         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12565         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12566         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12567         Likewise.
12568         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12569         (__sigprocmask): Likewise.
12570         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12571         (cfgetispeed): Likewise.
12572         (cfsetospeed): Likewise.
12573         (cfsetispeed): Likewise.
12574         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
12575         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
12576         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12577         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12578         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
12579         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
12580         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
12581         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
12582         Likewise.
12583         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
12584         Likewise.
12585         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
12586         Likewise.
12587         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
12588         Likewise.
12589         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12591 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12593         sunrpc: Rewrite with explicit TLS access using __thread.
12594         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
12595         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
12596         directly.
12597         (__rpc_thread_variables): Access thread_rpc_vars directly.
12598         Eliminate redundant assignment of the tvp variable.
12600 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12602         malloc: Rewrite with explicit TLS access using __thread.
12603         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
12604         (tsd_setspecific, tsd_getspecific): Remove.
12605         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
12606         (tsd_setspecific, tsd_getspecific): Likewise.
12607         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
12608         (tsd_setspecific, tsd_getspecific): Likewise.
12609         * malloc/arena.c (thread_arena): New TLS variable.
12610         (arena_key): Remove variable.
12611         (arena_get): Use thread_arena.
12612         (arena_lookup): Remove macro.
12613         (malloc_atfork, free_atfork, ptmalloc_lock_all)
12614         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
12615         (_int_new_arena, get_free_list, reused_arena)
12616         (arena_thread_freeres): Use thread_arena.
12617         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
12618         tsd_getspecific, tsd_setspecific from safety annotations.
12619         (Allocating Cleared Space): Remove arena_lookup from safety
12620         annotations.
12622 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12624         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
12625         struct scratch_buffer instead of extend_alloca.
12627 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12629         * sysdeps/unix/sysv/linux/kernel-features.h
12630         (__ASSUME_SOCK_CLOEXEC): Remove.
12631         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
12632         (__have_paccept): Remove unused macro.
12633         * include/unistd.h (__have_sock_cloexec): Remove declaration.
12634         * misc/syslog.c (openlog_internal): Remove fallback code for
12635         !__ASSUME_SOCK_CLOEXEC.
12636         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
12637         missing SOCK_CLOEXEC.
12638         * nscd/connections.c (have_sock_cloexec): Remove definition.
12639         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12640         * nscd/nscd_helper.c (open_socket): Remove fallback code for
12641         !__ASSUME_SOCK_CLOEXEC.
12642         * resolv/res_send.c (__have_o_nonblock): Remove definition.
12643         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
12644         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
12645         definition.
12646         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
12647         code for !__ASSUME_SOCK_CLOEXEC.
12649 2015-10-17  Florian Weimer  <fweimer@redhat.com>
12651         [BZ #18982]
12652         * manual/stdio.texi (Variable Arguments Output): Add portability
12653         note, explaining that vfprintf clobbers the va_list pointer.
12655 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12657         * math/libm-test.inc (fabs_test_data): Add more tests.
12658         (fdim_test_data): Likewise.
12659         (fma_test_data): Likewise.
12660         (fmax_test_data): Likewise.
12661         (fmin_test_data): Likewise.
12662         (fmod_test_data): Likewise.
12664 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
12666         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
12667         data.
12669 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
12671         * math/libm-test.inc (ceil_test_data): Add more tests and more
12672         expectations for "inexact".
12673         (floor_test_data): Add more tests.
12674         (round_test_data): Likewise.
12675         (trunc_test_data): Likewise.
12677         * crypt/cert.c (good_bye): Convert to prototype-style function
12678         definition.
12679         (get8): Likewise.
12680         (put8): Likewise.
12681         * crypt/crypt-entry.c (crypt): Likewise.
12682         (__fcrypt): Likewise.
12683         * crypt/crypt_util.c (_ufc_prbits): Likewise.
12684         (_ufc_set_bits): Likewise.
12685         (_ufc_clearmem): Likewise.
12686         (__init_des_r): Likewise.
12687         (shuffle_sb): Likewise.
12688         (shuffle_sb): Likewise.
12689         (_ufc_setup_salt_r): Likewise.
12690         (_ufc_mk_keytab_r): Likewise.
12691         (_ufc_dofinalperm_r): Likewise.
12692         (encrypt): Likewise.
12693         (__setkey_r): Likewise.
12694         (setkey): Likewise.
12695         * crypt/md5.c (md5_init_ctx): Likewise.
12696         (md5_read_ctx): Likewise.
12697         (md5_finish_ctx): Likewise.
12698         (md5_stream): Likewise.
12699         (md5_buffer): Likewise.
12700         (md5_process_bytes): Likewise.
12701         * crypt/sha256.c (__sha256_init_ctx): Likewise.
12702         (__sha256_finish_ctx): Likewise.
12703         (__sha256_process_bytes): Likewise.
12704         * crypt/sha512.c (__sha512_init_ctx): Likewise.
12705         (__sha512_finish_ctx): Likewise.
12706         (__sha512_process_bytes): Likewise.
12707         * ctype/isctype.c (__isctype): Likewise.
12708         * debug/backtrace.c (__backtrace): Likewise.
12709         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
12710         * debug/fgets_chk.c (__fgets_chk): Likewise.
12711         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
12712         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
12713         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12714         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12715         * debug/memset_chk.c (__memset_chk): Likewise.
12716         * debug/strcat_chk.c (__strcat_chk): Likewise.
12717         * debug/strncat_chk.c (__strncat_chk): Likewise.
12718         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
12719         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
12720         * dirent/dirfd.c (dirfd): Likewise.
12721         * dirent/getdents.c (__getdirentries): Likewise.
12722         * dirent/getdents64.c (getdirentries64): Likewise.
12723         * dirent/rewinddir.c (__rewinddir): Likewise.
12724         * dirent/seekdir.c (seekdir): Likewise.
12725         * dirent/telldir.c (telldir): Likewise.
12726         * elf/sln.c (makesymlinks): Likewise.
12727         (makesymlink): Likewise.
12728         * gmon/gmon.c (__moncontrol): Likewise.
12729         (__monstartup): Likewise.
12730         (write_hist): Likewise.
12731         (write_call_graph): Likewise.
12732         (write_bb_counts): Likewise.
12733         * grp/setgroups.c (setgroups): Likewise.
12734         * inet/inet_lnaof.c (inet_lnaof): Likewise.
12735         * inet/inet_net.c (inet_network): Likewise.
12736         * inet/inet_netof.c (inet_netof): Likewise.
12737         * inet/rcmd.c (rresvport_af): Likewise.
12738         (rresvport): Likewise.
12739         * io/access.c (__access): Likewise.
12740         * io/chdir.c (__chdir): Likewise.
12741         * io/chmod.c (__chmod): Likewise.
12742         * io/chown.c (__chown): Likewise.
12743         * io/close.c (__close): Likewise.
12744         * io/creat.c (creat): Likewise.
12745         * io/creat64.c (creat64): Likewise.
12746         * io/dup.c (__dup): Likewise.
12747         * io/dup2.c (__dup2): Likewise.
12748         * io/dup3.c (__dup3): Likewise.
12749         * io/euidaccess.c (__euidaccess): Likewise.
12750         * io/faccessat.c (faccessat): Likewise.
12751         * io/fchmod.c (__fchmod): Likewise.
12752         * io/fchmodat.c (fchmodat): Likewise.
12753         * io/fchown.c (__fchown): Likewise.
12754         * io/fchownat.c (fchownat): Likewise.
12755         * io/fcntl.c (__fcntl): Likewise.
12756         * io/flock.c (__flock): Likewise.
12757         * io/fts.c (fts_load): Likewise.
12758         (fts_close): Likewise.
12759         (fts_read): Likewise.
12760         (fts_set): Likewise.
12761         (fts_children): Likewise.
12762         (fts_build): Likewise.
12763         (fts_stat): Likewise.
12764         (fts_sort): Likewise.
12765         (fts_alloc): Likewise.
12766         (fts_lfree): Likewise.
12767         (fts_palloc): Likewise.
12768         (fts_padjust): Likewise.
12769         (fts_maxarglen): Likewise.
12770         (fts_safe_changedir): Likewise.
12771         * io/getwd.c (getwd): Likewise.
12772         * io/isatty.c (__isatty): Likewise.
12773         * io/lchown.c (__lchown): Likewise.
12774         * io/link.c (__link): Likewise.
12775         * io/linkat.c (linkat): Likewise.
12776         * io/lseek.c (__libc_lseek): Likewise.
12777         * io/mkdir.c (__mkdir): Likewise.
12778         * io/mkdirat.c (mkdirat): Likewise.
12779         * io/mkfifo.c (mkfifo): Likewise.
12780         * io/mkfifoat.c (mkfifoat): Likewise.
12781         * io/open.c (__libc_open): Likewise.
12782         * io/open64.c (__libc_open64): Likewise.
12783         * io/readlink.c (__readlink): Likewise.
12784         * io/readlinkat.c (readlinkat): Likewise.
12785         * io/rmdir.c (__rmdir): Likewise.
12786         * io/symlink.c (__symlink): Likewise.
12787         * io/symlinkat.c (symlinkat): Likewise.
12788         * io/ttyname.c (ttyname): Likewise.
12789         * io/ttyname_r.c (__ttyname_r): Likewise.
12790         * io/umask.c (__umask): Likewise.
12791         * io/unlink.c (__unlink): Likewise.
12792         * io/unlinkat.c (unlinkat): Likewise.
12793         * io/utime.c (utime): Likewise.
12794         * libio/clearerr.c (clearerr): Likewise.
12795         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12796         * libio/feof.c (_IO_feof): Likewise.
12797         * libio/feof_u.c (feof_unlocked): Likewise.
12798         * libio/ferror.c (_IO_ferror): Likewise.
12799         * libio/ferror_u.c (ferror_unlocked): Likewise.
12800         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12801         * libio/fileno.c (__fileno): Likewise.
12802         * libio/fputc.c (fputc): Likewise.
12803         * libio/fputc_u.c (fputc_unlocked): Likewise.
12804         * libio/fputwc.c (fputwc): Likewise.
12805         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12806         * libio/freopen.c (freopen): Likewise.
12807         * libio/freopen64.c (freopen64): Likewise.
12808         * libio/fseek.c (fseek): Likewise.
12809         * libio/fseeko.c (fseeko): Likewise.
12810         * libio/fseeko64.c (fseeko64): Likewise.
12811         * libio/ftello.c (__ftello): Likewise.
12812         * libio/ftello64.c (ftello64): Likewise.
12813         * libio/fwide.c (fwide): Likewise.
12814         * libio/genops.c (_IO_un_link): Likewise.
12815         (_IO_link_in): Likewise.
12816         (_IO_least_marker): Likewise.
12817         (_IO_switch_to_main_get_area): Likewise.
12818         (_IO_switch_to_backup_area): Likewise.
12819         (_IO_switch_to_get_mode): Likewise.
12820         (_IO_free_backup_area): Likewise.
12821         (_IO_switch_to_put_mode): Likewise.
12822         (__overflow): Likewise.
12823         (__underflow): Likewise.
12824         (__uflow): Likewise.
12825         (_IO_setb): Likewise.
12826         (_IO_doallocbuf): Likewise.
12827         (_IO_default_underflow): Likewise.
12828         (_IO_default_uflow): Likewise.
12829         (_IO_default_xsputn): Likewise.
12830         (_IO_sgetn): Likewise.
12831         (_IO_default_xsgetn): Likewise.
12832         (_IO_sync): Likewise.
12833         (_IO_default_setbuf): Likewise.
12834         (_IO_default_seekpos): Likewise.
12835         (_IO_default_doallocate): Likewise.
12836         (_IO_init): Likewise.
12837         (_IO_old_init): Likewise.
12838         (_IO_default_sync): Likewise.
12839         (_IO_default_finish): Likewise.
12840         (_IO_default_seekoff): Likewise.
12841         (_IO_sputbackc): Likewise.
12842         (_IO_sungetc): Likewise.
12843         (_IO_set_column): Likewise.
12844         (_IO_set_column): Likewise.
12845         (_IO_adjust_column): Likewise.
12846         (_IO_get_column): Likewise.
12847         (_IO_init_marker): Likewise.
12848         (_IO_remove_marker): Likewise.
12849         (_IO_marker_difference): Likewise.
12850         (_IO_marker_delta): Likewise.
12851         (_IO_seekmark): Likewise.
12852         (_IO_unsave_markers): Likewise.
12853         (_IO_nobackup_pbackfail): Likewise.
12854         (_IO_default_pbackfail): Likewise.
12855         (_IO_default_seek): Likewise.
12856         (_IO_default_stat): Likewise.
12857         (_IO_default_read): Likewise.
12858         (_IO_default_write): Likewise.
12859         (_IO_default_showmanyc): Likewise.
12860         (_IO_default_imbue): Likewise.
12861         (_IO_iter_next): Likewise.
12862         (_IO_iter_file): Likewise.
12863         * libio/getc.c (_IO_getc): Likewise.
12864         * libio/getwc.c (_IO_getwc): Likewise.
12865         * libio/iofclose.c (_IO_new_fclose): Likewise.
12866         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12867         * libio/iofflush.c (_IO_fflush): Likewise.
12868         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12869         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12870         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12871         * libio/iofgets.c (_IO_fgets): Likewise.
12872         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12873         * libio/iofgetws.c (fgetws): Likewise.
12874         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12875         * libio/iofopen64.c (_IO_fopen64): Likewise.
12876         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12877         (_IO_cookie_write): Likewise.
12878         (_IO_cookie_seek): Likewise.
12879         (_IO_cookie_close): Likewise.
12880         (_IO_cookie_seekoff): Likewise.
12881         (_IO_old_cookie_seek): Likewise.
12882         * libio/iofputs.c (_IO_fputs): Likewise.
12883         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12884         * libio/iofputws.c (fputws): Likewise.
12885         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12886         * libio/iofread.c (_IO_fread): Likewise.
12887         * libio/iofread_u.c (__fread_unlocked): Likewise.
12888         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12889         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12890         * libio/ioftell.c (_IO_ftell): Likewise.
12891         * libio/iofwrite.c (_IO_fwrite): Likewise.
12892         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12893         * libio/iogets.c (_IO_gets): Likewise.
12894         * libio/iopadn.c (_IO_padn): Likewise.
12895         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12896         (_IO_new_popen): Likewise.
12897         (_IO_new_proc_close): Likewise.
12898         * libio/ioputs.c (_IO_puts): Likewise.
12899         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12900         (_IO_seekoff): Likewise.
12901         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12902         (_IO_seekpos): Likewise.
12903         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12904         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12905         * libio/ioungetc.c (_IO_ungetc): Likewise.
12906         * libio/ioungetwc.c (ungetwc): Likewise.
12907         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12908         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12909         * libio/iowpadn.c (_IO_wpadn): Likewise.
12910         * libio/libc_fatal.c (__libc_fatal): Likewise.
12911         * libio/memstream.c (__open_memstream): Likewise.
12912         (_IO_mem_sync): Likewise.
12913         (_IO_mem_finish): Likewise.
12914         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12915         (_IO_old_file_close_it): Likewise.
12916         (_IO_old_file_finish): Likewise.
12917         (_IO_old_file_fopen): Likewise.
12918         (_IO_old_file_attach): Likewise.
12919         (_IO_old_file_setbuf): Likewise.
12920         (_IO_old_do_write): Likewise.
12921         (old_do_write): Likewise.
12922         (_IO_old_file_underflow): Likewise.
12923         (_IO_old_file_overflow): Likewise.
12924         (_IO_old_file_sync): Likewise.
12925         (_IO_old_file_seekoff): Likewise.
12926         (_IO_old_file_write): Likewise.
12927         (_IO_old_file_xsputn): Likewise.
12928         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12929         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12930         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12931         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12932         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12933         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12934         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12935         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12936         (_IO_old_popen): Likewise.
12937         (_IO_old_proc_close): Likewise.
12938         * libio/oldpclose.c (__old_pclose): Likewise.
12939         * libio/pclose.c (__new_pclose): Likewise.
12940         * libio/peekc.c (_IO_peekc_locked): Likewise.
12941         * libio/putc.c (_IO_putc): Likewise.
12942         * libio/putc_u.c (putc_unlocked): Likewise.
12943         * libio/putchar.c (putchar): Likewise.
12944         * libio/putchar_u.c (putchar_unlocked): Likewise.
12945         * libio/putwc.c (putwc): Likewise.
12946         * libio/putwc_u.c (putwc_unlocked): Likewise.
12947         * libio/putwchar.c (putwchar): Likewise.
12948         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12949         * libio/rewind.c (rewind): Likewise.
12950         * libio/setbuf.c (setbuf): Likewise.
12951         * libio/setlinebuf.c (setlinebuf): Likewise.
12952         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12953         * libio/vscanf.c (_IO_vscanf): Likewise.
12954         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12955         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12956         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12957         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12958         (_IO_switch_to_main_wget_area): Likewise.
12959         (_IO_switch_to_wbackup_area): Likewise.
12960         (_IO_wsetb): Likewise.
12961         (_IO_wdefault_pbackfail): Likewise.
12962         (_IO_wdefault_finish): Likewise.
12963         (_IO_wdefault_uflow): Likewise.
12964         (__woverflow): Likewise.
12965         (__wuflow): Likewise.
12966         (__wunderflow): Likewise.
12967         (_IO_wdefault_xsputn): Likewise.
12968         (_IO_wdefault_xsgetn): Likewise.
12969         (_IO_wdoallocbuf): Likewise.
12970         (_IO_wdefault_doallocate): Likewise.
12971         (_IO_switch_to_wget_mode): Likewise.
12972         (_IO_free_wbackup_area): Likewise.
12973         (_IO_switch_to_wput_mode): Likewise.
12974         (_IO_sputbackwc): Likewise.
12975         (_IO_sungetwc): Likewise.
12976         (_IO_adjust_wcolumn): Likewise.
12977         (_IO_init_wmarker): Likewise.
12978         (_IO_wmarker_delta): Likewise.
12979         (_IO_seekwmark): Likewise.
12980         (_IO_unsave_wmarkers): Likewise.
12981         * libio/wmemstream.c (open_wmemstream): Likewise.
12982         (_IO_wmem_sync): Likewise.
12983         (_IO_wmem_finish): Likewise.
12984         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12985         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12986         * locale/programs/simple-hash.c (init_hash): Likewise.
12987         (delete_hash): Likewise.
12988         (insert_entry): Likewise.
12989         (set_entry): Likewise.
12990         (next_prime): Likewise.
12991         (is_prime): Likewise.
12992         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12993         (xmalloc): Likewise.
12994         (xrealloc): Likewise.
12995         * locale/programs/xstrdup.c (xstrdup): Likewise.
12996         * localedata/collate-test.c (xstrcoll): Likewise.
12997         * localedata/xfrm-test.c (xstrcmp): Likewise.
12998         * login/getlogin_r.c (__getlogin_r): Likewise.
12999         * login/getpt.c (__posix_openpt): Likewise.
13000         * login/login_tty.c (login_tty): Likewise.
13001         * login/setlogin.c (setlogin): Likewise.
13002         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13003         (mach_msg_destroy_port): Likewise.
13004         (mach_msg_destroy_memory): Likewise.
13005         * malloc/mcheck.c (flood): Likewise.
13006         * misc/acct.c (acct): Likewise.
13007         * misc/brk.c (__brk): Likewise.
13008         * misc/chflags.c (chflags): Likewise.
13009         * misc/chroot.c (chroot): Likewise.
13010         * misc/fchflags.c (fchflags): Likewise.
13011         * misc/fstab.c (getfsspec): Likewise.
13012         (getfsfile): Likewise.
13013         * misc/fsync.c (fsync): Likewise.
13014         * misc/ftruncate.c (__ftruncate): Likewise.
13015         * misc/ftruncate64.c (__ftruncate64): Likewise.
13016         * misc/getdomain.c (getdomainname): Likewise.
13017         (getdomainname): Likewise.
13018         * misc/gethostname.c (__gethostname): Likewise.
13019         * misc/getpass.c (getpass): Likewise.
13020         * misc/getttyent.c (skip): Likewise.
13021         (value): Likewise.
13022         * misc/gtty.c (gtty): Likewise.
13023         * misc/hsearch.c (hsearch): Likewise.
13024         (hcreate): Likewise.
13025         * misc/hsearch_r.c (__hcreate_r): Likewise.
13026         (__hdestroy_r): Likewise.
13027         * misc/ioctl.c (__ioctl): Likewise.
13028         * misc/mkdtemp.c (mkdtemp): Likewise.
13029         * misc/mkostemp.c (mkostemp): Likewise.
13030         * misc/mkostemp64.c (mkostemp64): Likewise.
13031         * misc/mkostemps.c (mkostemps): Likewise.
13032         * misc/mkostemps64.c (mkostemps64): Likewise.
13033         * misc/mkstemp.c (mkstemp): Likewise.
13034         * misc/mkstemp64.c (mkstemp64): Likewise.
13035         * misc/mkstemps.c (mkstemps): Likewise.
13036         * misc/mkstemps64.c (mkstemps64): Likewise.
13037         * misc/mktemp.c (__mktemp): Likewise.
13038         * misc/preadv.c (preadv): Likewise.
13039         * misc/preadv64.c (preadv64): Likewise.
13040         * misc/pwritev.c (pwritev): Likewise.
13041         * misc/pwritev64.c (pwritev64): Likewise.
13042         * misc/readv.c (__readv): Likewise.
13043         * misc/revoke.c (revoke): Likewise.
13044         * misc/setdomain.c (setdomainname): Likewise.
13045         * misc/setegid.c (setegid): Likewise.
13046         * misc/seteuid.c (seteuid): Likewise.
13047         * misc/sethostid.c (sethostid): Likewise.
13048         * misc/sethostname.c (sethostname): Likewise.
13049         * misc/setregid.c (__setregid): Likewise.
13050         * misc/setreuid.c (__setreuid): Likewise.
13051         * misc/sstk.c (sstk): Likewise.
13052         * misc/stty.c (stty): Likewise.
13053         * misc/syscall.c (syscall): Likewise.
13054         * misc/syslog.c (setlogmask): Likewise.
13055         * misc/truncate.c (__truncate): Likewise.
13056         * misc/truncate64.c (truncate64): Likewise.
13057         * misc/ualarm.c (ualarm): Likewise.
13058         * misc/usleep.c (usleep): Likewise.
13059         * misc/ustat.c (ustat): Likewise.
13060         * misc/writev.c (__writev): Likewise.
13061         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13062         * nptl/old_pthread_cond_broadcast.c
13063         (__pthread_cond_broadcast_2_0): Likewise.
13064         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13065         Likewise.
13066         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13067         Likewise.
13068         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13069         Likewise.
13070         * nptl/pt-raise.c (raise): Likewise.
13071         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13072         Likewise.
13073         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13074         * nptl/pthread_barrierattr_destroy.c
13075         (pthread_barrierattr_destroy): Likewise.
13076         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13077         Likewise.
13078         * nptl/pthread_barrierattr_setpshared.c
13079         (pthread_barrierattr_setpshared): Likewise.
13080         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13081         Likewise.
13082         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13083         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13084         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13085         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13086         Likewise.
13087         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13088         Likewise.
13089         * nptl/pthread_condattr_getpshared.c
13090         (pthread_condattr_getpshared): Likewise.
13091         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13092         Likewise.
13093         * nptl/pthread_condattr_setpshared.c
13094         (pthread_condattr_setpshared): Likewise.
13095         * nptl/pthread_detach.c (pthread_detach): Likewise.
13096         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13097         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13098         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13099         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13100         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13101         Likewise.
13102         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13103         Likewise.
13104         * nptl/pthread_mutex_getprioceiling.c
13105         (pthread_mutex_getprioceiling): Likewise.
13106         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13107         Likewise.
13108         * nptl/pthread_mutexattr_getprotocol.c
13109         (pthread_mutexattr_getprotocol): Likewise.
13110         * nptl/pthread_mutexattr_getpshared.c
13111         (pthread_mutexattr_getpshared): Likewise.
13112         * nptl/pthread_mutexattr_getrobust.c
13113         (pthread_mutexattr_getrobust): Likewise.
13114         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13115         Likewise.
13116         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13117         Likewise.
13118         * nptl/pthread_mutexattr_setprioceiling.c
13119         (pthread_mutexattr_setprioceiling): Likewise.
13120         * nptl/pthread_mutexattr_setprotocol.c
13121         (pthread_mutexattr_setprotocol): Likewise.
13122         * nptl/pthread_mutexattr_setpshared.c
13123         (pthread_mutexattr_setpshared): Likewise.
13124         * nptl/pthread_mutexattr_setrobust.c
13125         (pthread_mutexattr_setrobust): Likewise.
13126         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13127         Likewise.
13128         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13129         Likewise.
13130         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13131         Likewise.
13132         * nptl/pthread_rwlockattr_getkind_np.c
13133         (pthread_rwlockattr_getkind_np): Likewise.
13134         * nptl/pthread_rwlockattr_getpshared.c
13135         (pthread_rwlockattr_getpshared): Likewise.
13136         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13137         Likewise.
13138         * nptl/pthread_rwlockattr_setkind_np.c
13139         (pthread_rwlockattr_setkind_np): Likewise.
13140         * nptl/pthread_rwlockattr_setpshared.c
13141         (pthread_rwlockattr_setpshared): Likewise.
13142         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13143         Likewise.
13144         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13145         Likewise.
13146         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13147         Likewise.
13148         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13149         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13150         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13151         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13152         * nptl/sem_close.c (sem_close): Likewise.
13153         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13154         * nptl/sem_init.c (__old_sem_init): Likewise.
13155         * nptl/sigaction.c (__sigaction): Likewise.
13156         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13157         * posix/_exit.c (_exit): Likewise.
13158         * posix/alarm.c (alarm): Likewise.
13159         * posix/confstr.c (confstr): Likewise.
13160         * posix/fpathconf.c (__fpathconf): Likewise.
13161         * posix/getgroups.c (__getgroups): Likewise.
13162         * posix/getpgid.c (__getpgid): Likewise.
13163         * posix/group_member.c (__group_member): Likewise.
13164         * posix/pathconf.c (__pathconf): Likewise.
13165         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13166         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13167         * posix/setgid.c (__setgid): Likewise.
13168         * posix/setpgid.c (__setpgid): Likewise.
13169         * posix/setuid.c (__setuid): Likewise.
13170         * posix/sleep.c (__sleep): Likewise.
13171         * posix/sysconf.c (__sysconf): Likewise.
13172         * posix/times.c (__times): Likewise.
13173         * posix/uname.c (__uname): Likewise.
13174         * posix/waitid.c (__waitid): Likewise.
13175         * pwd/getpw.c (__getpw): Likewise.
13176         * resolv/base64.c (b64_pton): Likewise.
13177         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13178         * resolv/gethnamaddr.c (Dprintf): Likewise.
13179         (gethostbyname): Likewise.
13180         (gethostbyname2): Likewise.
13181         (gethostbyaddr): Likewise.
13182         (_sethtent): Likewise.
13183         (_gethtbyname): Likewise.
13184         (_gethtbyname2): Likewise.
13185         (_gethtbyaddr): Likewise.
13186         (map_v4v6_address): Likewise.
13187         (map_v4v6_hostent): Likewise.
13188         (addrsort): Likewise.
13189         (ht_sethostent): Likewise.
13190         (ht_gethostbyname): Likewise.
13191         (ht_gethostbyaddr): Likewise.
13192         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13193         (inet_net_ntop_ipv4): Likewise.
13194         * resolv/inet_neta.c (inet_neta): Likewise.
13195         * resolv/inet_ntop.c (inet_ntop): Likewise.
13196         (inet_ntop4): Likewise.
13197         (inet_ntop6): Likewise.
13198         * resolv/inet_pton.c (__inet_pton): Likewise.
13199         (inet_pton4): Likewise.
13200         (inet_pton6): Likewise.
13201         * resolv/res_debug.c (loc_aton): Likewise.
13202         (loc_ntoa): Likewise.
13203         * resource/getpriority.c (__getpriority): Likewise.
13204         * resource/getrusage.c (__getrusage): Likewise.
13205         * resource/nice.c (nice): Likewise.
13206         * resource/setpriority.c (__setpriority): Likewise.
13207         * resource/setrlimit64.c (setrlimit64): Likewise.
13208         * resource/vlimit.c (vlimit): Likewise.
13209         * resource/vtimes.c (vtimes): Likewise.
13210         * rt/aio_error.c (aio_error): Likewise.
13211         * rt/aio_return.c (aio_return): Likewise.
13212         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13213         * signal/kill.c (__kill): Likewise.
13214         * signal/killpg.c (killpg): Likewise.
13215         * signal/raise.c (raise): Likewise.
13216         * signal/sigaction.c (__sigaction): Likewise.
13217         * signal/sigaddset.c (sigaddset): Likewise.
13218         * signal/sigaltstack.c (sigaltstack): Likewise.
13219         * signal/sigandset.c (sigandset): Likewise.
13220         * signal/sigblock.c (__sigblock): Likewise.
13221         * signal/sigdelset.c (sigdelset): Likewise.
13222         * signal/sigempty.c (sigemptyset): Likewise.
13223         * signal/sigfillset.c (sigfillset): Likewise.
13224         * signal/sighold.c (sighold): Likewise.
13225         * signal/sigignore.c (sigignore): Likewise.
13226         * signal/sigintr.c (siginterrupt): Likewise.
13227         * signal/sigisempty.c (sigisemptyset): Likewise.
13228         * signal/sigismem.c (sigismember): Likewise.
13229         * signal/signal.c (signal): Likewise.
13230         * signal/sigorset.c (sigorset): Likewise.
13231         * signal/sigpause.c (__sigpause): Likewise.
13232         * signal/sigpending.c (sigpending): Likewise.
13233         * signal/sigprocmask.c (__sigprocmask): Likewise.
13234         * signal/sigrelse.c (sigrelse): Likewise.
13235         * signal/sigreturn.c (__sigreturn): Likewise.
13236         * signal/sigset.c (sigset): Likewise.
13237         * signal/sigsetmask.c (__sigsetmask): Likewise.
13238         * signal/sigstack.c (sigstack): Likewise.
13239         * signal/sigsuspend.c (__sigsuspend): Likewise.
13240         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13241         * signal/sysv_signal.c (__sysv_signal): Likewise.
13242         * socket/accept.c (accept): Likewise.
13243         * socket/accept4.c (__libc_accept4): Likewise.
13244         * socket/bind.c (__bind): Likewise.
13245         * socket/connect.c (__connect): Likewise.
13246         * socket/getpeername.c (getpeername): Likewise.
13247         * socket/getsockname.c (__getsockname): Likewise.
13248         * socket/getsockopt.c (getsockopt): Likewise.
13249         * socket/listen.c (__listen): Likewise.
13250         * socket/recv.c (__recv): Likewise.
13251         * socket/recvmsg.c (__recvmsg): Likewise.
13252         * socket/send.c (__send): Likewise.
13253         * socket/sendmsg.c (__sendmsg): Likewise.
13254         * socket/shutdown.c (shutdown): Likewise.
13255         * socket/sockatmark.c (sockatmark): Likewise.
13256         * socket/socket.c (__socket): Likewise.
13257         * stdio-common/ctermid.c (ctermid): Likewise.
13258         * stdio-common/cuserid.c (cuserid): Likewise.
13259         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13260         * stdio-common/remove.c (remove): Likewise.
13261         * stdio-common/rename.c (rename): Likewise.
13262         * stdio-common/renameat.c (renameat): Likewise.
13263         * stdio-common/tempname.c (__gen_tempname): Likewise.
13264         * stdio-common/xbug.c (InitBuffer): Likewise.
13265         (AppendToBuffer): Likewise.
13266         (ReadFile): Likewise.
13267         * stdlib/a64l.c (a64l): Likewise.
13268         * stdlib/drand48_r.c (drand48_r): Likewise.
13269         * stdlib/getcontext.c (getcontext): Likewise.
13270         * stdlib/getenv.c (getenv): Likewise.
13271         * stdlib/l64a.c (l64a): Likewise.
13272         * stdlib/llabs.c (llabs): Likewise.
13273         * stdlib/lldiv.c (lldiv): Likewise.
13274         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13275         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13276         * stdlib/putenv.c (putenv): Likewise.
13277         * stdlib/random.c (__srandom): Likewise.
13278         (__initstate): Likewise.
13279         (__setstate): Likewise.
13280         * stdlib/random_r.c (__srandom_r): Likewise.
13281         (__setstate_r): Likewise.
13282         (__random_r): Likewise.
13283         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13284         * stdlib/setcontext.c (setcontext): Likewise.
13285         * stdlib/setenv.c (setenv): Likewise.
13286         (unsetenv): Likewise.
13287         * stdlib/srand48.c (srand48): Likewise.
13288         * stdlib/srand48_r.c (__srand48_r): Likewise.
13289         * stdlib/swapcontext.c (swapcontext): Likewise.
13290         * stdlib/system.c (__libc_system): Likewise.
13291         * stdlib/tst-strtod.c (expand): Likewise.
13292         * stdlib/tst-strtol.c (expand): Likewise.
13293         * stdlib/tst-strtoll.c (expand): Likewise.
13294         * streams/fattach.c (fattach): Likewise.
13295         * streams/fdetach.c (fdetach): Likewise.
13296         * streams/getmsg.c (getmsg): Likewise.
13297         * streams/isastream.c (isastream): Likewise.
13298         * string/ffs.c (__ffs): Likewise.
13299         * string/ffsll.c (ffsll): Likewise.
13300         * string/memcmp.c (memcmp_common_alignment): Likewise.
13301         (memcmp_not_common_alignment): Likewise.
13302         (MEMCMP): Likewise.
13303         * string/memcpy.c (memcpy): Likewise.
13304         * string/memmove.c (MEMMOVE): Likewise.
13305         * string/memset.c (memset): Likewise.
13306         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13307         * string/strchrnul.c (STRCHRNUL): Likewise.
13308         * string/strerror.c (strerror): Likewise.
13309         * string/strndup.c (__strndup): Likewise.
13310         * string/strverscmp.c (__strverscmp): Likewise.
13311         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13312         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13313         (clnttcp_freeres): Likewise.
13314         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13315         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13316         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13317         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13318         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13319         (xdr_callhdr): Likewise.
13320         * sunrpc/rpcinfo.c (udpping): Likewise.
13321         (tcpping): Likewise.
13322         (pstatus): Likewise.
13323         (pmapdump): Likewise.
13324         (brdcst): Likewise.
13325         (deletereg): Likewise.
13326         (getprognum): Likewise.
13327         (getvers): Likewise.
13328         (get_inet_address): Likewise.
13329         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13330         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13331         (svcudp_stat): Likewise.
13332         (svcudp_recv): Likewise.
13333         (svcudp_reply): Likewise.
13334         (svcudp_getargs): Likewise.
13335         (svcudp_freeargs): Likewise.
13336         (svcudp_destroy): Likewise.
13337         * sunrpc/xdr.c (xdr_bytes): Likewise.
13338         (xdr_netobj): Likewise.
13339         (xdr_string): Likewise.
13340         (xdr_wrapstring): Likewise.
13341         * sunrpc/xdr_float.c (xdr_float): Likewise.
13342         (xdr_double): Likewise.
13343         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13344         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13345         * sysvipc/ftok.c (ftok): Likewise.
13346         * sysvipc/msgctl.c (msgctl): Likewise.
13347         * sysvipc/msgget.c (msgget): Likewise.
13348         * sysvipc/msgrcv.c (msgrcv): Likewise.
13349         * sysvipc/msgsnd.c (msgsnd): Likewise.
13350         * sysvipc/semget.c (semget): Likewise.
13351         * sysvipc/semop.c (semop): Likewise.
13352         * sysvipc/shmat.c (shmat): Likewise.
13353         * sysvipc/shmctl.c (shmctl): Likewise.
13354         * sysvipc/shmdt.c (shmdt): Likewise.
13355         * sysvipc/shmget.c (shmget): Likewise.
13356         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13357         * termios/speed.c (cfgetospeed): Likewise.
13358         (cfgetispeed): Likewise.
13359         (cfsetospeed): Likewise.
13360         (cfsetispeed): Likewise.
13361         * termios/tcflow.c (tcflow): Likewise.
13362         * termios/tcflush.c (tcflush): Likewise.
13363         * termios/tcgetattr.c (__tcgetattr): Likewise.
13364         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13365         * termios/tcgetsid.c (tcgetsid): Likewise.
13366         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13367         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13368         * time/adjtime.c (__adjtime): Likewise.
13369         * time/dysize.c (dysize): Likewise.
13370         * time/ftime.c (ftime): Likewise.
13371         * time/getitimer.c (__getitimer): Likewise.
13372         * time/gettimeofday.c (__gettimeofday): Likewise.
13373         * time/gmtime.c (__gmtime_r): Likewise.
13374         (gmtime): Likewise.
13375         * time/localtime.c (__localtime_r): Likewise.
13376         (localtime): Likewise.
13377         * time/offtime.c (__offtime): Likewise.
13378         * time/settimeofday.c (__settimeofday): Likewise.
13379         * time/stime.c (stime): Likewise.
13380         * time/strftime_l.c (tm_diff): Likewise.
13381         (iso_week_days): Likewise.
13382         * time/strptime.c (strptime): Likewise.
13383         * time/time.c (time): Likewise.
13384         * time/timespec_get.c (timespec_get): Likewise.
13385         * time/tzset.c (tzset_internal): Likewise.
13386         (compute_change): Likewise.
13387         (__tz_compute): Likewise.
13388         * wcsmbs/btowc.c (__btowc): Likewise.
13389         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13390         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13391         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13392         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13393         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13394         * wcsmbs/wcscat.c (__wcscat): Likewise.
13395         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13396         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13397         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13398         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13399         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13400         * wcsmbs/wcslen.c (__wcslen): Likewise.
13401         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13402         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13403         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13404         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13405         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13406         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13407         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13408         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13409         * wcsmbs/wcstok.c (wcstok): Likewise.
13410         * wcsmbs/wctob.c (wctob): Likewise.
13411         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13412         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13413         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13414         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13415         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13416         * wcsmbs/wmemset.c (__wmemset): Likewise.
13417         * wctype/wcfuncs.c (__towlower): Likewise.
13418         (__towupper): Likewise.
13420         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13421         (lll_unlock_elision): Add adapt_count parameter.
13423 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13425         * sysdeps/nptl/configure.ac: Do not give errors based on the
13426         results of top-level configure tests.
13427         * sysdeps/nptl/configure: Regenerated.
13429         * configure.ac (libc_cv_Bgroup): Remove configure test.
13430         * configure: Regenerated.
13431         * config.make.in (have-Bgroup): Remove variable.
13433         * configure.ac (sizeof_long_double): Remove configure test.
13434         * configure: Regenerated.
13435         * config.make.in (sizeof-long-double): Remove variable.
13437         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13438         * configure: Regenerated.
13439         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13440         variable.
13441         (exceptions): Likewise.
13442         * sysdeps/arm/configure: Regenerated.
13443         * config.make.in (exceptions): Remove variable.
13444         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13445         $(exceptions).
13446         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13447         (CFLAGS-vdprintf_chk.c): Likewise.
13448         (CFLAGS-printf_chk.c): Likewise.
13449         (CFLAGS-fprintf_chk.c): Likewise.
13450         (CFLAGS-vprintf_chk.c): Likewise.
13451         (CFLAGS-vfprintf_chk.c): Likewise.
13452         (CFLAGS-gets_chk.c): Likewise.
13453         (CFLAGS-fgets_chk.c): Likewise.
13454         (CFLAGS-fgets_u_chk.c): Likewise.
13455         (CFLAGS-fread_chk.c): Likewise.
13456         (CFLAGS-fread_u_chk.c): Likewise.
13457         (CFLAGS-wprintf_chk.c): Likewise.
13458         (CFLAGS-fwprintf_chk.c): Likewise.
13459         (CFLAGS-vwprintf_chk.c): Likewise.
13460         (CFLAGS-vfwprintf_chk.c): Likewise.
13461         (CFLAGS-fgetws_chk.c): Likewise.
13462         (CFLAGS-fgetws_u_chk.c): Likewise.
13463         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13464         (CFLAGS-fputc.c): Likewise.
13465         (CFLAGS-fputwc.c): Likewise.
13466         (CFLAGS-freopen64.c): Likewise.
13467         (CFLAGS-freopen.c): Likewise.
13468         (CFLAGS-fseek.c): Likewise.
13469         (CFLAGS-fseeko64.c): Likewise.
13470         (CFLAGS-fseeko.c): Likewise.
13471         (CFLAGS-ftello64.c): Likewise.
13472         (CFLAGS-ftello.c): Likewise.
13473         (CFLAGS-fwide.c): Likewise.
13474         (CFLAGS-genops.c): Likewise.
13475         (CFLAGS-getc.c): Likewise.
13476         (CFLAGS-getchar.c): Likewise.
13477         (CFLAGS-getwc.c): Likewise.
13478         (CFLAGS-getwchar.c): Likewise.
13479         (CFLAGS-iofclose.c): Likewise.
13480         (CFLAGS-iofflush.c): Likewise.
13481         (CFLAGS-iofgetpos64.c): Likewise.
13482         (CFLAGS-iofgetpos.c): Likewise.
13483         (CFLAGS-iofgets.c): Likewise.
13484         (CFLAGS-iofgetws.c): Likewise.
13485         (CFLAGS-iofputs.c): Likewise.
13486         (CFLAGS-iofputws.c): Likewise.
13487         (CFLAGS-iofread.c): Likewise.
13488         (CFLAGS-iofsetpos64.c): Likewise.
13489         (CFLAGS-iofsetpos.c): Likewise.
13490         (CFLAGS-ioftell.c): Likewise.
13491         (CFLAGS-iofwrite.c): Likewise.
13492         (CFLAGS-iogetdelim.c): Likewise.
13493         (CFLAGS-iogetline.c): Likewise.
13494         (CFLAGS-iogets.c): Likewise.
13495         (CFLAGS-iogetwline.c): Likewise.
13496         (CFLAGS-ioputs.c): Likewise.
13497         (CFLAGS-ioseekoff.c): Likewise.
13498         (CFLAGS-ioseekpos.c): Likewise.
13499         (CFLAGS-iosetbuffer.c): Likewise.
13500         (CFLAGS-iosetvbuf.c): Likewise.
13501         (CFLAGS-ioungetc.c): Likewise.
13502         (CFLAGS-ioungetwc.c): Likewise.
13503         (CFLAGS-oldfileops.c): Likewise.
13504         (CFLAGS-oldiofclose.c): Likewise.
13505         (CFLAGS-oldiofgetpos64.c): Likewise.
13506         (CFLAGS-oldiofgetpos.c): Likewise.
13507         (CFLAGS-oldiofsetpos64.c): Likewise.
13508         (CFLAGS-oldiofsetpos.c): Likewise.
13509         (CFLAGS-peekc.c): Likewise.
13510         (CFLAGS-putc.c): Likewise.
13511         (CFLAGS-putchar.c): Likewise.
13512         (CFLAGS-putwc.c): Likewise.
13513         (CFLAGS-putwchar.c): Likewise.
13514         (CFLAGS-rewind.c): Likewise.
13515         (CFLAGS-wfileops.c): Likewise.
13516         (CFLAGS-wgenops.c): Likewise.
13517         (CFLAGS-oldiofopen.c): Likewise.
13518         (CFLAGS-iofopen.c): Likewise.
13519         (CFLAGS-iofopen64.c): Likewise.
13520         (CFLAGS-oldtmpfile.c): Likewise.
13521         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13522         (CFLAGS-fprintf.c): Likewise.
13523         (CFLAGS-printf.c): Likewise.
13524         (CFLAGS-vfwprintf.c): Likewise.
13525         (CFLAGS-vfscanf.c): Likewise.
13526         (CFLAGS-vfwscanf.c): Likewise.
13527         (CFLAGS-fscanf.c): Likewise.
13528         (CFLAGS-scanf.c): Likewise.
13529         (CFLAGS-isoc99_vfscanf.c): Likewise.
13530         (CFLAGS-isoc99_vscanf.c): Likewise.
13531         (CFLAGS-isoc99_fscanf.c): Likewise.
13532         (CFLAGS-isoc99_scanf.c): Likewise.
13533         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13534         (CFLAGS-isoc99_fwscanf.c): Likewise.
13535         (CFLAGS-isoc99_vwscanf.c): Likewise.
13536         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13538         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13539         after mkstemp64.
13540         * login/tst-utmp.c (do_prepare): Likewise.
13541         * rt/tst-aio.c (do_prepare): Likewise.
13542         * rt/tst-aio64.c (do_prepare): Likewise.
13544 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13546         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13547         (__lll_lock_elision): Remove adapt_count decrement...
13548         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13549         (__lll_trylock_elision): Likewise.
13550         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13551         (__lll_unlock_elision): ... to here. And utilize
13552         new adapt_count parameter.
13553         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13554         (__lll_unlock_elision): Update to include adapt_count
13555         parameter.
13556         (lll_unlock_elision): Pass pointer to adapt_count
13557         variable.
13559 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13561         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13562         Add elision adapt_count parameter to list of arguments.
13563         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13564         (lll_unlock_elision): Update with new parameter list
13565         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13566         (lll_unlock_elision): Likewise.
13567         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13568         (lll_unlock_elision): Likewise.
13570 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13572         [BZ #19122]
13573         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
13574         attribute_hidden.
13576         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
13577         attribute_hidden.
13578         [IS_IN (rtld)] (__strdup): Likewise.
13579         [IS_IN (rtld)] (__strerror_r): Likewise.
13580         [IS_IN (rtld)] (__strsep_g): Likewise.
13581         [IS_IN (rtld)] (memchr): Likewise.
13582         [IS_IN (rtld)] (memcmp): Likewise.
13583         [IS_IN (rtld)] (memcpy): Likewise.
13584         [IS_IN (rtld)] (memmove): Likewise.
13585         [IS_IN (rtld)] (memset): Likewise.
13586         [IS_IN (rtld)] (rawmemchr): Likewise.
13587         [IS_IN (rtld)] (stpcpy): Likewise.
13588         [IS_IN (rtld)] (strchr): Likewise.
13589         [IS_IN (rtld)] (strcmp): Likewise.
13590         [IS_IN (rtld)] (strlen): Likewise.
13591         [IS_IN (rtld)] (strnlen): Likewise.
13592         [IS_IN (rtld)] (strsep): Likewise.
13594         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
13595         attribute_hidden.
13596         [IS_IN (rtld)] (__strtoul_internal): Likewise.
13598         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
13599         attribute_hidden.
13600         [IS_IN (rtld)] (__libc_sigaction): Likewise.
13602         * include/setjmp.h (__longjmp): Add attribute_hidden.
13603         [IS_IN (rtld)] (__sigsetjmp): Likewise.
13605         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
13606         Add attribute_hidden.
13608         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
13609         [IS_IN (rtld)] (__open): Likewise.
13610         [IS_IN (rtld)] (__fcntl): Likewise.
13612         * include/dirent.h (__opendirat): Add attribute_hidden.
13613         (__getdents): Likewise.
13614         (__getdents64): Likewise.
13615         (__alloc_dir): Likewise.
13616         [IS_IN (rtld)] (__closedir): Likewise.
13617         [IS_IN (rtld)] (__fdopendir): Likewise.
13618         [IS_IN (rtld)] (__readdir): Likewise.
13619         [IS_IN (rtld)] (__readdir64): Likewise.
13620         [IS_IN (rtld)] (__rewinddir): Likewise.
13622         * include/dlfcn.h (_dl_catch_error): Moved to ...
13623         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
13624         attribute_hidden.
13626         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
13627         (_itoa_word): Likewise.
13629         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
13630         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
13631         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
13632         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
13633         (_dl_higher_prime_number): Likewise.
13634         (_dl_debug_printf_c): Likewise.
13635         (_dl_signal_cerror): Likewise.
13636         (_dl_receive_error): Likewise.
13637         (_dl_reloc_bad_type): Likewise.
13638         (_dl_resolve_conflicts): Likewise.
13639         (_dl_check_all_versions): Likewise.
13640         (_dl_check_map_versions): Likewise.
13641         (_dl_sort_fini): Likewise.
13642         (_dl_debug_initialize): Likewise.
13643         (_dl_init_paths): Likewise.
13644         (_dl_show_auxv): Likewise.
13645         (_dl_next_ld_env_entry): Likewise.
13646         (_dl_important_hwcaps): Likewise.
13647         (_dl_load_cache_lookup): Likewise.
13648         (_dl_update_slotinfo): Likewise.
13649         (_dl_show_scope): Likewise.
13651         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
13652         attribute_hidden.
13653         (_wordcopy_fwd_dest_aligned): Likewise.
13654         (_wordcopy_bwd_aligned): Likewise.
13655         (_wordcopy_bwd_dest_aligned): Likewise.
13657         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13658         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13659         Likewise.
13660         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
13661         Likewise.
13662         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
13664 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13666         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
13667         GCC 5 requirement.
13669 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13671         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
13672         test.
13673         * sysdeps/i386/configure: Regenerated.
13674         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
13675         code unconditional.
13677         * configure.ac (libc_cv_asm_previous_directive): Remove configure
13678         test.
13679         (libc_cv_asm_popsection_directive): Likewise.
13680         * configure: Regenerated.
13681         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
13682         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
13683         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
13684         (__make_section_unallocated): Make definition unconditional.
13685         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
13686         Remove conditional definition.
13687         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
13688         (__make_section_unallocated): Likewise.
13690         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
13691         * configure: Regenerated.
13692         * config.make.in (static-libgcc): Remove variable.
13693         * Makerules (build-shlib-helper): Use -static-libgcc instead of
13694         $(static-libgcc).
13695         (build-module-helper): Likewise.
13697         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
13698         * configure: Regenerated.
13700 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13702         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
13703         (struct char_buffer): New type.
13704         (char_buffer_start, char_buffer_size, char_buffer_error)
13705         (char_buffer_rewind, char_buffer_add): New functions.
13706         (ADDW): Remove macro, replaced by the char_buffer_add function.
13707         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
13708         of extend_alloca.  Make control flow more explicit.
13710 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13712         [BZ #19137]
13713         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13714         Add -fomit-frame-pointer.
13715         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
13717 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13719         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
13720         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
13721         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
13722         only if !__GNUC_PREREQ (5,0).
13723         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
13724         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
13725         (INTERNAL_SYSCALL_NCS): Likewise.
13726         (LOADREGS_0): New macro for GCC 5.
13727         (ASMARGS_0): Likewise.
13728         (LOADREGS_1): Likewise.
13729         (ASMARGS_1): Likewise.
13730         (LOADREGS_2): Likewise.
13731         (ASMARGS_2): Likewise.
13732         (LOADREGS_3): Likewise.
13733         (ASMARGS_3): Likewise.
13734         (LOADREGS_4): Likewise.
13735         (ASMARGS_4): Likewise.
13736         (LOADREGS_5): Likewise.
13737         (ASMARGS_5): Likewise.
13738         (LOADREGS_6): Likewise.
13739         (ASMARGS_6): Likewise.
13741 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13743         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
13744         -fomit-frame-pointer.
13745         (CFLAGS-mmap64.c): Likewise.
13746         (CFLAGS-semtimedop.c): Likewise.
13747         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
13748         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
13749         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13750         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
13752 2015-10-15  Florian Weimer  <fweimer@redhat.com>
13754         [BZ #18928]
13755         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
13756         _dl_pointer_guard member.
13757         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13758         initializer.
13759         (security_init): Always set up pointer guard.
13760         (process_envvars): Do not process LD_POINTER_GUARD.
13762 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13764         [BZ #19134]
13765         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13766         (.LC2): Likewise.
13767         (.LC3): Likewise.
13768         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13770 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13772         [BZ #19129]
13773         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13774         r0 and r1.
13776 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13778         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13780 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13782         * include/stap-probe.h: Fix macro definition formatting.
13784 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13786         [BZ #19074]
13787         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13788         load and store num_ifs.
13790 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13792         [BZ #18822]
13793         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13794         (__sched_getaffinity_new): Add libc_hidden_proto and
13795         libc_hidden_def.
13797 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13799         [BZ #19007]
13800         * scripts/localplt.awk: Also allow GOT references.
13801         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13802         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13803         with "+ REL R_386_GLOB_DAT".
13804         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13805         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13807 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13809         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13810         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13811         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13812         Likewise.
13813         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13814         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13815         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13816         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13817         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13818         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13819         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13820         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13821         Likewise.
13822         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13824 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13826         [BZ #19125]
13827         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13828         <math_private.h> and <stdint.h>.
13829         (__llround): Avoid conversions to and from long long int, and
13830         subtractions, where those might raise spurious exceptions.
13831         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13832         <math_private.h> and <stdint.h>.
13833         (__llroundf): Avoid conversions to and from long long int, and
13834         subtractions, where those might raise spurious exceptions.
13836 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13838         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13839         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13840         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13841         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13842         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13843         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13844         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13845         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13846         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13847         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13848         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13849         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13850         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13851         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13852         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13853         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13854         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13855         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13856         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13857         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13858         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13859         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13860         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13861         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13862         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13863         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13864         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13865         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13866         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13867         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13868         (__xstat64_conv): Likewise.
13869         (__xstat32_conv): Likewise.
13871 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13873         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13874         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13875         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13876         <sysdeps/unix/sysv/linux/sysdep.h>.
13877         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13878         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13879         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13880         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13881         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13882         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13883         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13884         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13885         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13889         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13890         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13891         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13892         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13893         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13894         (sysdep-dl-routines): Add sysdep.
13895         [$(subdir) == nptl] (libpthread-routines): Likewise.
13896         [$(subdir) == rt] (librt-routines): Likewise.
13897         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13898         PIC when branching to SYSCALL_ERROR_LABEL.
13899         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13900         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13901         <sysdeps/unix/sysv/linux/sysdep.h>.
13902         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13903         (SYSCALL_ERROR_ERRNO): Removed.
13904         (SYSCALL_ERROR_HANDLER): Changed to empty.
13905         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13906         (__syscall_error): New prototype.
13907         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13908         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13910 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13912         [BZ #19124]
13913         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13914         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13915         _dl_runtime_resolve_avx.
13916         (_dl_runtime_profile_avx512): Make it a hidden alias of
13917         _dl_runtime_profile_avx.
13919 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13921         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13922         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13923         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13924         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13926         [BZ #16422]
13927         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13928         New configure test.
13929         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13930         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13931         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13932         <math_private.h> and <stdint.h>.
13933         (__llrint): Avoid conversions to long long int where those might
13934         raise spurious exceptions.
13935         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13936         <math_private.h> and <stdint.h>.
13937         (__llrintf): Avoid conversions to long long int where those might
13938         raise spurious exceptions.
13940 2015-10-12  Andreas Schwab  <schwab@suse.de>
13942         [BZ #18969]
13943         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13944         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13945         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13946         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13947         $(gen-locales).
13948         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13949         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13950         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13951         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13952         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13953         $(gen-locales).
13954         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13955         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13956         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13957         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13958         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13959         ($(objpfx)tst-ftell-active-handler.out)
13960         ($(objpfx)tst-ftell-append.out)
13961         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13962         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13963         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13964         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13965         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13966         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13967         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13968         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13969         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13970         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13971         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13972         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13973         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13974         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13975         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13976         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13977         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13978         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13979         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13980         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13981         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13982         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13983         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13984         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13985         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13986         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13987         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13988         $(gen-locales).
13989         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13990         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13991         $(gen-locales).
13992         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13993         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13994         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13995         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13996         $(gen-locales).
13997         * libio/tst_wprintf2.c (main): Use explicit locale.
13998         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14000 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14002         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14003         __msg_sig_post.
14004         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14006 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14008         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14009         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14011         * sysdeps/arm/libm-test-ulps: Regenerated.
14013         [BZ #15470]
14014         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14016         [BZ #16399]
14017         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14018         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14019         and <fix-fp-int-convert-overflow.h>.
14020         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14021         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14022         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14023         and <fix-fp-int-convert-overflow.h>.
14024         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14025         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14026         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14027         <fix-fp-int-convert-overflow.h>.
14028         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14029         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14030         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14031         <fix-fp-int-convert-overflow.h>.
14032         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14033         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14034         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14035         and <fix-fp-int-convert-overflow.h>.
14036         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14037         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14038         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14039         <limits.h> and <fix-fp-int-convert-overflow.h>.
14040         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14041         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14042         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14043         and <fix-fp-int-convert-overflow.h>.
14044         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14045         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14046         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14047         and <fix-fp-int-convert-overflow.h>.
14048         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14049         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14050         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14052 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14054         [BZ #18589]
14055         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14056         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14057         $(gen-locales).
14059 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14060             Phil Blundell <pb@pbcl.net>
14062         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14063         * nptl/tst-cancel26.c: New file.
14064         * nptl/tst-cancel27.c: Likewise.
14066 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14068         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14069         __ILP32__ isn't defined.
14070         (lrint): Likewise.
14071         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14072         (lrintf): Likewise.
14073         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14074         (lrintl): Likewise.
14075         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14076         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14077         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14079 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14081         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14082         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14084         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14085         file.
14086         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14087         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14089 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14091         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14092         configure test.
14093         * sysdeps/i386/configure: Regenerated.
14094         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14095         configure test.
14096         * sysdeps/x86_64/configure: Regenerated.
14097         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14098         Make code unconditional.
14100         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14101         test.
14102         * sysdeps/i386/configure: Regenerated.
14103         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14104         test.
14105         * sysdeps/x86_64/configure: Regenerated.
14106         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14107         Make code unconditional.
14108         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14109         Likewise.
14110         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14111         Likewise.
14112         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14113         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14114         code unconditional.
14115         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14116         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14117         code unconditional.
14118         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14119         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14120         code unconditional.
14121         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14122         code unconditional.
14123         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14124         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14125         code unconditional.
14126         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14127         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14128         code unconditional.
14129         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14130         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14131         code unconditional.
14132         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14133         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14134         code unconditional.
14135         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14136         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14138         [BZ #19095]
14139         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14140         mantissa to long int before shifting left.
14142 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14144         [BZ #19094]
14145         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14146         <limits.h>.
14147         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14148         when result overflows but exception would not result from cast.
14149         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14150         <limits.h>.
14151         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14152         when result overflows but exception would not result from cast.
14153         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14154         <limits.h>.
14155         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14156         when result overflows but exception would not result from cast.
14157         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14158         <limits.h>.
14159         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14160         when result overflows but exception would not result from cast.
14161         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14162         <limits.h>.
14163         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14164         when result overflows but exception would not result from cast.
14165         * math/libm-test.inc (lrint_test_data): Add more tests.
14166         (llrint_test_data): Likewise.
14168 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14170         [BZ #18872]
14171         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14172         Move out from under [$(run-built-tests) = yes] conditional.
14173         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14174         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14176 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14178         [BZ #18589]
14179         * string/Makefile (tests): Add bug-strcoll2.
14180         (LOCALES): Add cs_CZ.UTF-8.
14181         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14183         [BZ #18589]
14184         * string/bug-strcoll2.c: New file.
14185         * locale/categories.def: Revert commit
14186         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14187         * locale/langinfo.h: Likewise.
14188         * locale/localeinfo.h: Likewise.
14189         * locale/C-collate.c: Likewise.
14190         * locale/programs/ld-collate.c (collate_output): Likewise.
14191         * string/strcoll_l.c (STRDIFF): Likewise.
14192         (STRCOLL): Likewise.
14193         * wcsmbs/wcscoll_l.c: Likewise.
14195 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14197         * math/libm-test.inc (lround_test_data): Do not expect the absence
14198         of "inexact" for some tests with non-integer arguments.
14199         (llround_test_data): Likewise.
14201         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14202         test.
14203         (libc_cv_cc_sse2avx): Likewise.
14204         * sysdeps/i386/configure: Regenerated.
14205         * sysdeps/i386/i686/multiarch/Makefile
14206         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14207         [$(subdir) = math].
14208         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14209         code unconditional.
14210         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14211         Likewise.
14212         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14213         Likewise.
14214         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14215         Likewise.
14216         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14217         test.
14218         (libc_cv_cc_sse2avx): Likewise.
14219         * sysdeps/x86_64/configure: Regenerated.
14220         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14221         unconditional.
14222         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14223         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14224         unconditional.
14225         (_dl_runtime_profile)
14226         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14227         conditional code.
14228         * sysdeps/x86_64/fpu/multiarch/Makefile
14229         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14230         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14231         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14232         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14233         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14234         * sysdeps/x86_64/fpu/multiarch/e_log.c
14235         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14236         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14237         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14238         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14239         Likewise.
14240         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14241         Likewise.
14242         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14243         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14244         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14245         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14246         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14247         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14248         (HAVE_SSE2AVX_SUPPORT): Likewise.
14250 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14252         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14253         instead of #pragma optimize.
14255 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14257         [BZ #17195]
14258         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14259         as is similarly done in systrim and _int_free already.
14261 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14263         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14265 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14267         [BZ #19088]
14268         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14269         <limits.h>.
14270         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14271         overflows but exception would not result from cast.
14272         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14273         and <limits.h>.
14274         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14275         overflows but exception would not result from cast.
14276         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14277         <limits.h>.
14278         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14279         overflows but exception would not result from cast.
14280         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14281         <limits.h>.
14282         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14283         overflows but exception would not result from cast.
14284         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14285         <limits.h>.
14286         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14287         overflows but exception would not result from cast.
14288         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14289         <limits.h>.
14290         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14291         overflows but exception would not result from cast.
14292         * math/libm-test.inc (lround_test_data): Add more tests.
14293         (llround_test_data): Likewise.
14295 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14297         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14298         (CFLAGS-ialloc.c): Ditto.
14299         (CFLAGS-scheck.c): Ditto.
14301 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14303         [BZ #19086]
14304         * manual/filesys.texi (Storage Allocation): Fix argument order for
14305         posix_fallocate64.
14307 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14309         [BZ #19085]
14310         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14311         exponent below 48 inside case for non-overflowing exponent.
14312         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14314 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14316         * iconvdata/cp737.h (from_idx): Add const.
14317         * iconvdata/cp775.h (from_idx): Likewise.
14319 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14321         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14322         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14323         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14325         [BZ #19079]
14326         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14327         file, conditioned on [!_LP64].
14328         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14329         [!_LP64] (__lround): Do not define as function or alias.
14330         [!_LP64] (lround): Likewise.
14331         [!_LP64] (__lroundl): Likewise.
14332         [!_LP64] (lroundl): Likewise.
14333         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14334         macro.
14335         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14336         Likewise.
14338 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14340         * math/libm-test.inc (lrint_test_data): Add more tests.
14341         (llrint_test_data): Likewise.
14342         (lround_test_data): Likewise.
14343         (llround_test_data): Likewise.
14345         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14346         (llrint_test_data): Add tests used for lrint.
14348         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14349         test.
14350         * sysdeps/i386/configure: Regenerated.
14351         * sysdeps/i386/i686/multiarch/Makefile
14352         [$(config-cflags-sse4) = yes]: Make code unconditional.
14353         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14354         Likewise.
14355         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14356         Likewise.
14357         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14358         test.
14359         * sysdeps/x86_64/configure: Regenerated.
14360         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14361         Make code unconditional.
14362         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14363         Likewise.
14364         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14365         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14367         * scripts/rpm2dynsym.sh: Remove file.
14369 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14371         * configure.ac (libc_cv_cxx_thread_local): Define.
14372         * configure: Regenerate.
14373         * config.make.in (have-cxx-thread_local): Define.
14374         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14375         (LDLIBS-tst-thread_local1): Define.
14376         (tests): Add tst-thread_local1.
14377         [have-cxx-thread_local != yes] (tests-unsupported): Add
14378         tst-thread_local1.
14379         * nptl/tst-thread_local1.cc: New file.
14381 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14383         [BZ #19078]
14384         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14385         (u_thres): Likewise.
14386         (__expl): Determine whether to call __kernel_standard_l based on
14387         value of result, not argument.
14389         * math/libm-test.inc (scalb_test_data): Add more expectations for
14390         the "inexact" exception.
14392         [BZ #19077]
14393         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14394         0.0L for argument 1.0L.
14396         [BZ #19076]
14397         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14398         constant 0.0L when computing infinite result.
14400 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14402         [BZ #10432]
14403         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14404         malloc_usable_size.
14406 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14408         [BZ #19018]
14409         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14410         Mangle function pointer before storing it.
14411         (__call_tls_dtors): Demangle function pointer before calling it.
14413 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14415         [BZ #19012]
14416         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14417         Clean up on failure.
14419 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14421         [BZ #19071]
14422         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14423         long int variable to store possibly incremented high part of
14424         mantissa.
14425         * math/libm-test.inc (lround_test_data): Add tests used for
14426         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14427         for tests requiring 64-bit long.  Do not condition tests on
14428         [TEST_FLOAT] unnecessarily.
14429         (llround_test_data): Add tests used for lround.  Add another
14430         expectation for the "inexact" exception.  Do not condition tests
14431         on [TEST_FLOAT] unnecessarily.
14433         [BZ #887]
14434         [BZ #19049]
14435         [BZ #19050]
14436         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14437         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14438         <fix-int-fp-convert-zero.h>.
14439         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14440         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14441         <fix-int-fp-convert-zero.h>.
14442         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14443         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14444         <fix-int-fp-convert-zero.h>.
14445         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14446         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14447         <fix-int-fp-convert-zero.h>.
14448         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14449         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14450         <fix-int-fp-convert-zero.h>.
14451         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14452         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14453         <fix-int-fp-convert-zero.h>.
14454         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14455         * sysdeps/ieee754/flt-32/s_erff.c: Include
14456         <fix-int-fp-convert-zero.h>.
14457         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14458         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14459         <fix-int-fp-convert-zero.h>.
14460         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14461         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14462         <fix-int-fp-convert-zero.h>.
14463         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14464         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14465         <fix-int-fp-convert-zero.h>.
14466         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14467         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14468         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14469         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14470         file.
14471         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14473 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14475         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14477 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14479         [BZ #19059]
14480         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14481         overflowing computation.
14482         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14483         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14484         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14485         Likewise.
14486         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14487         Likewise.
14488         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14489         Likewise.
14490         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14491         Likewise.
14492         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14493         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14494         Likewise.
14495         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14496         Likewise.
14497         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14499         * nss/rewrite_field.c (__nss_rewrite_field): Use
14500         internal_function.
14501         * nss/valid_field.c (__nss_valid_field): Likewise.
14502         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14504 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14506         [BZ #18724]
14507         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14508         (__nss_invalid_field_characters, __nss_valid_field)
14509         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14510         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14511         tst-field.c: New file.
14512         * nss/Makefile (routines): Add valid_field, rewrite_field.
14513         (tests-static): Define unconditionally.
14514         (tests): Include tests-static.
14515         [build-static-nss] (tests-static): Use append.
14516         [build-static-nss] (tests): Remove modification.
14517         * nss/getent.c (print_group): Call putgrent.  Report error.
14518         (print_gshadow): Call putsgent.  Report error.
14519         (print_passwd): Call putpwent.  Report error.
14520         (print_shadow): Call putspent.  Report error.
14521         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14522         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14523         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14524         name, password, directory, shell fields for valid syntax.  Rewrite
14525         GECOS field to match syntax.
14526         * pwd/Makefile (tests): Add tst-putpwent.
14527         * pwd/tst-putpwent.c: New file.
14528         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14529         Check grName, grpasswd, gr_mem fields for valid syntax.
14530         Change loop variable i to size_t.
14531         * grp/Makefile (tests): Add tst-putgrent.
14532         * grp/tst-putgrent.c: New file.
14533         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14534         valid syntax.
14535         * shadow/Makefile (tests): Add tst-putspent.
14536         * shadow/tst-putspent.c: New file.
14537         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14538         sg_mem fields for valid syntax.
14539         * gshadow/Makefile (tests): Add tst-putsgent.
14540         * gshadow/tst-putsgent.c: New file.
14542 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14544         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14545         assembly instructions.
14547 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14549         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14550         prefix from operands.
14552 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14554         [BZ #16347]
14555         [BZ #19046]
14556         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14557         <libc-internal.h>.
14558         (MAXLGM): Do not use diagnostic control macros.
14559         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14560         threshold for ldbl-128ibm.
14561         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14562         instead of multiplying by log then subtracting.
14563         * math/auto-libm-test-in: Add more tests of lgamma.
14564         * math/auto-libm-test-out: Regenerated.
14566         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14567         (TYPE_HEX_DIG): Likewise.
14568         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14569         precisions when printing floating-point numbers.
14570         (check_float_internal): Likewise.
14572 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14574         [BZ #16620]
14575         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
14576         of log (10) rounded downward to 48 bits.
14577         (log10_low): Use corresponding low part of log (10).
14579         [BZ #19032]
14580         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
14581         compute result as (x - x) / (x - x) not as 0 / 0.
14582         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14583         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
14585         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14586         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
14587         and expm1.
14588         * math/auto-libm-test-out: Regenerated.
14589         * math/libm-test.inc (acos_test_data): Add more tests.
14590         (asin_test_data): Likewise.
14591         (asinh_test_data): Likewise.
14592         (atan_test_data): Likewise.
14593         (atanh_test_data): Likewise.
14594         (atan2_test_data): Likewise.
14595         (cbrt_test_data): Likewise.
14596         (ceil_test_data): Likewise.
14597         (copysign_test_data): Likewise.
14598         (cos_test_data): Likewise.
14599         (cosh_test_data): Likewise.
14600         (erf_test_data): Likewise.
14601         (erfc_test_data): Likewise.
14602         (exp_test_data): Likewise.
14603         (exp10_test_data): Likewise.
14604         (exp2_test_data): Likewise.
14605         (expm1_test_data): Likewise.
14606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14608 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
14610         [BZ #19006]
14611         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
14612         to ...
14613         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
14614         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
14615         to ...
14616         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
14617         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
14618         to ...
14619         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
14620         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
14621         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
14622         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
14623         to ...
14624         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
14625         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14626         Moved to ...
14627         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
14628         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14629         Moved to ...
14630         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
14631         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
14632         to ...
14633         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
14634         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14635         Moved to ...
14636         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
14637         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
14638         to ...
14639         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
14640         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
14641         Removed.
14642         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
14643         Likewise.
14644         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
14645         Likewise.
14646         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
14647         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
14648         Likewise.
14649         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14650         Likewise.
14651         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14652         Likewise.
14653         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14654         Likewise.
14655         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14656         Likewise.
14657         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
14658         Likewise.
14659         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
14660         Likewise.
14661         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
14662         Likewise.
14663         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
14664         Likewise.
14665         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
14666         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
14667         Likewise.
14668         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14669         Likewise.
14670         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14671         Likewise.
14672         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14673         Likewise.
14674         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
14675         Likewise.
14676         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14677         Replace ../i486/pthread_cond_timedwait.S with
14678         ../pthread_cond_timedwait.S.
14680 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
14682         * math/libm-test.inc (acos_test_data): Refine expectations for
14683         errno and "inexact" exceptions.
14684         (acosh_test_data): Likewise.
14685         (asin_test_data): Likewise.
14686         (asinh_test_data): Likewise.
14687         (atan_test_data): Likewise.
14688         (atanh_test_data): Likewise.
14689         (atan2_test_data): Likewise.
14690         (cbrt_test_data): Likewise.
14691         (ceil_test_data): Likewise.
14692         (copysign_test_data): Likewise.
14693         (cosh_test_data): Likewise.
14694         (erf_test_data): Likewise.
14695         (erfc_test_data): Likewise.
14696         (exp_test_data): Likewise.
14697         (exp10_test_data): Likewise.
14698         (exp2_test_data): Likewise.
14699         (expm1_test_data): Likewise.
14700         (fabs_test_data): Likewise.
14701         (floor_test_data): Likewise.
14702         (fma_test_data): Likewise.
14703         (fmax_test_data): Likewise.
14704         (fmin_test_data): Likewise.
14705         (fmod_test_data): Likewise.
14706         (fpclassify_test_data): Likewise.
14707         (frexp_test_data): Likewise.
14708         (hypot_test_data): Likewise.
14709         (ilogb_test_data): Likewise.
14710         (isgreater_test_data): Likewise.
14711         (isgreaterequal_test_data): Likewise.
14712         (isinf_test_data): Likewise.
14713         (isless_test_data): Likewise.
14714         (islessequal_test_data): Likewise.
14715         (islessgreater_test_data): Likewise.
14716         (isnan_test_data): Likewise.
14717         (isnormal_test_data): Likewise.
14718         (issignaling_test_data): Likewise.
14719         (isunordered_test_data): Likewise.
14720         (j0_test_data): Likewise.
14721         (j1_test_data): Likewise.
14722         (jn_test_data): Likewise.
14723         (lgamma_test_data): Likewise.
14724         (lrint_test_data): Likewise.
14725         (llrint_test_data): Likewise.
14726         (log_test_data): Likewise.
14727         (log10_test_data): Likewise.
14728         (log1p_test_data): Likewise.
14729         (log2_test_data): Likewise.
14730         (logb_test_data): Likewise.
14731         (lround_test_data): Likewise.
14732         (llround_test_data): Likewise.
14733         (modf_test_data): Likewise.
14734         (nearbyint_test_data): Likewise.
14735         (nextafter_test_data): Likewise.
14736         (nexttoward_test_data): Likewise.
14737         (pow_test_data): Likewise.
14738         (remainder_test_data): Likewise.
14739         (remquo_test_data): Likewise.
14740         (rint_test_data): Likewise.
14741         (round_test_data): Likewise.
14742         (signbit_test_data): Likewise.
14743         (sinh_test_data): Likewise.
14744         (sqrt_test_data): Likewise.
14745         (tanh_test_data): Likewise.
14746         (tgamma_test_data): Likewise.
14747         (trunc_test_data): Likewise.
14748         (y0_test_data): Likewise.
14749         (y1_test_data): Likewise.
14750         (yn_test_data): Likewise.
14751         (significand_test_data): Likewise.
14753 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
14755         * manual/filesys.texi (Storage Allocation): Document that
14756         posix_fallocate emulation fails when fd is open with O_WRONLY.
14758 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14760         [BZ #19016]
14761         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14762         allow more cases with X^2 + Y^2 >= 0.5.
14763         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14764         normal element in sum instead of special-casing based on values of
14765         arguments.
14766         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14767         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14768         -1 as normal element in sum instead of special-casing based on
14769         values of arguments.
14770         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14771         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14772         (__x2y2m1): Update comment.
14773         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14774         as normal element in sum instead of special-casing based on values
14775         of arguments.
14776         * math/s_clog.c (__clog): Handle more cases using log1p without
14777         hypot.
14778         * math/s_clog10.c (__clog10): Likewise.
14779         * math/s_clog10f.c (__clog10f): Likewise.
14780         * math/s_clog10l.c (__clog10l): Likewise.
14781         * math/s_clogf.c (__clogf): Likewise.
14782         * math/s_clogl.c (__clogl): Likewise.
14783         * math/auto-libm-test-in: Add more tests of clog and clog10.
14784         * math/auto-libm-test-out: Regenerated.
14785         * sysdeps/i386/fpu/libm-test-ulps: Update.
14786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14788 2015-09-28  Martin Sebor  <msebor@redhat.com>
14790         [BZ #18969]
14791         * string/Makefile (LOCALES): Define.
14792         (gen-locales.mk): Include.
14793         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14794         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14795         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14796         on setlocale failure.
14798 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14800         [BZ #18985]
14801         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14802         (__strftime_internal): Likewise.
14803         * time/tst-strftime.c (do_bz18985): New test.
14804         (do_test): Call it.
14806 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14808         [BZ #18956]
14809         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14810         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14811         extracting high part.
14812         * math/auto-libm-test-in: Add another test of pow.
14813         * math/auto-libm-test-out: Regenerated.
14814         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14816 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14818         [BZ #18825]
14819         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14820         New macro.
14821         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14822         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14823         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14824         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14825         DBL_NARROW_EVAL, reloading the PIC register as needed.
14826         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14827         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14828         FLT_NARROW_EVAL.  Use separate return path for case when first
14829         argument is NaN.
14830         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14831         DEFINE_LDBL_MIN.
14832         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14833         PIC register.
14834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14835         math_check_force_underflow_nonneg.
14836         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14837         underflow for subnormal result.
14838         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14839         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14840         math_check_force_underflow_nonneg.
14841         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14842         math_check_force_underflow.
14843         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14844         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14845         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14846         DEFINE_LDBL_MIN.
14847         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14848         * math/auto-libm-test-in: Add more tests of pow.
14849         * math/auto-libm-test-out: Regenerated.
14851 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14853         * nss/bug17079.c (init_test_items): Add diagnostic for
14854         inconsistent entries.
14855         (test_buffer_size): Skip inconsistent entries.
14857 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14859         [BZ #13304]
14860         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14861         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14862         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14864         [BZ #13304]
14865         * sysdeps/microblaze/s_fma.c: New file.
14866         * sysdeps/microblaze/s_fmaf.c: Likewise.
14867         * sysdeps/microblaze/sfp-machine.h: Likewise.
14869 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14871         [BZ #17250]
14872         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14873         member.
14875 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14877         [BZ #18803]
14878         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14879         (MO): New macro.
14880         (__ieee754_hypot) [PIC]: Load PIC register.
14881         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14882         DBL_NARROW_EVAL.
14883         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14884         math_check_force_underflow_nonneg in case where result might be
14885         tiny.
14886         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14887         Likewise.
14888         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14889         Likewise.
14890         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14891         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14892         * math/auto-libm-test-in: Add more tests of hypot.
14893         * math/auto-libm-test-out: Regenerated.
14895 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14897         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14899 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14901         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14902         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14903         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14904         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14905         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14906         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14907         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14909         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14910         LOAD_PIC_REG.
14912         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14913         (FLT_CHECK_FORCE_UFLOW): Likewise.
14914         (DBL_CHECK_FORCE_UFLOW): Likewise.
14915         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14916         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14917         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14918         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14919         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14920         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14921         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14922         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14923         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14924         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14925         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14926         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14927         (flt_min): Replace with use of DEFINE_FLT_MIN.
14928         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14929         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14930         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14931         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14932         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14933         (flt_min): Replace with use of DEFINE_FLT_MIN.
14934         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14935         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14936         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14937         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14938         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14939         (flt_min): Replace with use of DEFINE_FLT_MIN.
14940         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14941         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14942         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14943         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14944         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14945         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14946         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14947         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14948         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14949         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14950         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14951         (flt_min): Replace with use of DEFINE_FLT_MIN.
14952         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14953         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14954         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14955         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14956         main computation.
14957         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14958         (flt_min): Replace with use of DEFINE_FLT_MIN.
14959         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14960         main computation.
14961         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14962         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14963         (MO): New macro.
14964         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14965         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14966         (flt_min): Replace with use of DEFINE_FLT_MIN.
14967         (MO): New macro.
14968         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14969         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14970         (__log1pl): Use MO.
14972         [BZ #19003]
14973         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14974         $(config-cflags-nofma).
14976 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14978         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14980 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14982         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14983         (TWO127): Likewise.
14985         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14986         (min_of_type): Likewise.
14987         (math_check_force_underflow): Likewise.
14988         (math_check_force_underflow_nonneg): Likewise.
14989         (math_check_force_underflow_complex): Likewise.
14990         * math/e_exp2l.c (__ieee754_exp2l): Use
14991         math_check_force_underflow_nonneg.
14992         * math/k_casinh.c (__kernel_casinh): Likewise.
14993         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14994         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14995         * math/s_catan.c (__catan): Use
14996         math_check_force_underflow_complex.
14997         * math/s_catanf.c (__catanf): Likewise.
14998         * math/s_catanh.c (__catanh): Likewise.
14999         * math/s_catanhf.c (__catanhf): Likewise.
15000         * math/s_catanhl.c (__catanhl): Likewise.
15001         * math/s_catanl.c (__catanl): Likewise.
15002         * math/s_ccosh.c (__ccosh): Likewise.
15003         * math/s_ccoshf.c (__ccoshf): Likewise.
15004         * math/s_ccoshl.c (__ccoshl): Likewise.
15005         * math/s_cexp.c (__cexp): Likewise.
15006         * math/s_cexpf.c (__cexpf): Likewise.
15007         * math/s_cexpl.c (__cexpl): Likewise.
15008         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15009         * math/s_clog10.c (__clog10): Likewise.
15010         * math/s_clog10f.c (__clog10f): Likewise.
15011         * math/s_clog10l.c (__clog10l): Likewise.
15012         * math/s_clogf.c (__clogf): Likewise.
15013         * math/s_clogl.c (__clogl): Likewise.
15014         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15015         * math/s_csinf.c (__csinf): Likewise.
15016         * math/s_csinh.c (__csinh): Likewise.
15017         * math/s_csinhf.c (__csinhf): Likewise.
15018         * math/s_csinhl.c (__csinhl): Likewise.
15019         * math/s_csinl.c (__csinl): Likewise.
15020         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15021         * math/s_csqrtf.c (__csqrtf): Likewise.
15022         * math/s_csqrtl.c (__csqrtl): Likewise.
15023         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15024         * math/s_ctanf.c (__ctanf): Likewise.
15025         * math/s_ctanh.c (__ctanh): Likewise.
15026         * math/s_ctanhf.c (__ctanhf): Likewise.
15027         * math/s_ctanhl.c (__ctanhl): Likewise.
15028         * math/s_ctanl.c (__ctanl): Likewise.
15029         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15030         instead of volatile.
15031         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15032         math_check_force_underflow.
15033         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15034         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15035         volatile when forcing underflow.
15036         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15037         math_check_force_underflow_nonneg.
15038         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15039         Likewise.
15040         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15041         math_check_force_underflow.
15042         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15043         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15044         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15045         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15046         math_check_force_underflow_nonneg.
15047         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15048         math_check_force_underflow.
15049         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15051         instead of volatile.
15052         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15053         math_check_force_underflow.
15054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15055         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15056         math_check_force_underflow_nonneg.
15057         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15058         math_check_force_underflow.
15059         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15060         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15061         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15062         math_check_force_underflow_nonneg.
15063         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15064         Likewise.
15065         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15066         math_check_force_underflow.
15067         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15068         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15069         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15070         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15071         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15072         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15073         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15074         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15075         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15076         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15077         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15078         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15079         Likewise.
15080         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15081         math_check_force_underflow_nonneg.
15082         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15083         Likewise.
15084         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15085         math_check_force_underflow.
15086         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15087         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15088         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15089         Likewise.
15090         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15091         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15092         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15093         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15094         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15095         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15096         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15097         instead of volatile.
15098         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15099         math_check_force_underflow.
15100         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15101         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15102         math_check_force_underflow.
15103         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15104         Likewise.
15105         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15106         Use math_check_force_underflow_nonneg.
15107         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15108         math_check_force_underflow.
15109         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15110         Likewise.
15111         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15112         Likewise.
15113         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15114         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15115         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15116         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15117         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15118         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15119         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15120         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15121         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15122         math_check_force_underflow_nonneg.
15123         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15124         math_check_force_underflow.
15125         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15126         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15127         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15128         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15129         math_check_force_underflow_nonneg.
15130         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15131         math_check_force_underflow.
15132         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15133         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15134         instead of volatile.
15135         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15136         math_check_force_underflow.
15138         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15139         * stdlib/strtod_l.c: Include <math_private.h>.
15140         (overflow_value): Use math_narrow_eval.
15141         (underflow_value): Likewise.
15142         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15143         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15144         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15145         (__ieee754_gamma_r): Likewise.
15146         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15147         Likewise.
15148         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15149         Likewise.
15150         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15151         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15152         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15153         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15154         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15155         (__ieee754_gammaf_r): Likewise.
15156         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15157         Likewise.
15158         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15159         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15160         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15161         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15162         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15163         volatile.
15164         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15165         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15166         math_narrow_eval.
15167         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15168         Likewise.
15169         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15170         Likewise.
15171         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15172         Likewise.
15173         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15174         volatile.
15175         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15176         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15177         math_narrow_eval.
15178         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15179         Likewise.
15180         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15181         Likewise.
15183 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15185         * nptl/Versions: Remove ignored symbols.
15187 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15189         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15190         * nss/Makefile (tests): Update.
15192 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15194         * nss/bug18287.c: New file.
15195         * nss/Makefile (tests): Add bug18287.
15197 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15199         * mach/Versions (__mach_host_self_): Add symbol.
15201 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15203         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15204         vm_page_size.
15206 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15208         Really fix sysdeps/i386/fpu/s_scalbn.S build
15210         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15211         (libc: GLIBC_2_22): Remove unused version set.
15213 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15215         * config.make.in (enable-timezone-tools): New variable.
15216         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15217         (enable_timezone_tools): Export to generated files.
15218         * configure: Regenerate.
15219         * INSTALL: Regenerate.
15220         * manual/install.texi (--disable-timezone-tools): Document new flag.
15221         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15222         ifeq ($(enable-timezone-tools),yes) check.
15224 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15226         * timezone/Makefile: Revert previous change.
15228         [BZ #18980]
15229         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15230         (DEFINE_DBL_MIN): Likewise.
15231         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15232         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15233         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15234         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15235         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15236         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15237         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15238         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15239         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15240         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15241         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15242         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15243         (flt_min): Replace with use of DEFINE_FLT_MIN.
15244         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15245         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15246         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15247         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15248         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15249         (flt_min): Replace with use of DEFINE_FLT_MIN.
15250         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15251         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15252         (flt_min): Replace with use of DEFINE_FLT_MIN.
15253         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15254         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15255         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15256         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15257         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15258         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15259         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15260         (__ieee754_pow): Use DBL_NARROW_EVAL.
15261         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15262         (__ieee754_powf): Use FLT_NARROW_EVAL.
15263         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15264         (__ieee754_expf_sse2): Convert double-precision result to single
15265         precision.
15266         * sysdeps/i386/fpu/libm-test-ulps: Update.
15268 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15270         * timezone/Makefile: Ignore unused variable errors due to private.h
15271         (time_t_min) and (time_t_max).
15272         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15273         Likewise.
15275 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15277         [BZ #18981]
15278         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15279         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15280         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15281         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15282         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15283         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15284         (__scalbn): Use DBL_NARROW_EVAL.
15285         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15286         (__scalbnf): Use FLT_NARROW_EVAL.
15288 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15290         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15291         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15292         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15293         * stdio-common/printf_fp.c (___printf_fp):
15294         Use signbit to get the sign. Use isinf macro to allow inlining.
15295         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15296         * stdio-common/printf_size.c (__printf_size): Likewise.
15298 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15300         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15302 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15304         [BZ #18980]
15305         * sysdeps/generic/math_private.h: Include <float.h>.
15306         (math_narrow_eval): New macro.
15307         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15308         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15309         math_narrow_eval on overflowing return value.
15310         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15311         Likewise.
15312         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15313         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15314         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15315         Likewise.
15316         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15318 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15320         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15321         * math/Makefile: Remove isinf_ns.c.
15322         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15323         * math/multc3.c (__multc3): Likewise.
15324         * math/s_casin.c (__casin): Likewise.
15325         * math/s_casinf.c (__casinf): Likewise.
15326         * math/s_casinl.c (__casinl): Likewise.
15327         * math/s_cproj.c (__cproj): Likewise.
15328         * math/s_cprojf.c (__cprojf): Likewise.
15329         * math/s_cprojl.c (__cprofl): Likewise.
15330         * math/s_ctan.c (__ctan): Likewise.
15331         * math/s_ctanf.c (__ctanf): Likewise.
15332         * math/s_ctanh.c (__ctanh): Likewise.
15333         * math/s_ctanhf.c (__ctanhf): Likewise.
15334         * math/s_ctanhl.c (__ctanhl): Likewise.
15335         * math/s_ctanl.c (__ctanl): Likewise.
15336         * math/w_fmod.c (__fmod): Likewise.
15337         * math/w_fmodf.c (__fmodf): Likewise.
15338         * math/w_fmodl.c (_fmodl): Likewise.
15339         * math/w_remainder.c (__remainder): Likewise.
15340         * math/w_remainderf.c (__remainderf): Likewise.
15341         * math/w_remainderl.c (__remainderl): Likewise.
15342         * math/w_scalb.c (__scalb): Likewise.
15343         * math/w_scalbf.c (__scalbf): Likewise.
15344         * math/w_scalbl.c (__scalbl): Likewise.
15345         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15346         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15347         with isinf.
15348         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15349         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15350         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15351         __isinf_nsf with isinf.
15352         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15353         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15354         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15355         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15356         with isinf.
15357         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15358         __isinf_nsl with isinf.
15359         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15360         with isinf.
15361         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15362         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15363         __isinf_nsl with isinf.
15364         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15365         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15366         with isinf.
15368 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15370         * resolv/base64.c (rcsid): Remove unused static.
15371         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15372         static.  (tqpi1): Likewise.
15373         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15374         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15375         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15376         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15377         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15378         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15379         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15380         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15381         Likewise.
15383 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15385         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15386         <nptl/pthreadP.h>.
15387         (_longjmp_unwind): Use __libc_ptf_call.
15388         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15390 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15392         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15393         * sysdeps/arm/__longjmp.S: Likewise.
15395 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15397         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15398         Use __builtin_signbit.
15399         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15400         Use __builtin_signbitf.
15401         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15402         Use __builtin_signbitl.
15403         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15404         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15406 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15408         [BZ #15367]
15409         [BZ #17441]
15411         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15412         * math/math.h (fpclassify): Use __builtin_fpclassify when
15413         available.  (signbit): Use __builtin_signbit(f/l).
15414         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15415         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15416         (isinf): Use __builtin_isinf_sign.
15418 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15420         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15421         * benchtests/bench-math-inlines.c: New benchmark.
15422         * benchtests/bench-util.h: New file.
15423         * benchtests/bench-util.c: New file.
15424         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15426 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15428         * elf/tst-dlmopen1.c: Define TEST_SO.
15429         (do_test): Use TEST_SO.
15431         * elf/dl-load.c: Include libc-internal.h.
15432         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15434 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15436         [BZ #17887]
15437         * time/strptime_l.c (__strptime_internal): Make %z accept
15438         [+-]HH:MM time zones.
15440 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15442         [BZ #17886]
15443         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15444         valid time zone.
15446 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15448         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15449         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15450         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15451         (__ASSUME_FDATASYNC): Delete.
15453 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15455         * conform/linknamespace.pl: Require weak undefined symbols to be
15456         in the standard namespace.
15457         (%strong_syms): Rename to %seen_syms.
15458         (%strong_seen): Rename to %seen_where.
15460 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15462         [BZ #18970]
15463         * misc/error.c (error): Replace pthread_setcancelstate with
15464         __pthread_setcancelstate.
15465         (error_at_line): Likewise.
15466         * posix/wordexp.c (parse_comm): Likewise.
15467         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15468         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15469         (__pthread_setcancelstate): This.
15470         (pthread_setcancelstate): Add an alias.
15471         * nptl/nptl-init.c (pthread_functions): Replace
15472         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15473         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15474         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15475         hidden_proto.
15476         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15477         it with hidden_def.
15478         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15479         (pthread_setcancelstate): Renamed to ...
15480         (__pthread_setcancelstate): This.
15481         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15482         __libc_ptf_call with __pthread_setcancelstate.
15484 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15485             Andreas Schwab  <schwab@suse.de>
15487         [BZ #17118]
15488         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15489         result when imaginary part of argument is infinite using sine and
15490         cosine.
15491         * math/s_ctanf.c (__ctanf): Likewise.
15492         * math/s_ctanl.c (__ctanl): Likewise.
15493         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15494         of result when real part of argument is infinite using sine and
15495         cosine.
15496         * math/s_ctanhf.c (__ctanhf): Likewise.
15497         * math/s_ctanhl.c (__ctanhl): Likewise.
15498         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15499         (ctanh_test_data): Add more tests of ctanh.
15501 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15503         [BZ #15384]
15504         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15505         bit-mask as in subtraction.
15506         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15507         Likewise.
15508         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15509         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15510         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15512         [BZ #18951]
15513         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15514         underflow exception for small results.
15515         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15516         Likewise.
15517         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15518         Likewise.
15519         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15520         Likewise.
15521         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15522         Likewise.
15523         * math/auto-libm-test-in: Add more tests of tgamma.
15524         * math/auto-libm-test-out: Regenerated.
15526 2015-09-17  Andreas Schwab  <schwab@suse.de>
15528         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15530 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15532         [BZ #18977]
15533         * math/bits/mathcalls.h
15534         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15535         not declare.
15536         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15537         Likewise.
15538         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15539         Likewise.
15540         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15541         Likewise.
15542         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15543         Likewise.
15544         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15545         Likewise.
15546         * conform/data/math.h-data
15547         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15548         function.
15549         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15550         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15551         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15552         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15553         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15554         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15555         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15556         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15557         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15558         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15559         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15561         [BZ #6803]
15562         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15563         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15564         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15565         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15566         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15567         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15568         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15569         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15570         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15571         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15572         Likewise.
15573         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15574         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
15575         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
15576         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
15577         long_double_symbol calls.
15578         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
15579         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
15580         strong alias of __ldexpl.
15581         (scalbnl): Define using long_double_symbol.
15582         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
15583         Remove alias.
15584         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
15585         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
15586         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
15587         (scalbln_test_data): Add more errno expectations.
15589 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
15591         Cache the host port like we cache the task port.  This way we do not
15592         need to call the kernel just to get the port.  Furthermore, we no
15593         longer increase the reference count on every invocation of
15594         `mach_host_self'.
15596         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
15597         Protect declarations against the macro expansion.
15598         * mach/mach_init.c (__mach_host_self_): New variable.
15599         (mach_init): Initialize `__mach_host_self_'.
15600         * mach/mach_init.h (__mach_host_self_): New declaration.
15601         (__mach_host_self, mach_host_self): New macros.
15602         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
15603         Release reference.
15605 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15607         [BZ #4404]
15608         * po/de.po: Update from Translation Project.
15610         [BZ #16415]
15611         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
15612         (__expm1l): Remove code to handle positive infinity and overflow.
15613         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
15614         variable.
15615         (__expm1l): Remove code to handle positive infinity and overflow.
15617 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
15618             Paul Pluzhnikov  <ppluzhnikov@google.com>
15620         [BZ #18872]
15621         * stdio-common/Makefile (tst-printf-bz18872): New test.
15622         (tst-printf-bz18872-mem.out): Likewise.
15623         * stdio-common/tst-printf-bz18872.sh: Generate new test.
15624         * stdio-common/vfprintf.c: Fix memory leaks.
15626 2015-09-16  Andreas Schwab  <schwab@suse.de>
15628         [BZ #17244]
15629         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
15630         Remove extra va_start/va_end calls.
15632         [BZ #17243]
15633         * posix/execl.c (execl): Add missing va_end.
15634         * posix/execle.c (execle): Likewise.
15635         * posix/execlp.c (execlp): Likewise.
15637 2015-09-15  Roland McGrath  <roland@hack.frob.com>
15639         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
15640         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
15642 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
15644         [BZ #18967]
15645         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
15646         undefine around includes of <bits/mathcalls.h>.
15647         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
15648         not declare function.
15649         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
15650         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
15651         (scalb): Likewise.
15652         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
15653         not define macro.
15654         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
15655         variable.
15656         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15657         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15658         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15660         [BZ #18857]
15661         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
15662         return non-finite argument without doing ordered comparisons on
15663         it.
15665         [BZ #16296]
15666         * math/fenv.h (fegetround): Use __attribute_pure__.
15667         * include/fenv.h (__fegetround): Likewise.
15669         [BZ #18595]
15670         * math/s_ctan.c (__ctan): Force underflow exception for results
15671         whose real or imaginary part has small absolute value.
15672         * math/s_ctanf.c (__ctanf): Likewise.
15673         * math/s_ctanh.c (__ctanh): Likewise.
15674         * math/s_ctanhf.c (__ctanhf): Likewise.
15675         * math/s_ctanhl.c (__ctanhl): Likewise.
15676         * math/s_ctanl.c (__ctanl): Likewise.
15677         * math/auto-libm-test-in: Do not allow missing underflow for ctan
15678         and ctanh.  Add more tests of ctan and ctanh.
15680         [BZ #15918]
15681         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
15682         handling of cases where one argument is an infinity.
15684         [BZ #18875]
15685         [BZ #18966]
15686         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
15687         (MO): New macro.
15688         (__ieee754_exp10): For small results, force underflow exception
15689         and remove excess range and precision from return value.
15690         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
15691         (MO): New macro.
15692         (__ieee754_exp10f): For small results, force underflow exception
15693         and remove excess range and precision from return value.
15694         * math/auto-libm-test-in: Add more tests of exp10.
15695         * math/auto-libm-test-out: Regenerated.
15697 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
15699         [BZ #18875]
15700         [BZ #18961]
15701         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
15702         (MO): New macro.
15703         (__ieee754_exp): For small results, force underflow exception and
15704         remove excess range and precision from return value.
15705         (__exp_finite): Likewise.
15706         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
15707         (MO): New macro.
15708         (__ieee754_expf): For small results, force underflow exception and
15709         remove excess range and precision from return value.
15710         (__expf_finite): Likewise.
15711         * math/auto-libm-test-in: Add more tests of exp.
15712         * math/auto-libm-test-out: Regenerated.
15714         [BZ #16521]
15715         [BZ #18875]
15716         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
15717         small results.
15718         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
15719         (MO): New macro.
15720         (__ieee754_exp2): For small results, force underflow exception and
15721         remove excess range and precision from return value.
15722         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
15723         (MO): New macro.
15724         (__ieee754_exp2f): For small results, force underflow exception
15725         and remove excess range and precision from return value.
15726         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
15727         (MO): New macro.
15728         (__ieee754_exp2l): Force underflow exception for small results.
15729         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15730         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
15731         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
15732         (MO): New macro.
15733         (__ieee754_exp2l): Force underflow exception for small results.
15734         * math/auto-libm-test-in: Add more tests or exp2.
15735         * math/auto-libm-test-out: Regenerated.
15737 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
15739         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
15741         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
15742         /dev/null.
15744 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15746         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15747         io fs process)): Drop spurious backslash.
15749 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15751         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
15752         Use sysinfo system call instead of parsing /proc/meminfo.
15753         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
15754         Likewise.
15756 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15758         [BZ #16985]
15759         * programs/localedef.c (main): Display argv[remaining] when
15760         output_path is NULL.
15762 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15764         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15765         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15766         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15767         tanh.
15768         * math/auto-libm-test-out: Regenerated.
15769         * sysdeps/i386/fpu/libm-test-ulps: Update.
15770         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15771         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15774 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15776         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15777         Use 'override' keyword to freeze the value here, preventing
15778         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15780 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15782         [BZ #14912]
15783         * sysdeps/aarch64/bits/atomic.h: Move to ...
15784         * sysdeps/aarch64/atomic-machine.h: ...here.
15785         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15786         _AARCH64_ATOMIC_MACHINE_H.
15787         * sysdeps/alpha/bits/atomic.h: Move to ...
15788         * sysdeps/alpha/atomic-machine.h: ...here.
15789         * sysdeps/arm/bits/atomic.h: Move to ...
15790         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15791         * bits/atomic.h: Move to ...
15792         * sysdeps/generic/atomic-machine.h: ...here.
15793         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15794         * sysdeps/i386/bits/atomic.h: Move to ...
15795         * sysdeps/i386/atomic-machine.h: ...here.
15796         * sysdeps/ia64/bits/atomic.h: Move to ...
15797         * sysdeps/ia64/atomic-machine.h: ...here.
15798         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15799         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15800         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15801         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15802         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15803         * sysdeps/microblaze/bits/atomic.h: Move to ...
15804         * sysdeps/microblaze/atomic-machine.h: ...here.
15805         * sysdeps/mips/bits/atomic.h: Move to ...
15806         * sysdeps/mips/atomic-machine.h: ...here.
15807         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15808         * sysdeps/powerpc/bits/atomic.h: Move to ...
15809         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15810         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15811         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15812         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15813         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15814         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15815         <atomic-machine.h> instead of <bits/atomic.h>.
15816         * sysdeps/s390/bits/atomic.h: Move to ...
15817         * sysdeps/s390/atomic-machine.h: ...here.
15818         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15819         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15820         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15821         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15822         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15823         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15824         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15825         * sysdeps/tile/bits/atomic.h: Move to ...
15826         * sysdeps/tile/atomic-machine.h: ...here.
15827         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15828         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15829         <sysdeps/tile/atomic-machine.h> instead of
15830         <sysdeps/tile/bits/atomic.h>.
15831         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15832         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15833         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15834         <sysdeps/tile/atomic-machine.h> instead of
15835         <sysdeps/tile/bits/atomic.h>.
15836         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15837         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15838         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15839         <sysdeps/arm/atomic-machine.h> instead of
15840         <sysdeps/arm/bits/atomic.h>.
15841         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15842         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15843         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15844         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15845         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15846         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15847         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15848         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15849         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15850         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15851         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15852         * sysdeps/x86_64/bits/atomic.h: Move to ...
15853         * sysdeps/x86_64/atomic-machine.h: ...here.
15854         * include/atomic.h: Include <atomic-machine.h> instead of
15855         <bits/atomic.h>.
15857         * sysdeps/mips/mips32/libm-test-ulps: Update.
15858         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15860         [BZ #18952]
15861         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15862         not convert non-integer negative arguments to int to determine the
15863         value of signgam.
15864         * math/auto-libm-test-in: Add more tests of lgamma.
15865         * math/auto-libm-test-out: Regenerated.
15867         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15868         cosh, csqrt, erfc, expm1 and lgamma.
15869         * math/auto-libm-test-out: Regenerated.
15870         * sysdeps/i386/fpu/libm-test-ulps: Update.
15871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15873 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15875         [BZ #2542]
15876         [BZ #2543]
15877         [BZ #2558]
15878         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15879         __lgamma_neg for arguments from -28.0 to -2.0.
15880         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15881         __lgamma_negf for arguments from -15.0 to -2.0.
15882         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15883         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15884         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15885         Call __lgamma_negl for arguments from -33.0 to -2.0.
15886         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15887         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15888         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15889         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15890         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15891         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15892         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15893         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15894         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15895         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15896         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15897         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15898         (__lgamma_neg): Likewise.
15899         (__lgamma_negl): Likewise.
15900         (__lgamma_product): Likewise.
15901         (__lgamma_productl): Likewise.
15902         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15903         * math/auto-libm-test-in: Add more tests of lgamma.
15904         * math/auto-libm-test-out: Regenerated.
15905         * sysdeps/i386/fpu/libm-test-ulps: Update.
15906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15908 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15910         [BZ #18675]
15911         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15913 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15915         [BZ #14912]
15916         * bits/libc-lock.h: Move to ...
15917         * sysdeps/generic/libc-lock.h: ...here.
15918         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15919         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15920         * sysdeps/mach/hurd/libc-lock.h: ...here.
15921         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15922         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15923         * sysdeps/mach/bits/libc-lock.h: Move to ...
15924         * sysdeps/mach/libc-lock.h: ...here.
15925         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15926         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15927         * sysdeps/nptl/libc-lock.h: ...here.
15928         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15929         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15930         * sysdeps/nptl/libc-lockP.h: ...here.
15931         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15932         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15933         <bits/libc-lock.h>.
15934         * dirent/scandir-tail.c: Likewise.
15935         * dlfcn/dlerror.c: Likewise.
15936         * elf/dl-close.c: Likewise.
15937         * elf/dl-iteratephdr.c: Likewise.
15938         * elf/dl-lookup.c: Likewise.
15939         * elf/dl-open.c: Likewise.
15940         * elf/dl-support.c: Likewise.
15941         * elf/dl-writev.h: Likewise.
15942         * elf/rtld.c: Likewise.
15943         * grp/fgetgrent.c: Likewise.
15944         * gshadow/fgetsgent.c: Likewise.
15945         * gshadow/sgetsgent.c: Likewise.
15946         * iconv/gconv_conf.c: Likewise.
15947         * iconv/gconv_db.c: Likewise.
15948         * iconv/gconv_dl.c: Likewise.
15949         * iconv/gconv_int.h: Likewise.
15950         * iconv/gconv_trans.c: Likewise.
15951         * include/link.h: Likewise.
15952         * inet/getnameinfo.c: Likewise.
15953         * inet/getnetgrent.c: Likewise.
15954         * inet/getnetgrent_r.c: Likewise.
15955         * intl/bindtextdom.c: Likewise.
15956         * intl/dcigettext.c: Likewise.
15957         * intl/finddomain.c: Likewise.
15958         * intl/gettextP.h: Likewise.
15959         * intl/loadmsgcat.c: Likewise.
15960         * intl/localealias.c: Likewise.
15961         * intl/textdomain.c: Likewise.
15962         * libidn/idn-stub.c: Likewise.
15963         * libio/libioP.h: Likewise.
15964         * locale/duplocale.c: Likewise.
15965         * locale/freelocale.c: Likewise.
15966         * locale/newlocale.c: Likewise.
15967         * locale/setlocale.c: Likewise.
15968         * login/getutent_r.c: Likewise.
15969         * login/getutid_r.c: Likewise.
15970         * login/getutline_r.c: Likewise.
15971         * login/utmp-private.h: Likewise.
15972         * login/utmpname.c: Likewise.
15973         * malloc/mtrace.c: Likewise.
15974         * misc/efgcvt.c: Likewise.
15975         * misc/error.c: Likewise.
15976         * misc/fstab.c: Likewise.
15977         * misc/getpass.c: Likewise.
15978         * misc/mntent.c: Likewise.
15979         * misc/syslog.c: Likewise.
15980         * nis/nis_call.c: Likewise.
15981         * nis/nis_callback.c: Likewise.
15982         * nis/nss-default.c: Likewise.
15983         * nis/nss_compat/compat-grp.c: Likewise.
15984         * nis/nss_compat/compat-initgroups.c: Likewise.
15985         * nis/nss_compat/compat-pwd.c: Likewise.
15986         * nis/nss_compat/compat-spwd.c: Likewise.
15987         * nis/nss_nis/nis-alias.c: Likewise.
15988         * nis/nss_nis/nis-ethers.c: Likewise.
15989         * nis/nss_nis/nis-grp.c: Likewise.
15990         * nis/nss_nis/nis-hosts.c: Likewise.
15991         * nis/nss_nis/nis-network.c: Likewise.
15992         * nis/nss_nis/nis-proto.c: Likewise.
15993         * nis/nss_nis/nis-pwd.c: Likewise.
15994         * nis/nss_nis/nis-rpc.c: Likewise.
15995         * nis/nss_nis/nis-service.c: Likewise.
15996         * nis/nss_nis/nis-spwd.c: Likewise.
15997         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15998         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15999         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16000         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16001         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16002         * nis/nss_nisplus/nisplus-network.c: Likewise.
16003         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16004         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16005         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16006         * nis/nss_nisplus/nisplus-service.c: Likewise.
16007         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16008         * nis/ypclnt.c: Likewise.
16009         * nptl/libc_pthread_init.c: Likewise.
16010         * nss/getXXbyYY.c: Likewise.
16011         * nss/getXXent.c: Likewise.
16012         * nss/getXXent_r.c: Likewise.
16013         * nss/nss_db/db-XXX.c: Likewise.
16014         * nss/nss_db/db-netgrp.c: Likewise.
16015         * nss/nss_db/nss_db.h: Likewise.
16016         * nss/nss_files/files-XXX.c: Likewise.
16017         * nss/nss_files/files-alias.c: Likewise.
16018         * nss/nsswitch.c: Likewise.
16019         * posix/regex_internal.h: Likewise.
16020         * posix/wordexp.c: Likewise.
16021         * pwd/fgetpwent.c: Likewise.
16022         * resolv/res_hconf.c: Likewise.
16023         * resolv/res_libc.c: Likewise.
16024         * shadow/fgetspent.c: Likewise.
16025         * shadow/lckpwdf.c: Likewise.
16026         * shadow/sgetspent.c: Likewise.
16027         * socket/opensock.c: Likewise.
16028         * stdio-common/reg-modifier.c: Likewise.
16029         * stdio-common/reg-printf.c: Likewise.
16030         * stdio-common/reg-type.c: Likewise.
16031         * stdio-common/vfprintf.c: Likewise.
16032         * stdio-common/vfscanf.c: Likewise.
16033         * stdlib/abort.c: Likewise.
16034         * stdlib/cxa_atexit.c: Likewise.
16035         * stdlib/fmtmsg.c: Likewise.
16036         * stdlib/random.c: Likewise.
16037         * stdlib/setenv.c: Likewise.
16038         * string/strsignal.c: Likewise.
16039         * sunrpc/auth_none.c: Likewise.
16040         * sunrpc/bindrsvprt.c: Likewise.
16041         * sunrpc/create_xid.c: Likewise.
16042         * sunrpc/key_call.c: Likewise.
16043         * sunrpc/rpc_thread.c: Likewise.
16044         * sysdeps/arm/backtrace.c: Likewise.
16045         * sysdeps/generic/ldsodefs.h: Likewise.
16046         * sysdeps/generic/stdio-lock.h: Likewise.
16047         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16048         * sysdeps/i386/backtrace.c: Likewise.
16049         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16050         * sysdeps/m68k/backtrace.c: Likewise.
16051         * sysdeps/mach/hurd/cthreads.c: Likewise.
16052         * sysdeps/mach/hurd/dirstream.h: Likewise.
16053         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16054         * sysdeps/nptl/malloc-machine.h: Likewise.
16055         * sysdeps/nptl/stdio-lock.h: Likewise.
16056         * sysdeps/posix/dirstream.h: Likewise.
16057         * sysdeps/posix/getaddrinfo.c: Likewise.
16058         * sysdeps/posix/system.c: Likewise.
16059         * sysdeps/pthread/aio_suspend.c: Likewise.
16060         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16061         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16062         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16063         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16064         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16065         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16066         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16067         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16068         * sysdeps/unix/sysv/linux/system.c: Likewise.
16069         * sysdeps/x86_64/backtrace.c: Likewise.
16070         * time/alt_digit.c: Likewise.
16071         * time/era.c: Likewise.
16072         * time/tzset.c: Likewise.
16073         * wcsmbs/wcsmbsload.c: Likewise.
16074         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16075         instead of <bits/libc-lock.h> in comment.
16077 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16079         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16080         Only use .set mips2 if the current ISA is below mips2.
16081         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16082         Likewise.
16083         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16084         mips32r2 if the current ISA is below mips32r2.
16085         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16086         (TLS_IE): Updated to use the TLD_RDHWR macro.
16087         (TLS_LE): Likewise.
16088         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16089         __ASSEMBLER__ condition.
16091 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16093         Fix parallel build of before-compile targets.
16095         * sysdeps/mach/Makefile ($(patsubst
16096         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16097         mach-before-compile target.
16098         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16099         io fs process)): Move rule to dedicated hurd-before-compile target.
16101 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16103         Fix rules generating headers in hurd/ and mach/ when initial make call
16104         has subdir= explicitly set.
16106         * sysdeps/mach/Makefile ($(patsubst
16107         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16108         calling $(MAKE).
16109         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16110         io fs process)): Force subdir to hurd when calling $(MAKE).
16111         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16112         subdir to mach when calling $(MAKE).
16114 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16116         Check sysheaders when looking for Mach and Hurd headers
16118         * sysdeps/mach/configure.ac: Add sysheaders check.
16119         * sysdeps/mach/configure: Regenerate.
16120         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16121         * sysdeps/mach/hurd/configure: Regenerate.
16123 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16125         [BZ #18921]
16126         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16127         Fix inverted sense of test of 'o_directory_works' value.
16128         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16129         Bernhard Voelker <mail@bernhard-voelker.de>.
16131 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16133         [BZ #14912]
16134         * bits/linkmap.h: Move to ...
16135         * sysdeps/generic/linkmap.h: ...here.
16136         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16137         * sysdeps/aarch64/linkmap.h: ...here.
16138         * sysdeps/arm/bits/linkmap.h: Move to ...
16139         * sysdeps/arm/linkmap.h: ...here.
16140         * sysdeps/hppa/bits/linkmap.h: Move to ...
16141         * sysdeps/hppa/linkmap.h: ...here.
16142         * sysdeps/ia64/bits/linkmap.h: Move to ...
16143         * sysdeps/ia64/linkmap.h: ...here.
16144         * sysdeps/mips/bits/linkmap.h: Move to ...
16145         * sysdeps/mips/linkmap.h: ...here.
16146         * sysdeps/s390/bits/linkmap.h: Move to ...
16147         * sysdeps/s390/linkmap.h: ...here.
16148         * sysdeps/sh/bits/linkmap.h: Move to ...
16149         * sysdeps/sh/linkmap.h: ...here.
16150         * sysdeps/x86/bits/linkmap.h: Move to ...
16151         * sysdeps/x86/linkmap.h: ...here.
16152         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16154 2015-09-04  Andreas Schwab  <schwab@suse.de>
16156         [BZ #18635]
16157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16158         (__makecontext): Terminate FDE before return label.
16159         (__novec_makecontext): Likewise.
16161 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16163         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16164         first member of struct sv in syscall macro.
16166 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16168         [BZ #14912]
16169         * bits/stdio-lock.h: Move to ...
16170         * sysdeps/generic/stdio-lock.h: ...here.
16171         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16172         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16173         * sysdeps/nptl/stdio-lock.h: ...here.
16174         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16175         * include/libio.h: Include <stdio-lock.h> instead of
16176         <bits/stdio-lock.h>.
16177         * sysdeps/nptl/fork.c: Likewise.
16178         * sysdeps/pthread/flockfile.c: Likewise.
16179         * sysdeps/pthread/ftrylockfile.c: Likewise.
16180         * sysdeps/pthread/funlockfile.c: Likewise.
16182         [BZ #14912]
16183         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16184         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16185         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16186         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16187         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16188         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16189         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16191 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16193         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16194         (test-xfail-tst-protected1b): New variable.
16196 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16198         [BZ #14912]
16199         * bits/libc-tsd.h: Move to ...
16200         * sysdeps/generic/libc-tsd.h: ...here.
16201         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16202         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16203         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16204         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16205         * include/ctype.h: Include <libc-tsd.h> instead of
16206         <bits/libc-tsd.h>.
16207         * include/rpc/rpc.h: Likewise.
16208         * locale/localeinfo.h: Likewise.
16209         * sunrpc/rpc_thread.c: Likewise.
16210         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16211         * sysdeps/nptl/malloc-machine.h: Likewise.
16213         * Makefile (headers): Remove bits/libc-lock.h.
16214         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16216         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16217         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16218         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16219         <bits/stdio-lock.h>.
16220         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16221         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16223 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16225         [BZ #18757]
16226         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16227         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16228         BZ #18757.
16230 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16232         * malloc/mtrace.pl: Filter out NULL entries.
16234 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16236         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16237         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16238         macro.
16240         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16241         (TCP_CC_INFO): Likewise.
16242         (TCP_SAVE_SYN): Likewise.
16243         (TCP_SAVED_SYN): Likewise.
16245 2015-08-31  Brett Neumeier <brett@neumeier.us>
16247         [BZ #18870]
16248         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16250 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16252         [BZ #18873]
16253         Fix broken overflow check in posix_fallocate
16254         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16255         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16256         Fix parenthesization typo.
16258 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16260         [BZ #18887]
16261         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16262         tst-mntent-blank-passno.
16263         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16264         * misc/tst-mntent-blank-corrupt.c: New test.
16265         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16266         * misc/tst-mntent.c (do_test): ... here.
16268 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16270         [BZ #4404]
16271         * po/de.po: Fix SIGALRM typo.
16273 2015-08-28  James Perkins  <james@loowit.net>
16275         * time/tst-strptime2.c (tests): Replace short list of test
16276         strings for strptime %z specifier with code which exhaustively
16277         tests every combination of sign and 0 to 5 digits. Tests for
16278         rejection of invalid strings.
16280 2015-08-28  James Perkins  <james@loowit.net>
16282         [BZ #16141]
16283         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16284         calculation, removing incorrect decimal time rounding, so that
16285         all minute values result in a valid seconds value.
16286         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16287         offset range limits to UTC-99:59 through UTC+99:59 to parse
16288         current and historical use cases.
16289         * time/tst-strptime2.c (tests): Modify and add tests for the
16290         strptime %z input field descriptor, specifically conversion of
16291         minutes to seconds and validating an offset range of -9959 to
16292         +9959.
16294 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16295             Dmitry V. Levin  <ldv@altlinux.org>
16297         [BZ #18877]
16298         * posix/Makefile (tests): Add tst-mmap-offset.
16299         * posix/tst-mmap.c: New file.
16300         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16301         offset calculation for negative values.
16303 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16305         * sysdeps/i386/init-arch.h: New file.
16306         * sysdeps/i386/i586/init-arch.h: Likewise.
16307         * sysdeps/i386/i686/init-arch.h: Likewise.
16308         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16309         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16310         * sysdeps/x86/cpu-features.h (bit_I586): New.
16311         (bit_I686): Likewise.
16312         (bit_CX8): Likewise.
16313         (bit_CMOV): Likewise.
16314         (index_CX8): Likewise.
16315         (index_CMOV): Likewise.
16316         (index_I586): Likewise.
16317         (index_I686): Likewise.
16318         (reg_CX8): Likewise.
16319         (reg_CMOV): Likewise.
16320         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16321         available at compile-time.
16322         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16323         available at compile-time.
16324         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16325         (USE_I686): Likewise.
16327 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16329         * sysdeps/i386/bcopy.S: New file.
16330         * sysdeps/i386/bzero.S: Likewise.
16331         * sysdeps/i386/memcpy.S: Likewise.
16332         * sysdeps/i386/memmove.S: Likewise.
16333         * sysdeps/i386/mempcpy.S: Likewise.
16334         * sysdeps/i386/memset.S: Likewise.
16335         * sysdeps/i386/bzero.c: Removed.
16336         * sysdeps/i386/memset.c: Likewise.
16337         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16338         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16339         * sysdeps/i386/i586/memset_chk.S: Likewise.
16340         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16341         * sysdeps/i386/memcpy_chk.S: Here.
16342         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16343         * sysdeps/i386/memmove_chk.S: Here.
16344         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16345         * sysdeps/i386/mempcpy_chk.S: Likewise.
16346         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16347         * sysdeps/i386/memset_chk.S: Likewise.
16349 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16351         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16352         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16353         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16354         * soft-fp/fmadf4.c: Ditto.
16355         * soft-fp/fmatf4.c: Ditto.
16357 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16359         * sysdeps/i386/i586/Implies: Removed.
16360         * sysdeps/i386/i686/Implies: Likewise.
16362 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16364         * sysdeps/i386/i486/strlen.S: Moved to ...
16365         * sysdeps/i386/strlen.S: Here.
16367 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16369         * sysdeps/i386/i486/strcat.S: Moved to ...
16370         * sysdeps/i386/strcat.S: Here.
16372 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16374         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16375         * sysdeps/i386/pthread_spin_trylock.S: Here.
16376         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16377         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16379 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16381         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16382         * sysdeps/i386/string-inlines.c: Here.
16384 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16386         * sysdeps/i386/i486/htonl.S: Moved ...
16387         * sysdeps/i386/htonl.S: here.
16389 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16391         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16392         * sysdeps/i386/bits/atomic.h: Here.
16394 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16396         * sysdeps/i386/i486/Versions: Removed.
16398 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16400         [BZ #2898]
16401         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16402         Based on patch by Aurelien Jarno.
16404 2015-08-26  Stan Shebs  <stanshebs@google.com>
16406         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16407         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16409 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16411         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16412         * sysdeps/powerpc/dl-procinfo.c:
16413         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16414         feature so it shows when LD_SHOW_AUXV=1.
16416 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16418         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16419         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16420         definition.  ISA 2.07B no longer requires full sync.
16422 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16424         [BZ #18863]
16425         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16426         (si_call_addr): Define.
16427         (si_syscall): Define.
16428         (si_arch): Define.
16430 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16432         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16433         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16434         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16435         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16436         (__memset_zero_constant_len_parameter): New.
16437         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16438         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16439         (__memset_zero_constant_len_parameter): Don't define if
16440         __memset_chk or USE_AS_BZERO are defined.
16442         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16443         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16444         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16446         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16447         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16448         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16449         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16450         comments.
16451         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16452         -mno-mmx for $(all-rtld-routines).
16453         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16454         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16455         i386.
16457 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16459         * sysdeps/generic/unwind.h
16460         (_Unwind_Word): Use __mode__(__unwind_word__)
16461         instead of __mode__(__word__).
16462         (_Unwind_Sword): Likewise.
16464         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16465         (MAX_NEEDED_INPUT): New define.
16466         (MAX_NEEDED_OUTPUT): New define.
16468         * NEWS: New item for IBM z13 string optimizations.
16470         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16471         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16472         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16473         * sysdeps/s390/multiarch/Makefile
16474         (sysdep_routines): Add memrchr functions.
16475         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16476         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16478         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16479         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16480         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16481         * sysdeps/s390/multiarch/Makefile
16482         (sysdep_routines): Add wmemcmp functions.
16483         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16484         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16485         * benchtests/bench-wmemcmp.c: New File.
16486         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16488         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16489         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16490         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16491         * sysdeps/s390/multiarch/Makefile
16492         (sysdep_routines): Add wmemset functions.
16493         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16494         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16495         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16496         * string/test-memset.c: Add wmemset support.
16497         * wcsmbs/test-wmemset.c: New File.
16498         * wcsmbs/Makefile (strop-tests): Add wmemset.
16499         * benchtests/bench-memset.c: Add wmemset support.
16500         * benchtests/bench-wmemset.c: New File.
16501         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16503         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16504         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16505         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16506         * sysdeps/s390/multiarch/Makefile
16507         (sysdep_routines): Add memccpy functions.
16508         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16509         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16510         * string/memccpy.c: Use MEMCCPY if defined.
16512         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16513         * sysdeps/s390/multiarch/memchr.c: Likewise.
16514         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16515         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16516         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16517         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16518         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16519         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16520         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16521         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16522         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16523         and rawmemchr functions.
16524         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16525         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16526         and wmemchr.
16527         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16528         * string/test-memchr.c: Add wmemchr support.
16529         * wcsmbs/test-wmemchr.c: New File.
16530         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16531         * benchtests/bench-memchr.c: Add wmemchr support.
16532         * benchtests/bench-wmemchr.c: New File.
16533         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16535         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16536         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16537         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16538         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16539         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16540         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16541         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16542         wcscspn functions.
16543         * sysdeps/s390/multiarch/ifunc-impl-list.c
16544         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16545         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16546         * string/test-strcspn.c: Add wcscspn support.
16547         * wcsmbs/test-wcscspn.c: New File.
16548         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16549         * benchtests/bench-strcspn.c: Add wcscspn support.
16550         * benchtests/bench-wcscspn.c: New File.
16551         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16553         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16554         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16555         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16556         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16557         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16558         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16559         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16560         wcspbrk functions.
16561         * sysdeps/s390/multiarch/ifunc-impl-list.c
16562         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16563         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16564         * string/test-strpbrk.c: Add wcspbrk support.
16565         * wcsmbs/test-wcspbrk.c: New File.
16566         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16567         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16568         * benchtests/bench-wcspbrk.c: New File.
16569         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16571         * sysdeps/s390/multiarch/strspn-c.c: New File.
16572         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
16573         * sysdeps/s390/multiarch/strspn.c: Likewise.
16574         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
16575         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
16576         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16577         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
16578         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
16579         wcsspn functions.
16580         * sysdeps/s390/multiarch/ifunc-impl-list.c
16581         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
16582         * string/test-strspn.c: Add wcsspn support.
16583         * wcsmbs/test-wcsspn.c: New File.
16584         * wcsmbs/Makefile (strop-tests): Add wcsspn.
16585         * benchtests/bench-strspn.c: Add wcsspn support.
16586         * benchtests/bench-wcsspn.c: New File.
16587         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
16589         * sysdeps/s390/multiarch/strrchr-c.c: New File.
16590         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
16591         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16592         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
16593         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
16594         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
16595         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
16596         wcsrchr functions.
16597         * sysdeps/s390/multiarch/ifunc-impl-list.c
16598         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
16599         * benchtests/bench-wcsrchr.c: New File.
16600         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
16602         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
16603         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
16604         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
16605         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
16606         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
16607         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
16608         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
16609         wcschrnul functions.
16610         * sysdeps/s390/multiarch/ifunc-impl-list.c
16611         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
16612         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
16613         * string/test-strchr.c: Add wcschrnul support.
16614         * wcsmbs/test-wcschrnul.c: New File.
16615         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
16616         * benchtests/bench-strchr.c: Add wcschrnul support.
16617         * benchtests/bench-wcschrnul.c: New File.
16618         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
16620         * sysdeps/s390/multiarch/strchr-c.c: New File.
16621         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
16622         * sysdeps/s390/multiarch/strchr.c: Likewise.
16623         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
16624         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
16625         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16626         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
16627         wcschr functions.
16628         * sysdeps/s390/multiarch/ifunc-impl-list.c
16629         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
16630         * string/strchr.c (STRCHR): Define and use macro.
16631         * benchtests/bench-wcschr.c: New File.
16632         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
16634         * sysdeps/s390/multiarch/strncmp-c.c: New File.
16635         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
16636         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16637         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
16638         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
16639         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
16640         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
16641         wcsncmp functions.
16642         * sysdeps/s390/multiarch/ifunc-impl-list.c
16643         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
16644         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
16645         * benchtests/bench-strncmp.c: Add wcsncmp support.
16646         * benchtests/bench-wcsncmp.c: New File.
16647         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
16649         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
16650         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16651         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
16652         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
16653         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16654         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
16655         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
16656         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
16657         wcscmp functions.
16658         * sysdeps/s390/multiarch/ifunc-impl-list.c
16659         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
16660         * string/strcmp.c (STRCMP): Define and use macro.
16661         * benchtests/bench-wcscmp.c: New File.
16662         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
16663         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
16664         instead of _HAVE_STRING_ARCH_memchr.
16666         * sysdeps/s390/multiarch/strncat-c.c: New File.
16667         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
16668         * sysdeps/s390/multiarch/strncat.c: Likewise.
16669         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
16670         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
16671         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
16672         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
16673         wcsncat functions.
16674         * sysdeps/s390/multiarch/ifunc-impl-list.c
16675         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
16676         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
16677         * string/test-strncat.c: Add wcsncat support.
16678         * wcsmbs/test-wcsncat.c: New File.
16679         * wcsmbs/Makefile (strop-tests): Add wcsncat.
16680         * benchtests/bench-strncat.c: Add wcsncat support.
16681         * benchtests/bench-wcsncat.c: New File.
16682         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
16684         * sysdeps/s390/multiarch/strcat-c.c: New File.
16685         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
16686         * sysdeps/s390/multiarch/strcat.c: Likewise.
16687         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
16688         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
16689         * sysdeps/s390/multiarch/wcscat.c: Likewise.
16690         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
16691         wcscat functions.
16692         * sysdeps/s390/multiarch/ifunc-impl-list.c
16693         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
16694         * string/strcat.c (STRCAT): Define and use macro.
16695         * wcsmbs/wcscat.c: Use WCSCAT if defined.
16696         * string/test-strcat.c: Add wcscat support.
16697         * wcsmbs/test-wcscat.c: New File.
16698         * wcsmbs/Makefile (strop-tests): Add wcscat.
16699         * benchtests/bench-strcat.c: Add wcscat support.
16700         * benchtests/bench-wcscat.c: New File.
16701         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
16703         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
16704         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
16705         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16706         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
16707         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
16708         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
16709         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
16710         wcpncpy functions.
16711         * sysdeps/s390/multiarch/ifunc-impl-list.c
16712         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
16713         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
16714         * string/test-stpncpy.c: Add wcpncpy support.
16715         * wcsmbs/test-wcpncpy.c: New File.
16716         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
16717         * benchtests/bench-stpncpy.c: Add wcpncpy support.
16718         * benchtests/bench-wcpncpy.c: New File.
16719         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
16721         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
16722         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16723         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
16724         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
16725         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
16726         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
16727         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
16728         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
16729         wcsncpy functions.
16730         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
16731         * sysdeps/s390/multiarch/ifunc-impl-list.c
16732         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
16733         * string/test-strncpy.c: Add wcsncpy support.
16734         * wcsmbs/test-wcsncpy.c: New File.
16735         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
16736         * benchtests/bench-strncpy.c: Add wcsncpy support.
16737         * benchtests/bench-wcsncpy.c: New File.
16738         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
16740         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
16741         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
16742         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16743         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
16744         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
16745         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
16746         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
16747         wcpcpy functions.
16748         * string/stpcpy.c: Use STPCPY if defined.
16749         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
16750         * sysdeps/s390/multiarch/ifunc-impl-list.c
16751         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
16752         * string/test-stpcpy.c: Add wcpcpy support.
16753         * wcsmbs/test-wcpcpy.c: New File.
16754         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
16755         * benchtests/bench-stpcpy.c: Add wcpcpy support.
16756         * benchtests/bench-wcpcpy.c: New File.
16757         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16759         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16760         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16761         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16762         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16763         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16764         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16765         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16766         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16767         wcscpy functions.
16768         * sysdeps/s390/multiarch/ifunc-impl-list.c
16769         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16770         * benchtests/bench-wcscpy.c: New File.
16771         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16773         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16774         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16775         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16776         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16777         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16778         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16779         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16780         wcsnlen functions.
16781         * sysdeps/s390/multiarch/ifunc-impl-list.c
16782         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16783         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16784         * string/test-strnlen.c: Add wcsnlen support.
16785         * wcsmbs/test-wcsnlen.c: New File.
16786         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16787         * benchtests/bench-strnlen.c: Add wcsnlen support.
16788         * benchtests/bench-wcsnlen.c: New File.
16789         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16791         * sysdeps/s390/multiarch/Makefile: New File.
16792         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16793         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16794         * sysdeps/s390/multiarch/strlen.c: Likewise.
16795         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16796         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16797         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16798         * string/strlen.c (STRLEN): Define and use macro.
16799         * sysdeps/s390/multiarch/ifunc-impl-list.c
16800         (IFUNC_VX_IMPL): New macro function.
16801         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16802         * benchtests/Makefile (wcsmbs-bench): New variable.
16803         (string-bench-all): Added wcsmbs-bench.
16804         * benchtests/bench-wcslen.c: New File.
16806         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16807         s390_vx_libc_ifunc2): New macro function.
16809         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16810         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16811         assembler support.
16812         * sysdeps/s390/configure: Regenerated.
16814         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16815         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16817         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16818         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16819         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16821         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16822         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16823         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16824         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16825         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16826         (memcmp, bcmp): Use __memcmp_default as alias source.
16827         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16828         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16829         Rename to __memcmp_default.
16830         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16831         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16832         (memcpy): Use __memcpy_default as alias source.
16833         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16834         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16835         Rename to __memcpy_default.
16836         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16837         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16838         (memset): Use __memset_default as alias source.
16839         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16840         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16841         Rename to __memset_default.
16842         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16843         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16844         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16845         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16846         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16847         (memcmp, bcmp): Use __memcmp_default as alias source.
16848         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16849         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16850         Rename to __memcmp_default.
16851         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16852         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16853         (memcpy): Use __memcpy_default as alias source.
16854         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16855         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16856         Rename to __memcpy_default.
16857         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16858         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16859         (memset): Use __memset_default as alias source.
16860         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16861         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16862         Rename to __memset_default.
16863         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16864         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16866         [BZ #18610]
16867         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16868         __ieee_instruction_pointer to __unused.
16869         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16870         __ieee_instruction_pointer.
16871         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16872         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16873         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16874         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16875         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16876         Mark dxc-field as reserved.
16878 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16880         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16881         if the weak reference is not null.
16883 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16885         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16887         [BZ #11214]
16888         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16890 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16892         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16893         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16894         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16895         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16896         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16897         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16898         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16899         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16900         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16901         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16902         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16903         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16904         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16905         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16906         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16907         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16908         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16909         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16911 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16913         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16914         register other than r0 for tabort, it has special meaning.
16915         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16916         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16917         transaction before starting syscall.
16919 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16921         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16923 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16925         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16927         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16928         * sysdeps/x86_64/rtld-memset.S: Likewise.
16929         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16930         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16931         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16932         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16934         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16936 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16938         * debug/strcpy_chk.c: Improve performance.
16939         * debug/stpcpy_chk.c: Likewise.
16940         * sysdeps/x86_64/strcpy_chk.S: Remove.
16941         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16943         [BZ #18240]
16944         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16946 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16948         [BZ #15128]
16949         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16950         ifuncmain8.
16951         (modules-names): Add ifuncmod8.
16952         ($(objpfx)ifuncmain8): New rule.
16953         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16954         <cpuid.h>.
16955         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16956         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16957         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16958         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16959         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16960         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16961         * sysdeps/x86_64/ifuncmain8.c: New file.
16962         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16963         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16964         Removed.
16965         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16966         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16967         Change rtld_savespace_sse to __glibc_unused2.
16968         (RTLD_CHECK_FOREIGN_CALL): Removed.
16969         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16970         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16971         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16973 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16975         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16977 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16979         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16980         Unconditionally set __fpcr to avoid uninialized warning.
16981         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16983 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16985         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16986         is corrupt.
16988         * malloc/arena.c (arena_get2): Drop unused argument.
16989         (arena_lock): Adjust.
16990         (arena_get_retry): Likewise.
16992 2015-08-24  Andreas Schwab  <schwab@suse.de>
16994         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16995         Don't define.
16996         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16997         (__ASSUME_IPC64): Don't undef.
16998         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16999         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17000         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17001         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17002         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17003         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17004         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17005         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17006         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17007         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17008         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17009         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17010         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17011         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17012         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17013         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17014         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17015         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17016         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17017         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17018         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17020 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17022         * manual/Makefile (install): Only build manual when perl is available.
17024 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17026         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17027         '#undef memcpy' by '#undef memchr'.
17029 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17031         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17032         memchr not point to the internal __GI_memchr implementation.
17034 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17036         * timezone/Makefile (CFLAGS-zdump.c): Remove
17037         -Wno-strict-prototypes.
17038         (CFLAGS-zic.c): Likewise.
17039         (CFLAGS-ialloc.c): Likewise.
17040         (CFLAGS-scheck.c): Likewise.
17042         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17043         -Wno-error=undef.
17045 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17047         * i386/i686/multiarch/strcasestr-c.c: Removed.
17048         * x86_64/multiarch/strcasestr.c: Likewise.
17049         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17050         Remove strcasestr.
17052 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17054         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17056         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17057         variables for high and low parts before possibly modifying them.
17059 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17061         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17062         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17063         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17064         of "multiarch/init-arch.h".
17065         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17066         * sysdeps/x86/init-arch.h: This.
17068 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17070         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17071         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17073 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17075         [BZ #17787]
17076         * manual/macros.texi: Add twoexp macro.
17077         * manual/filesys.texi: Fix exponents.
17078         * manual/llio.texi: Likewise.
17079         * manual/stdio.texi: Likewise.
17081 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17083         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17084         incorrect use.
17086 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17088         [BZ #18370]
17089         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17090         whose real or imaginary part has small absolute value.
17091         * math/s_csqrtf.c (__csqrtf): Likewise.
17092         * math/s_csqrtl.c (__csqrtl): Likewise.
17093         * math/auto-libm-test-in: Add more tests of csqrt.
17094         * math/auto-libm-test-out: Regenerated.
17095         * sysdeps/i386/fpu/libm-test-ulps: Update.
17097 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17099         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17100         __ppc_set_ppr_very_low): New functions.
17101         * manual/platform.texi: Add documentation about
17102         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17104 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17106         * string/stpncpy.c (stpncpy): Improve performance using
17107         __strnlen/memcpy/memset.
17109 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17111         [BZ #18796]
17112         * scripts/test-installation.pl: Don't add -lmvec to build options if
17113         libmvec wasn't built.
17115 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17117         [BZ #14341]
17118         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17119         case when there is a gap between DT_REL and DT_JMPREL sections.
17120         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17121         (LDFLAGS-tst-split-dynreloc): New.
17122         (tst-split-dynreloc-ENV): Likewise.
17123         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17124         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17126 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17128         [BZ #18822]
17129         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17130         attribute_hidden.
17131         (__xstat64_conv): Likewise.
17132         (__xstat32_conv): Likewise.
17134 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17136         [BZ #18822]
17137         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17138         Don't load %ebx when calling __setcontext.  Call __setcontext
17139         with HIDDEN_JUMPTARGET.
17140         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17141         libc_hidden_def.
17143 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17145         * sysdeps/i386/i686/Makefile
17146         [$(subdir) == string] (sysdep_routines): Moved to ...
17147         * sysdeps/i386/Makefile: Here.
17148         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17149         * sysdeps/i386/cacheinfo.c: Here.
17150         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17151         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17152         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17153         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17155 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17157         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17158         __i586__ is defined.
17159         (HAS_I686): Defined to 1 if __i686__ is defined.
17161 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17163         * elf/Makefile [$(have-z-execstack) = yes]
17164         (CPPFLAGS-tst-execstack.c): New variable.
17166         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17167         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17168         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17169         UTMPX || _HAVE_UT_TV].
17170         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17171         UTMPX || _HAVE_UT_TV - 0].
17173 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17175         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17176         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17177         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17179 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17181         * sysdeps/powerpc/dl-procinfo.c:
17182         (_dl_powerpc_cap_flags): Added missing strings for some
17183         hwcap features.
17184         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17186 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17188         Port the 0x7efe...feff pattern to GCC 6.
17189         See Steve Ellcey's bug report in:
17190         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17191         * string/memrchr.c (MEMRCHR):
17192         * string/rawmemchr.c (RAWMEMCHR):
17193         * string/strchr.c (strchr):
17194         * string/strchrnul.c (STRCHRNUL):
17195         Rewrite code to avoid issues with signed shift overflow.
17197 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17199         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17200         whether cpuid is available only if HAS_CPUID is 0.
17201         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17202         (HAS_I586): Likewise.
17203         (HAS_I686): Likewise.
17205 2015-08-18  Zack Weinberg  <zackw@panix.com>
17207         * misc/Versions (libc): Add GLIBC_2.23.
17209 2015-08-18  Alan Modra  <amodra@gmail.com>
17211         [BZ #18421]
17212         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17213         .Lp__global.
17214         (_start): Load %dp via .Lp__global.
17215         [!SHARED]: Use .section .rodata.
17217 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17219         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17220         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17222 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17224         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17225         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17227 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17229         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17230         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17232 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17234         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17235         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17237 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17239         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17240         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17242 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17244         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17245         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17247 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17249         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17251 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17253         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17254         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17255         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17256         (__ASSUME_LWS_CAS): Delete.
17258 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17260         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17261         * sysdeps/hppa/configure: Regenerated.
17262         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17263         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17264         * sysdeps/hppa/nptl/tls.h: Likewise.
17266 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17268         [BZ #18823]
17269         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17270         for scaling up small arguments.
17271         * math/s_csqrtf.c (__csqrtf): Likewise.
17272         * math/s_csqrtl.c (__csqrtl): Likewise.
17273         * math/auto-libm-test-in: Add more tests of csqrt.
17274         * math/auto-libm-test-out: Regenerated.
17276 2015-08-17  Andreas Schwab  <schwab@suse.de>
17278         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17279         version set GLIBC_2.19.
17281 2015-08-16  Zack Weinberg  <zackw@panix.com>
17283         [BZ #18681]
17284         * misc/regexp.h: This interface is no longer supported.
17285         Remove all contents, leaving only an #error directive.
17286         * misc/regexp.c (loc1, loc2, locs, step, advance):
17287         Demote to compatibility symbols.
17289 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17291         [BZ #18084]
17292         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17293         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17294         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17295         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17296         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17297         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17298         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17299         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17300         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17302 2015-08-15  Zack Weinberg  <zackw@panix.com>
17304         [BZ #18795]
17305         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17306         buffer length is known to be too large, not if it's known to be
17307         small enough.
17308         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17309         overflow at runtime, involving a length parameter, twice: once
17310         with a compile-time constant length parameter, once without.
17312 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17314         [BZ #18824]
17315         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17316         scaling x * y up instead of down.
17317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17318         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17319         * math/auto-libm-test-in: Add more tests of fma.
17320         * math/auto-libm-test-out: Regenerated.
17322 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17324         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17326 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17328         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17329         unnecessary movq.
17330         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17331         Likewise.
17333 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17335         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17336         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17337         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17338         and tgamma.
17339         * math/auto-libm-test-out: Regenerated.
17340         * sysdeps/i386/fpu/libm-test-ulps: Update.
17341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17343         [BZ #16520]
17344         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17345         (__tanh): Force underflow exception for arguments with small
17346         absolute value.
17347         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17348         (__tanhf): Force underflow exception for arguments with small
17349         absolute value.
17350         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17351         (__tanhl): Force underflow exception for arguments with small
17352         absolute value.
17353         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17354         (__tanhl): Force underflow exception for arguments with small
17355         absolute value.
17356         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17357         (__tanhl): Force underflow exception for arguments with small
17358         absolute value.
17359         * math/auto-libm-test-in: Add more tests of tanh.
17360         * math/auto-libm-test-out: Regenerated.
17361         * sysdeps/i386/fpu/libm-test-ulps: Update.
17363 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17365         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17366         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17368 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17370         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17371         <cpuid.h>.
17373 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17375         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17376         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17378 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17380         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17381         Remove $(objpfx)init-arch.o.
17382         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17383         init-arch.
17384         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17385         (INIT_ARCH_EXT): Defined as empty.
17386         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17387         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17388         __init_cpu_features call.  Replace HAS_XXX with
17389         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17390         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17391         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17392         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17393         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17394         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17395         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17396         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17397         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17398         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17399         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17400         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17401         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17402         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17403         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17404         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17405         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17406         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17408         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17409         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17411         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17412         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17413         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17414         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17415         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17416         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17417         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17418         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17419         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17420         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17421         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17422         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17423         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17424         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17426 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17428         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17429         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17430         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17431         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17432         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17433         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17434         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17435         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17436         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17437         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17438         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17439         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17440         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17441         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17442         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17443         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17444         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17445         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17446         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17447         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17448         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17449         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17450         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17451         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17452         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17453         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17454         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17455         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17456         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17457         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17458         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17459         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17460         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17461         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17462         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17463         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17464         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17465         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17466         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17467         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17468         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17469         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17470         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17472 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17474         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17475         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17476         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17477         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17478         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17479         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17480         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17481         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17482         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17483         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17484         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17485         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17486         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17487         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17488         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17489         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17490         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17491         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17492         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17493         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17495         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17496         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17497         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17498         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17499         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17500         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17501         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17502         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17503         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17504         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17505         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17506         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17507         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17508         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17509         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17510         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17511         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17512         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17513         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17514         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17515         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17516         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17518 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17520         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17521         (dl_platform_init): Call init_cpu_features.
17522         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17523         * sysdeps/i386/i686/cacheinfo.c
17524         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17525         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17526         * sysdeps/i386/i686/multiarch/Versions: Removed.
17527         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17528         Removed.
17529         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17530         * sysdeps/unix/sysv/linux/x86/Makefile
17531         (libpthread-sysdep_routines): Remove init-arch.
17532         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17533         <sysdeps/x86_64/dl-procinfo.c> instead of
17534         sysdeps/generic/dl-procinfo.c>.
17535         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17536         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17537         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17538         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17539         [$(subdir) == elf] (tests-static): Add
17540         tst-get-cpu-features-static.
17541         * sysdeps/x86/Versions: New file.
17542         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17543         * sysdeps/x86/cpu-features.c: Likewise.
17544         * sysdeps/x86/cpu-features.h: Likewise.
17545         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17546         * sysdeps/x86/libc-start.c: Likewise.
17547         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17548         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17549         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17550         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17551         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17552         Assume USE_MULTIARCH is defined and don't check it.
17553         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17554         (is_amd): Likewise.
17555         (max_cpuid): Likewise.
17556         (intel_check_word): Likewise.
17557         (__cache_sysconf): Don't call __init_cpu_features.
17558         (__x86_preferred_memory_instruction): Removed.
17559         (init_cacheinfo): Don't call __init_cpu_features. Replace
17560         __cpu_features with GLRO(dl_x86_cpu_features).
17561         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17562         (dl_platform_init): Call init_cpu_features.
17563         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17564         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17565         * sysdeps/x86_64/multiarch/Versions: Removed.
17566         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17567         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17568         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17569         Removed.
17570         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17572 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17574         [BZ #18820]
17575         * libio/Makefile (test-fmemopen-mem): New test.
17576         * libio/test-fmemopen.c (do_bz18820): New test.
17577         * libio/fmemopen.c (__fmemopen): Fix memory leak.
17578         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
17580 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17582         [BZ #16734]
17583         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
17584         (FREE_BUF): Delete.
17585         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
17586         * libio/genops.c (_IO_setb): Use malloc and free directly.
17587         (_IO_default_doallocate, _IO_default_finish): Likewise.
17588         ( _IO_unbuffer_all): Likewise.
17589         ( libc_freeres_fn): Likewise.
17590         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17591         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17592         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
17593         (_IO_wdefault_doallocate): Likewise.
17595 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17597         [BZ #18086]
17598         * sysdeps/posix/nice.c (nice): Restore old errno.
17599         * posix/tst-nice.c (do_test): Add test for BZ #18086.
17601 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
17603         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
17605 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17607         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
17608         __bcopy and add a weak_alias to bcopy.
17609         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
17610         for static build.
17612         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
17613         cleanup macro usage.
17614         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
17615         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
17616         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
17617         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
17618         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
17619         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
17620         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
17621         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17622         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17623         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
17624         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17625         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
17626         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17627         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
17628         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17629         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
17630         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
17631         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
17632         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
17634         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
17635         libc_hidden_def.
17636         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
17638         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
17639         (sysdep_routines): Add strstr-ppc64.
17640         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
17642 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
17644         [BZ #18778]
17645         * elf/Makefile (tests): Add Add tst-nodelete2.
17646         (modules-names): Add tst-nodelete2mod.
17647         (tst-nodelete2mod.so-no-z-defs): New.
17648         ($(objpfx)tst-nodelete2): Likewise.
17649         ($(objpfx)tst-nodelete2.out): Likewise.
17650         (LDFLAGS-tst-nodelete2): Likewise.
17651         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
17652         out of loop through all loaded libraries.
17653         * elf/tst-nodelete2.c: New file.
17654         * elf/tst-nodelete2mod.c: Likewise.
17655         * elf/tst-znodelete-zlib.cc: Delete.
17657 2015-08-11  Andreas Schwab  <schwab@suse.de>
17659         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
17660         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
17661         (__openat64_nocancel): Likewise.
17663 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
17665         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
17666         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
17667         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
17668         * math/auto-libm-test-out: Regenerated.
17669         * sysdeps/i386/fpu/libm-test-ulps: Update.
17670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17672 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17674         [BZ #18790]
17675         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
17676         threshold for returning +/- 1.
17677         * math/auto-libm-test-in: Add more tests of tanh.
17678         * math/auto-libm-test-out: Regenerated.
17679         * sysdeps/i386/fpu/libm-test-ulps: Update.
17681 2015-08-10  Andreas Schwab  <schwab@suse.de>
17683         [BZ #18781]
17684         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
17685         MORE_OFLAGS to oflag.
17686         * io/test-lfs.c (do_test): Test openat64.
17688 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
17690         [BZ #18789]
17691         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
17692         smaller threshold for returning the argument.
17693         * math/auto-libm-test-in: Add more tests of sinh.
17694         * math/auto-libm-test-out: Regenerated.
17695         * sysdeps/i386/fpu/libm-test-ulps: Update.
17697 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
17699         [BZ #18674]
17700         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
17701         break.
17703 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
17705         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
17706         (generated): Don't add $(addprefix z.,$(tzfiles)).
17708 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17710         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
17711         * scripts/sysd-rules.awk: Likewise.
17713 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17715         * iconvdata/tst-tables.sh: Change echo -n to printf.
17716         * nss/db-Makefile: Likewise.
17717         * posix/tst-getconf.sh: Likewise.
17718         * stdio-common/tst-unbputc.sh: Likewise.
17720 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
17722         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
17723         MADV_*_PAGES defines behind this feature check.
17725 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
17727         [BZ #18480]
17728         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
17729         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
17730         Define.
17731         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
17732         LOAD_REGS_5, LOAD_REGS_6): Update.
17733         (INTERNAL_SYSCALL): Update using new LOAD defines.
17734         (INTERNAL_SYSCALL_NCS): Likewise.
17735         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
17737 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17739         [BZ #16734]
17740         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
17742 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17744         [BZ #17905]
17745         * catgets/Makefile (tst-catgets-mem): New test.
17746         * catgets/catgets.c (catopen): Don't use unbounded alloca.
17747         * catgets/open_catalog.c (__open_catalog): Likewise.
17748         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
17750 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
17752         [BZ #18787]
17753         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
17754         clobber registers.
17755         (atomic_compare_and_exchange_val_acq): Use register asms to assign
17756         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
17757         Cast return to __typeof (oldval).
17759 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17761         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17762         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17763         and delete sys/syscall.h include.
17765 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17767         [BZ #16517]
17768         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17769         (tan): Force underflow exception for arguments with small absolute
17770         value.
17771         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17772         (__kernel_tanf): Force underflow exception for arguments with
17773         small absolute value.
17774         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17775         (__kernel_tanl): Force underflow exception for arguments with
17776         small absolute value.
17777         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17778         (__kernel_tanl): Force underflow exception for arguments with
17779         small absolute value.
17780         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17781         (__kernel_tanl): Force underflow exception for arguments with
17782         small absolute value.
17783         * math/auto-libm-test-in: Add more tests of tan.
17784         * math/auto-libm-test-out: Regenerated.
17786 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17788         Fix sysdeps/i386/fpu/s_scalbn.S build
17790         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17792 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17794         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17796 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17798         Fix gcrt0.o compilation
17800         When static-start-installed-name is different from
17801         start-installed-name, we must not use the shared objects.
17803         * csu/Makefile
17804         (extra-objs): Add gmon-start.o when building shared library and
17805         $(static-start-installed-name) is different from
17806         $(start-installed-name).
17807         $(objpfx)g$(static-start-installed-name): When building shared
17808         library and $(static-start-installed-name) is different from
17809         $(static-start-installed-name), revert to non-shared rule,
17810         i.e. using $(objpfx)% and gmon-start.o.
17812 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17814         [BZ #16519]
17815         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17816         (__ieee754_sinh): Force underflow exception for arguments with
17817         small absolute value.
17818         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17819         (__ieee754_sinhf): Force underflow exception for arguments with
17820         small absolute value.
17821         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17822         (__ieee754_sinhl): Force underflow exception for arguments with
17823         small absolute value.
17824         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17825         (__ieee754_sinhl): Force underflow exception for arguments with
17826         small absolute value.
17827         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17828         (__ieee754_sinhl): Force underflow exception for arguments with
17829         small absolute value.
17830         * math/auto-libm-test-in: Add more tests of sinh.
17831         * math/auto-libm-test-out: Regenerated.
17832         * sysdeps/i386/fpu/libm-test-ulps: Update.
17834 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17836         * libio/oldfileops.c: Include unistd.h.
17838 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17840         * stdlib/isomac.c: Include ctype.h.
17842 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17844         * dirent/tst-seekdir.c (main): Converted to ...
17845         (do_test): ... this.
17846         (TEST_FUNCTION): New macro.
17847         Include test-skeleton.c.
17848         * elf/tst-dlmodcount.c (main): Converted to ...
17849         (do_test): ... this.
17850         (TEST_FUNCTION): New macro.
17851         Include test-skeleton.c.
17852         * elf/tst-order-main.c (main): Converted to ...
17853         (do_test): ... this.
17854         (TEST_FUNCTION): New macro.
17855         Include test-skeleton.c.
17856         * elf/tst-pie2.c (main): Converted to ...
17857         (do_test): ... this.
17858         (TEST_FUNCTION): New macro.
17859         Include test-skeleton.c.
17860         * inet/tst-ether_aton.c (main): Converted to ...
17861         (do_test): ... this.
17862         (TEST_FUNCTION): New macro.
17863         Include test-skeleton.c.
17864         * misc/tst-mntent.c (main): Converted to ...
17865         (do_test): ... this.
17866         (TEST_FUNCTION): New macro.
17867         Include test-skeleton.c.
17868         * misc/tst-tsearch.c (main): Converted to ...
17869         (do_test): ... this.
17870         (TEST_FUNCTION): New macro.
17871         Include test-skeleton.c.
17872         * posix/tst-regexloc.c (main): Converted to ...
17873         (do_test): ... this.
17874         (TEST_FUNCTION): New macro.
17875         Include test-skeleton.c.
17876         * resolv/tst-aton.c (main): Converted to ...
17877         (do_test): ... this.
17878         (TEST_FUNCTION): New macro.
17879         Include test-skeleton.c.
17880         * stdio-common/test-fwrite.c (main): Converted to ...
17881         (do_test): ... this.
17882         (TEST_FUNCTION): New macro.
17883         Include test-skeleton.c.
17884         * stdio-common/tst-ferror.c (main): Converted to ...
17885         (do_test): ... this.
17886         (TEST_FUNCTION): New macro.
17887         Include test-skeleton.c.
17888         * stdio-common/tst-printf.c (main): Converted to ...
17889         (do_test): ... this.
17890         (TEST_FUNCTION): New macro.
17891         Include test-skeleton.c.
17892         * stdio-common/tst-printfsz.c (main): Converted to ...
17893         (do_test): ... this.
17894         (TEST_FUNCTION): New macro.
17895         Include test-skeleton.c.
17896         * stdlib/tst-strtod.c (main): Converted to ...
17897         (do_test): ... this.
17898         (TEST_FUNCTION): New macro.
17899         Include test-skeleton.c.
17900         * string/tst-strlen.c (main): Converted to ...
17901         (do_test): ... this.
17902         (TEST_FUNCTION): New macro.
17903         Include test-skeleton.c.
17904         * string/tst-svc.c (main): Converted to ...
17905         (do_test): ... this.
17906         (TEST_FUNCTION): New macro.
17907         Include test-skeleton.c.
17908         * time/tst-strptime.c (main): Converted to ...
17909         (do_test): ... this.
17910         (TEST_FUNCTION): New macro.
17911         Include test-skeleton.c.
17912         * timezone/tst-timezone.c (main): Converted to ...
17913         (do_test): ... this.
17914         (TEST_FUNCTION): New macro.
17915         Include test-skeleton.c.
17917 2015-08-05  Zack Weinberg  <zackw@panix.com>
17919         * misc/regexp.h: Update comments.
17921 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17923         [BZ #18635]
17924         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17925         before return label.
17927 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17929         [BZ #18661]
17930         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17931         when calling __errno_location.
17932         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17933         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17935 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17937         [BZ #18661]
17938         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17939         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17940         __gettimeofday.
17942 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17944         [BZ #18661]
17945         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17946         (__start_context): Don't use pop to restore %rdi so that stack
17947         is aligned to 16 bytes when calling __setcontext.
17949 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17951         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17952         only for libc.
17953         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17955 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17957         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17958         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17959         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17961 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17963         * string/memccpy.c (memccpy):
17964         Improve performance by using memchr/memcpy/__mempcpy.
17966 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17968         * string/strncpy.c (strncpy):
17969         Improve performance by using __strnlen/memcpy.
17971 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17973         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17974         Optimize to avoid an unnecessary FPCR read.
17976 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17978         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17979         Optimize to reduce FPCR/FPSR accesses.
17981 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17983         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17984         dead->data[category] != NULL.
17986 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17988         [BZ #18647]
17989         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17990         and |x| close to 1, use absolute value of x when computing log.
17991         * math/auto-libm-test-in: Add more tests of pow.
17992         * math/auto-libm-test-out: Regenerated.
17994 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17996         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17997         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17998         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18000 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18002         [BZ #18525]
18003         * locales/km_KH: Remove timezone definition.
18004         * locales/lo_LA: Likewise.
18005         * locales/my_MM: Likewise.
18006         * locales/nan_TW@latin: Likewise.
18007         * locales/th_TH: Likewise.
18008         * locales/uk_UA: Likewise.
18010 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18012         [BZ #18265]
18013         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18014         (wcsncat): Likewise.
18015         (wcscmp): Likewise.
18016         (wcsncmp): Likewise.
18018 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18020         * test-skeleton.c (usage): New function.
18021         (main): Call usage when opt is '?'.
18023 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18025         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18026         before first use.
18028 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18030         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18031         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18032         in there too.
18034 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18036         * version.h (RELEASE): Set to "development".
18037         (VERSION): Set to "2.22.90"
18039         * version.h (RELEASE): Set to "stable".
18040         (VERSION): Set to "2.22"
18041         * include/features.h (__GLIBC_MINOR__): Set to 22.
18043 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18045         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18046         Restructure macro to avoid "value computed is not used" warning.
18047         (atomic_compare_and_exchange_val_acq): Likewise.
18049 2015-08-04  Andreas Schwab  <schwab@suse.de>
18051         [BZ #18635]
18052         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18053         ret.
18054         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18056 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18058         * po/pl.po: Updated translation.
18059         * po/uk.po: Likewise.
18060         * po/fi.po: Likewise.
18061         * po/ko.po: Likewise.
18062         * po/ru.po: Likewise.
18063         * po/vi.po: Likewise.
18065 2015-07-31  Zack Weinberg  <zackw@panix.com>
18067         [BZ #18681]
18068         * regexp.h: Add unconditional #warning stating that this header
18069         will be removed soon.  Revise banner comment to match.
18070         (compile): Consistently use ERROR instead of RETURN to report
18071         errors (partial fix for bz#18681).
18072         * regexp.c: Don't include regexp.h. Remove some unnecessary
18073         declarations.
18075 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18077         * po/libc.pot: Regenerated.
18079 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18081         [BZ #18740]
18082         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18083         float-vlen4-arch-ext-cflags): Removed.
18084         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18085         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18087 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18089         [BZ #14113]
18090         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18091         aligned to __aligned__.
18092         (pthread_cond_t, pthread_rwlock_t): Likewise.
18094 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18096         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18098 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18100         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18101         (struct sigaction): Change sa_flags from a long to an int, and add
18102         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18104 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18106         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18107         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18108         sysdeps/generic/sysdep.h include.
18109         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18110         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18111         sysdeps/hppa/sysdep.h.
18112         (ENTRY, PSEUDO): Undefine before defining.
18114 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18116         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18117         from scratch to use INTERNAL_SYSCALL.
18119 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18121         [BZ #18078]
18122         * scripts/check-localplt.awk: Support alternate relocations.
18123         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18124         sections.
18125         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18126         malloc entries with + REL R_386_GLOB_DAT.
18127         * sysdeps/x86_64/localplt.data: New file.
18129 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18131         [BZ #18731]
18132         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18133         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18134         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18136 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18138         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18140 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18142         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18143         directly in terms of __sync_fetch_and_add and delete (int) cast.
18145 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18147         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18148         the -D_ASM_IA64_CURRENT_H flag.
18150 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18152         [BZ #18641]
18153         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18155 2015-07-27  Andreas Schwab  <schwab@suse.de>
18157         * conform/conformtest.pl (checknamespace): Filter out string
18158         literals while tokenizing.
18160 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18162         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18163         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18164         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18166 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18168         * nptl/tst-join7mod.c: Add #include <string.h>.
18170 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18172         * sysdeps/nios2/libm-test-ulps: Update.
18174 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18176         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18177         Fix order of arguments to the rt_sigprocmask syscall.
18178         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18179         Likewise.
18181 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18183         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18185 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18187         [BZ #18457]
18188         * nptl/Makefile (tests): New test case tst-join7.
18189         (modules-names): New test case module tst-join7mod.
18190         * nptl/tst-join7.c: New file.
18191         * nptl/tst-join7mod.c: New file.
18192         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18193         all translation units in libc.so, libpthread.so and rtld.
18195 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18199 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18201         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18202         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18203         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18204         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18205         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18206         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18207         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18208         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18209         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18210         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18211         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18212         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18213         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18214         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18215         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18216         implementation.
18218 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18220         [BZ #17711]
18221         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18222         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18223         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18224         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18225         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18226         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18228 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18230         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18231         instead of just saying load lock in the comments.
18233 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18235         * sysdeps/unix/Subdirs: Moved ...
18236         * sysdeps/posix/Subdirs: ... here.
18237         * login/pty.h (struct termios, struct winsize): Add forward decls.
18238         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18239         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18240         * sysdeps/arm/nacl/libc.abilist: Updated.
18241         * sysdeps/nacl/libutil.abilist: New file.
18243         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18244         (SIGWINCH): New macro.
18246         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18247         * sysdeps/arm/nacl/libc.abilist: Add it.
18249 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18251         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18253 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18255         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18256         Swap __glibc_reserved0 and sa_flags order.
18258 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18260         [BZ #18657]
18261         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18262         are pending TLS destructor calls.
18263         * include/link.h (struct link_map): Add concurrency note for
18264         L_TLS_DTOR_COUNT.
18265         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18266         Don't touch the link map flag.  Atomically increment
18267         l_tls_dtor_count.
18268         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18269         Avoid taking the load lock and don't touch the link map flag.
18270         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18271         * stdlib/Makefile (tests): Use it.
18272         * stdlib/tst-tls-atexit.c (do_test): dlopen
18273         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18274         to allow tst-tls-atexit-nodelete test case to use it.
18276 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18278         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18279         to bits/types.h.
18280         (msgqnum_t): New typedef.
18281         (msglen_t): Likewise.
18282         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18283         and msg_qbytes type to msglen_t.
18285 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18287         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18288         pad0 to __glibc_reserved0.
18289         (struct stat64): Likewise.
18291 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18293         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18294         Change sa_flags from a long to an int and add __glibc_reserved0 before
18295         it for padding.
18297 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18299         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18300         anonymous by deleting "siginfo" name.
18302 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18304         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18305         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18306         rather than __nacl_irt_filename.
18307         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18309         * NEWS: New item for arm-nacl port.
18310         * sysdeps/arm/nacl/libc.abilist: New file.
18311         * sysdeps/nacl/ld.abilist: New file.
18312         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18313         * sysdeps/nacl/libanl.abilist: New file.
18314         * sysdeps/nacl/libcrypt.abilist: New file.
18315         * sysdeps/nacl/libdl.abilist: New file.
18316         * sysdeps/nacl/libm.abilist: New file.
18317         * sysdeps/nacl/libpthread.abilist: New file.
18318         * sysdeps/nacl/libresolv.abilist: New file.
18319         * sysdeps/nacl/librt.abilist: New file.
18321 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18323         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18324         __startcontext to initialize the new context.
18325         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18326         up CFI directive to forbid further backtracing.
18328 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18330         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18331         reference.
18332         * charmaps/ANSI_X3.4-1968: Likewise.
18333         * charmaps/BS_4730: Likewise.
18334         * charmaps/BS_VIEWDATA: Likewise.
18335         * charmaps/CP1250: Likewise.
18336         * charmaps/CP1251: Likewise.
18337         * charmaps/CP1252: Likewise.
18338         * charmaps/CP1253: Likewise.
18339         * charmaps/CP1254: Likewise.
18340         * charmaps/CP1255: Likewise.
18341         * charmaps/CP1256: Likewise.
18342         * charmaps/CSN_369103: Likewise.
18343         * charmaps/EBCDIC-DK-NO: Likewise.
18344         * charmaps/GB_1988-80: Likewise.
18345         * charmaps/GREEK-CCITT: Likewise.
18346         * charmaps/GREEK7: Likewise.
18347         * charmaps/INIS-8: Likewise.
18348         * charmaps/ISIRI-3342: Likewise.
18349         * charmaps/ISO_2033-1983: Likewise.
18350         * charmaps/ISO_5427-EXT: Likewise.
18351         * locales/POSIX: Likewise.
18352         * locales/ar_SA: Likewise.
18353         * locales/be_BY: Likewise.
18354         * locales/be_BY@latin: Likewise.
18355         * locales/ca_ES: Likewise.
18356         * locales/cs_CZ: Likewise.
18357         * locales/da_DK: Likewise.
18358         * locales/de_BE: Likewise.
18359         * locales/de_CH: Likewise.
18360         * locales/de_LU: Likewise.
18361         * locales/en_AU: Likewise.
18362         * locales/en_BW: Likewise.
18363         * locales/en_CA: Likewise.
18364         * locales/en_DK: Likewise.
18365         * locales/en_GB: Likewise.
18366         * locales/en_IE: Likewise.
18367         * locales/en_NZ: Likewise.
18368         * locales/en_ZA: Likewise.
18369         * locales/en_ZW: Likewise.
18370         * locales/es_AR: Likewise.
18371         * locales/es_BO: Likewise.
18372         * locales/es_CL: Likewise.
18373         * locales/es_CO: Likewise.
18374         * locales/es_DO: Likewise.
18375         * locales/es_EC: Likewise.
18376         * locales/es_ES: Likewise.
18377         * locales/es_HN: Likewise.
18378         * locales/es_MX: Likewise.
18379         * locales/es_PA: Likewise.
18380         * locales/es_PE: Likewise.
18381         * locales/es_PY: Likewise.
18382         * locales/es_SV: Likewise.
18383         * locales/es_US: Likewise.
18384         * locales/es_UY: Likewise.
18385         * locales/es_VE: Likewise.
18386         * locales/et_EE: Likewise.
18387         * locales/fa_IR: Likewise.
18388         * locales/fo_FO: Likewise.
18389         * locales/fr_CA: Likewise.
18390         * locales/fr_CH: Likewise.
18391         * locales/gv_GB: Likewise.
18392         * locales/he_IL: Likewise.
18393         * locales/hr_HR: Likewise.
18394         * locales/id_ID: Likewise.
18395         * locales/is_IS: Likewise.
18396         * locales/it_CH: Likewise.
18397         * locales/iw_IL: Likewise.
18398         * locales/kl_GL: Likewise.
18399         * locales/ko_KR: Likewise.
18400         * locales/kw_GB: Likewise.
18401         * locales/lg_UG: Likewise.
18402         * locales/lt_LT: Likewise.
18403         * locales/lv_LV: Likewise.
18404         * locales/mi_NZ: Likewise.
18405         * locales/nhn_MX: Likewise.
18406         * locales/nl_BE: Likewise.
18407         * locales/pl_PL: Likewise.
18408         * locales/sk_SK: Likewise.
18409         * locales/sl_SI: Likewise.
18410         * locales/sv_FI: Likewise.
18411         * locales/tl_PH: Likewise.
18412         * locales/tr_TR: Likewise.
18413         * locales/vi_VN: Likewise.
18415 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18417         [BZ #17475]
18418         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18419         of tu_IN and bh_IN.
18421 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18423         [BZ #18694]
18424         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18425         bits/wordsize.h.
18426         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18428 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18430         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18431         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18432         (spawn_thread): New function.
18433         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18434         (do_test): ... here.  Use IS_LOADED to test for its
18435         availability.
18437 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18439         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18441 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18443         [BZ #18696]
18444         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18445         si_addr_bnd.
18446         (si_lower): New.
18447         (si_upper): Likewise.
18449 2015-07-16  David S. Miller  <davem@davemloft.net>
18451         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18453 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18455         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18456         buffer.
18457         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18458         fail output information.
18460 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18463         and strstr-ppc64..
18464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18465         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18466         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18467         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18468         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18470 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18472         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18473         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18474         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18475         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18477 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18479         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18480         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18481         rtld_hidden_proto.
18482         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18484 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18486         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18487         the test can fail.
18489         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18491         [BZ #18676]
18492         * elf/tst-nodelete-opened.c: New test case.
18493         * elf/tst-nodelete-opened-lib.c: New test case module.
18494         * elf/Makefile (tests, modules-names): Use them.
18495         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18496         early.
18498 2015-07-15  David S. Miller  <davem@davemloft.net>
18500         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18501         futex-intenal.h
18502         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18503         * sysdeps/sparc/sparc64/Makefile: Likewise.
18504         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18505         Remove space from macro define.
18506         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18508 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18510         [BZ #17475]
18511         * locale/iso-639.def: Update Bhili and Tulu language codes as
18512         per iso639-3.
18514 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18516         * elf/tst-leaks1.c (main): Converted to ...
18517         (do_test): ... this.
18518         (TEST_FUNCTION): New macro.
18519         Include test-skeleton.c.
18520         * localedata/tst-langinfo.c (main): Converted to ...
18521         (do_test): ... this.
18522         (TEST_FUNCTION): New macro.
18523         Include test-skeleton.c.
18524         * math/test-fpucw.c (main): Converted to ...
18525         (do_test): ... this.
18526         (TEST_FUNCTION): New macro.
18527         Include test-skeleton.c.
18528         * math/test-tgmath.c (main): Converted to ...
18529         (do_test): ... this.
18530         (TEST_FUNCTION): New macro.
18531         Include test-skeleton.c.
18532         * math/test-tgmath2.c (main): Converted to ...
18533         (do_test): ... this.
18534         (TEST_FUNCTION): New macro.
18535         Include test-skeleton.c.
18536         * setjmp/tst-setjmp.c (main): Converted to ...
18537         (do_test): ... this.
18538         (TEST_FUNCTION): New macro.
18539         Include test-skeleton.c.
18540         * stdio-common/tst-sscanf.c (main): Converted to ...
18541         (do_test): ... this.
18542         (TEST_FUNCTION): New macro.
18543         Include test-skeleton.c.
18544         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18545         (do_test): ... this.
18546         (TEST_FUNCTION): New macro.
18547         Include test-skeleton.c.
18549         * elf/tst-audit9.c (main): Converted to ...
18550         (do_test): ... this.
18551         (TEST_FUNCTION): New macro.
18552         Include test-skeleton.c.
18554 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18556         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18558 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18560         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18561         New variable.
18563 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18565         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18567 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18569         * sysdeps/generic/dl-fileid.h: New file.
18570         * sysdeps/posix/dl-fileid.h: New file.
18571         * sysdeps/nacl/dl-fileid.h: New file.
18572         * include/link.h: Include <dl-fileid.h>.
18573         (struct link_map): Replace l_dev and l_ino with l_file_id.
18574         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
18575         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
18576         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
18578 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18580         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
18582 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18584         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
18585         Add iff $CXX is set.
18586         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
18587         Likewise.
18588         (tst-nodelete-zmodiff): Likewise.
18589         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
18591 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18593         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
18595 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18597         * sysdeps/aarch64/fpu/math_private.h
18598         (define math_opt_barrier): Add AArch64 version.
18599         (math_force_eval): Likewise.
18601 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
18603         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
18605 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18607         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
18608         %ld with %jd and cast to intmax_t.
18609         (do_test_length_zero): Likewise.
18611 2015-07-10  Roland McGrath  <roland@hack.frob.com>
18613         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
18615 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
18617         * sysdeps/tile/libm-test-ulps: Regenerated.
18619         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
18620         Comment out the whole function, not just its body.
18622 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18624         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
18625         locks.
18627         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
18629 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18631         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
18632         (sem_assume_only_signals_cause_futex_EINTR): Remove.
18634 2015-07-10  Torvald Riegel  <triegel@redhat.com>
18636         * sysdeps/nptl/futex-internal.h: New file.
18637         * sysdeps/nacl/futex-internal.h: New file.
18638         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
18639         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
18640         error checking.
18641         (setxid_unmark_thread): Likewise.
18642         (__nptl_setxid): Likewise.
18643         (__wait_lookup_done): Likewise.
18644         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
18645         * nptl/nptl-init.c (sighandler_setxid): Likewise.
18646         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
18647         * nptl/pthread_once.c (clear_once_control): Likewise.
18648         (__pthread_once_slow): Likewise.
18649         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18650         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
18651         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
18652         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18653         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
18654         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
18655         Likewise.
18656         (__pthread_rwlock_rdlock): Likewise.
18657         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18658         Likewise.
18659         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
18660         Likewise.
18661         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18662         Likewise.
18663         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
18664         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
18665         Likewise.
18666         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
18667         __ASSUME_PRIVATE_FUTEX check.
18668         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
18669         Check that shared futexes are supported.
18670         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
18671         wrappers with error checking.
18672         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
18673         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
18674         * nptl/pthread_barrierattr_setpshared.c
18675         (pthread_barrierattr_setpshared): Check that shared futexes are
18676         supported.
18677         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
18678         Likewise.
18679         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
18680         Likewise.
18681         * nptl/sem_init.c (futex_private_if_supported): Remove.
18682         (__new_sem_init): Adapt and check that shared futexes are supported.
18683         * nptl/sem_open.c (sem_open): Likewise.
18684         * nptl/sem_post.c (futex_wake): Remove.
18685         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
18686         (do_futex_wait): Use futex wrappers with error checking.
18687         * nptl/sem_wait.c: Include lowlevellock.h.
18688         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
18689         Use futex_supports_pshared.
18690         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
18691         Use futex wrappers with error checking.
18692         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
18693         Likewise.
18694         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
18695         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
18696         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
18697         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
18698         (futex_wake): Likewise.
18699         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
18700         (do_futex_wait): Use futex wrappers with error checking.
18701         (__new_sem_wait_slow): Update EINTR handling.
18702         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
18704 2015-07-09  Martin Sebor  <msebor@redhat.com>
18706         [BZ #18435]
18707         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18708         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
18709         * nptl/Makefile (test-xfail-tst-once5): Define.
18711 2015-07-09  Roland McGrath  <roland@hack.frob.com>
18713         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
18714         * elf/dl-minimal.c: For readability, reorder some definitions and
18715         introduce more page breaks.  Include <stdio.h>.
18716         (__libc_fatal): New function.
18718         * include/unistd.h: Add rtld_hidden_proto for _exit.
18719         * posix/_exit.c: Add rtld_hidden_def.
18720         * sysdeps/mach/hurd/_exit.c: Likewise.
18721         * sysdeps/nacl/_exit.c: Likewise.
18722         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
18723         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
18725 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
18727         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
18728         bndmov encoding with zero displacement.
18730 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18731             H.J. Lu  <hongjiu.lu@intel.com>
18733         [BZ #18134]
18734         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
18735         * sysdeps/i386/configure: Regenerated.
18736         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
18737         (_dl_runtime_profile): Save and restore Intel MPX return bound
18738         registers when calling _dl_call_pltexit.  Add
18739         PRESERVE_BND_REGS_PREFIX before return.
18740         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
18741         (LRV_BND1_OFFSET): Likewise.
18742         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
18743         lrv_bnd1.
18744         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
18745         typo in bndmov encoding.
18746         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
18747         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
18748         branch instructions to preserve bounds.
18750 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18753         [GLIBC_2.22]: Add fmemopen.
18755 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18757         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18758         returns an error, also try to use host port from __mach_host_self for
18759         the __vm_wire call.
18760         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18762 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18764         [BZ #18400]
18765         [BZ #18648]
18766         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18767         Fix pr_uid and pr_gid members.
18768         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18769         definition to elf_greg_t.
18771 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18773         [BZ #18383]
18774         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18775         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18776         * sysdeps/arm/configure: Regenerated.
18777         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18778         (test-xfail-tst-tlsalign-static): Variable removed.
18780         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18781         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18782         rather than explicit 'ln -s'.
18784         * resolv/rpc/netdb.h: New file.
18785         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18787 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18789         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18790         length buffers.
18791         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18792         test-skeleton.c.
18794         [BZ #6544]
18795         [BZ #11216]
18796         [BZ #12836]
18797         [BZ #13151]
18798         [BZ #13152]
18799         [BZ #14292]
18800         * include/stdio.h (fmemopen): Remove hidden prototype.
18801         (__fmemopen): Add new hidden prototype.
18802         * libio/Makefile: Add oldfmemopen object.
18803         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18804         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18805         compliance.
18806         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18807         symbol compatibility.
18808         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18809         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18810         fmemopen.
18811         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18812         on append and read mode.
18813         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18814         fmemopen.
18815         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18816         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18817         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18818         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18819         Likewise.
18820         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18821         [GLIBC_2.22]: Likewise.
18822         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18823         Likewise.
18824         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18825         Likewise.
18826         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18827         [GLIBC_2.22]: Likewise.
18828         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18829         [GLIBC_2.22]: Likewise.
18830         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18831         [GLIBC_2.22]: Likewise.
18832         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18833         [GLIBC_2.22]: Likewise.
18834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18835         [GLIBC_2.22]: Likewise.
18836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18837         [GLIBC_2.22]: Likewise.
18838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18839         [GLIBC_2.22]: Likewise.
18840         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18841         Likewise.
18842         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18843         Likewise.
18844         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18845         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18846         [GLIBC_2.22]: Likewise.
18847         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18848         [GLIBC_2.22]: Likewise.
18849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18850         [GLIBC_2.22]: Likewise.
18851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18852         [GLIBC_2.22]: Likewise.
18853         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18854         Likewise.
18855         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18856         Likewise.
18857         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18858         Likewise.
18859         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18860         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18862 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18864         [BZ #18643]
18865         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18866         IPV6_PATHMTU, and IPV6_DONTFRAG.
18868 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18870         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18871         and _IO_UNBUFFERED.
18872         * libio/oldfileops.c: Likewise.
18873         * libio/wfileops.c: Likewise.
18875 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18877         * nscd/selinux.c: Delete selinux/flask.h include.
18879 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18881         [BZ #18641]
18882         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18883         (putpwent): Likewise.
18884         (getpwnam): Likewise.
18885         (getpwent_r): Likewise.
18886         (getpwuid_r): Likewise.
18887         (getpwnam_r): Likewise.
18888         (fgetpwent_r): Likewise.
18890 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18892         [BZ #18557]
18893         * inet/rcmd.c (__validuser2_sa): Check user first to
18894         short-circuit host check.
18896 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18897             Mikhail Ilin  <m.ilin@samsung.com>
18899         [BZ #17833]
18900         * elf/Makefile (tests): Add tst-nodelete.
18901         (modules-names): Add tst-nodelete-uniquemod.
18902         (tst-nodelete-uniquemod.so-no-z-defs): New.
18903         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18904         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18905         ($(objpfx)tst-nodelete): Likewise.
18906         ($(objpfx)tst-nodelete.out): Likewise.
18907         (LDFLAGS-tst-nodelete): Likewise.
18908         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18909         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18910         implement forced object deletion.
18911         (_dl_close): Pass false to _dl_close_worker.
18912         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18913         * elf/tst-nodelete.cc: New file.
18914         * elf/tst-nodeletelib.cc: Likewise.
18915         * elf/tst-znodeletelib.cc: Likewise.
18916         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18918 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18920         [BZ #18508]
18921         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18922         Depend on $(libdl).
18923         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18924         is not called infinitely times.
18925         (backtrace_helper): New function.
18926         (trace_arg): New struct.
18927         (st1): Enlarge stack size.
18928         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18929         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18930         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18931         Likewise.
18933 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18935         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18937 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18939         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18940         Include sys/types.h instead of bits/types.h.
18941         Remove inclusion of bits/wordsize.h.
18943 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18945         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18946         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18947         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18948         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18949         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18950         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18952 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18954         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18955         link-defines.sym.
18956         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18957         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18958         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18959         and LR_SIZE.
18960         * sysdeps/i386/link-defines.sym: New file.
18962 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18964         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18965         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18966         ($(objpfx)tst-audit3): New rule.
18967         ($(objpfx)tst-audit3.out): Likewise.
18968         * sysdeps/i386/tst-audit3.c: New file.
18969         * sysdeps/i386/tst-audit3.h: Likewise.
18970         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18971         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18973 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18975         [BZ #18633]
18976         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18977         pointer in C code.
18978         (__strcat_c): Likewise.
18979         (__strcat_g): Likewise.
18981 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18983         [BZ #18592]
18984         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18986 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18988         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18989         New function.  (__ieee754_sqrtf): New function.
18990         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18991         New function.
18992         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18993         New function.
18995 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18997         * sysdeps/ieee754/support.c: Remove unused file.
18999 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19001         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19002         registers instead of d ones so the layout is kernel abi compatible.
19003         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19004         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19005         Likewise.
19007 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19009         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19011 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19013         [BZ #18619]
19014         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19015         and return argument in case of subnormal argument.
19017 2015-07-01  Martin Sebor  <msebor@redhat.com>
19019         [BZ #18435]
19020         * nptl/Makefile: Add tst-once5.cc.
19021         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19022         Remove macro redefinitions.
19023         * nptl/tst-once5.cc: New test.
19025 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19027         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19029         * sysdeps/arm/libm-test-ulps: Regenerated.
19031         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19032         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19034 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19036         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19037         lll_lock_wait_private and lll_futex_wake probes.
19039         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19040         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19041         Likewise.
19042         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19043         atomic_spin_nop.
19044         * sysdeps/x86_64/bits/atomic.h: Likewise.
19045         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19046         to atomic_spin_nop and move ...
19047         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19048         ... here and ...
19049         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19050         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19051         atomic_spin_nop instead of BUSY_WAIT_NOP.
19052         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19053         Likewise.
19054         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19055         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19056         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19057         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19058         instead of atomic_delay.
19060 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19062         [BZ #18613]
19063         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19064         X_ADJ not X when adjusting exponent.
19065         (__ieee754_gamma_r): Do intermediate computations in
19066         round-to-nearest then adjust overflowing and underflowing results
19067         as needed.
19068         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19069         of X_ADJ not X when adjusting exponent.
19070         (__ieee754_gammaf_r): Do intermediate computations in
19071         round-to-nearest then adjust overflowing and underflowing results
19072         as needed.
19073         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19074         log of X_ADJ not X when adjusting exponent.
19075         (__ieee754_gammal_r): Do intermediate computations in
19076         round-to-nearest then adjust overflowing and underflowing results
19077         as needed.  Use 1.0L not 1.0f as numerator of division.
19078         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19079         log of X_ADJ not X when adjusting exponent.
19080         (__ieee754_gammal_r): Do intermediate computations in
19081         round-to-nearest then adjust overflowing and underflowing results
19082         as needed.  Use 1.0L not 1.0f as numerator of division.
19083         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19084         of X_ADJ not X when adjusting exponent.
19085         (__ieee754_gammal_r): Do intermediate computations in
19086         round-to-nearest then adjust overflowing and underflowing results
19087         as needed.  Use 1.0L not 1.0f as numerator of division.
19088         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19089         to auto-libm-test-in.
19090         (tgamma_test): Use ALL_RM_TEST.
19091         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19092         tests of tgamma with spurious-overflow.
19093         * math/auto-libm-test-out: Regenerated.
19094         * math/gen-libm-have-vector-test.sh: Do not check for START.
19095         * sysdeps/i386/fpu/libm-test-ulps: Update.
19096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19098         [BZ #18612]
19099         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19100         arguments, just return 0.5 times the argument, with underflow
19101         forced as needed.
19102         * math/auto-libm-test-in: Add more tests of j1.
19103         * math/auto-libm-test-out: Regenerated.
19105         [BZ #16559]
19106         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19107         (__ieee754_j1): Force underflow exception for small results.
19108         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19109         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19110         (__ieee754_j1f): Force underflow exception for small results.
19111         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19112         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19113         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19114         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19115         (__ieee754_j1l): Force underflow exception for small results.
19116         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19117         * math/auto-libm-test-in: Add more tests of j1 and jn.
19118         * math/auto-libm-test-out: Regenerated.
19120         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19121         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19122         (PF_MPLS): Likewise.
19123         (AF_IB): Likewise.
19124         (AF_MPLS): Likewise.
19125         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19126         value and macro.
19127         (MS_RMT_MASK): Include MS_LAZYTIME.
19129 2015-06-26  Mel Gorman  <mgorman@suse.de>
19131         [BZ #18502]
19132         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19133         already minimal.
19135 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19137         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19138         (DT_MIPS_NUM): Update.
19139         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19140         DT_MIPS_RLD_MAP_REL.
19142 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19144         [BZ #16559]
19145         [BZ #18602]
19146         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19147         round-to-nearest internally then recompute results that
19148         underflowed to zero in the original rounding mode.
19149         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19150         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19151         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19152         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19153         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19154         * sysdeps/i386/fpu/libm-test-ulps: Update.
19155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19157 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19159         * NEWS: Fixed description of link with vector math library.
19161 2015-06-25  Andreas Schwab  <schwab@suse.de>
19163         [BZ #18549]
19164         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19165         * libio/test-fmemopen.c (do_test): Add test for it.
19167 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19169         [BZ #17841]
19170         * Makeconfig (no-pie-ldflag): New.
19171         (+link): Set to $(+link-pie) if default to PIE.
19172         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19173         * config.make.in (build-pie-default): New.
19174         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19175         is default.  AC_SUBST.
19176         * configure: Regenerated.
19177         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19179 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19181         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19182         to 'unsigned int'.
19184         * resolv/gai_misc.h (struct waitlist): Change type of field
19185         counterp to 'volatile unsigned int *'.
19186         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19187         FUTEXADDR and OLDVAL.
19188         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19189         Give local variable TOTAL type 'volatile unsigned int'.
19190         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19191         * resolv/gai_suspend.c (gai_suspend):
19192         Give local variable CNTR type 'unsigned int'.
19194         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19195         counterp to 'volatile unsigned int *'.
19196         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19197         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19198         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19199         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19200         Give local variable TOTAL type 'volatile unsigned int'.
19201         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19203 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19205         [BZ #18383]
19206         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19207         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19208         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19209         comment for i386/x86-64.
19210         (test-xfail-tst-tlsalign-extern-static): Removed.
19212 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19214         * math/test-double.h: New file.
19215         * math/test-float.h: Likewise.
19216         * math/test-ldouble.h: Likewise.
19217         * math/test-math-inline.h: Likewise.
19218         * math/test-math-no-inline.h: Likewise.
19219         * math/test-math-scalar.h: Likewise.
19220         * math/test-math-vector.h: Likewise.
19221         * math/test-vec-loop.h: Remove file.  Contents moved into
19222         test-math-vector.h.
19223         * math/libm-test.inc (MATHCONST): Do not document macro.
19224         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19225         and test-math-scalar.h.
19226         (FUNC): Remove macro.
19227         (FUNC_TEST): Likewise.
19228         (FLOAT): Likewise.
19229         (MATHCONST): Likewise.
19230         (PRINTF_EXPR): Likewise.
19231         (PRINTF_XEXPR): Likewise.
19232         (PRINTF_NEXPR): Likewise.
19233         (TEST_DOUBLE): Likewise.
19234         (TEST_MATHVEC): Likewise.
19235         (__NO_MATH_INLINES): Likewise.
19236         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19237         and test-math-scalar.h.
19238         (FUNC): Remove macro.
19239         (FUNC_TEST): Likewise.
19240         (FLOAT): Likewise.
19241         (MATHCONST): Likewise.
19242         (PRINTF_EXPR): Likewise.
19243         (PRINTF_XEXPR): Likewise.
19244         (PRINTF_NEXPR): Likewise.
19245         (TEST_FLOAT): Likewise.
19246         (TEST_MATHVEC): Likewise.
19247         (__NO_MATH_INLINES): Likewise.
19248         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19249         and test-math-scalar.h.
19250         (FUNC): Remove macro.
19251         (FUNC_TEST): Likewise.
19252         (FLOAT): Likewise.
19253         (MATHCONST): Likewise.
19254         (PRINTF_EXPR): Likewise.
19255         (PRINTF_XEXPR): Likewise.
19256         (PRINTF_NEXPR): Likewise.
19257         (TEST_DOUBLE): Likewise.
19258         (TEST_MATHVEC): Likewise.
19259         (TEST_INLINE): Likewise.
19260         (__NO_MATH_INLINES): Likewise.
19261         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19262         test-math-scalar.h.
19263         (FUNC): Remove macro.
19264         (FUNC_TEST): Likewise.
19265         (FLOAT): Likewise.
19266         (MATHCONST): Likewise.
19267         (PRINTF_EXPR): Likewise.
19268         (PRINTF_XEXPR): Likewise.
19269         (PRINTF_NEXPR): Likewise.
19270         (TEST_FLOAT): Likewise.
19271         (TEST_MATHVEC): Likewise.
19272         (TEST_INLINE): Likewise.
19273         (__NO_MATH_INLINES): Likewise.
19274         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19275         and test-math-scalar.h.
19276         (FUNC): Remove macro.
19277         (FUNC_TEST): Likewise.
19278         (FLOAT): Likewise.
19279         (MATHCONST): Likewise.
19280         (PRINTF_EXPR): Likewise.
19281         (PRINTF_XEXPR): Likewise.
19282         (PRINTF_NEXPR): Likewise.
19283         (TEST_LDOUBLE): Likewise.
19284         (TEST_MATHVEC): Likewise.
19285         (TEST_INLINE): Likewise.
19286         (__NO_MATH_INLINES): Likewise.
19287         * math/test-ldouble.c: Include test-ldouble.h,
19288         test-math-no-inline.h and test-math-scalar.h.
19289         (FUNC): Remove macro.
19290         (FUNC_TEST): Likewise.
19291         (FLOAT): Likewise.
19292         (MATHCONST): Likewise.
19293         (PRINTF_EXPR): Likewise.
19294         (PRINTF_XEXPR): Likewise.
19295         (PRINTF_NEXPR): Likewise.
19296         (TEST_LDOUBLE): Likewise.
19297         (TEST_MATHVEC): Likewise.
19298         (__NO_MATH_INLINES): Likewise.
19299         * math/test-double-vlen2.h: Include test-double.h,
19300         test-math-no-inline.h and test-math-vector.h.
19301         (FLOAT): Remove macro.
19302         (FUNC): Likewise.
19303         (MATHCONST): Likewise.
19304         (PRINTF_EXPR): Likewise.
19305         (PRINTF_XEXPR): Likewise.
19306         (PRINTF_NEXPR): Likewise.
19307         (TEST_DOUBLE): Likewise.
19308         (TEST_MATHVEC): Likewise.
19309         (__NO_MATH_INLINES): Likewise.
19310         (CNCT): Likewise.
19311         (CONCAT): Likewise.
19312         (WRAPPER_NAME): Likewise.
19313         (WRAPPER_DECL): Likewise.
19314         (WRAPPER_DECL_ff): Likewise.
19315         (WRAPPER_DECL_fFF): Likewise.
19316         (VECTOR_WRAPPER): Likewise.
19317         (VECTOR_WRAPPER_ff): Likewise.
19318         (VECTOR_WRAPPER_fFF): Likewise.
19319         (VEC_LEN): New macro.
19320         * math/test-double-vlen4.h: Include test-double.h,
19321         test-math-no-inline.h and test-math-vector.h.
19322         (FLOAT): Remove macro.
19323         (FUNC): Likewise.
19324         (MATHCONST): Likewise.
19325         (PRINTF_EXPR): Likewise.
19326         (PRINTF_XEXPR): Likewise.
19327         (PRINTF_NEXPR): Likewise.
19328         (TEST_DOUBLE): Likewise.
19329         (TEST_MATHVEC): Likewise.
19330         (__NO_MATH_INLINES): Likewise.
19331         (CNCT): Likewise.
19332         (CONCAT): Likewise.
19333         (WRAPPER_NAME): Likewise.
19334         (WRAPPER_DECL): Likewise.
19335         (WRAPPER_DECL_ff): Likewise.
19336         (WRAPPER_DECL_fFF): Likewise.
19337         (VECTOR_WRAPPER): Likewise.
19338         (VECTOR_WRAPPER_ff): Likewise.
19339         (VECTOR_WRAPPER_fFF): Likewise.
19340         (VEC_LEN): New macro.
19341         * math/test-double-vlen8.h: Include test-double.h,
19342         test-math-no-inline.h and test-math-vector.h.
19343         (FLOAT): Remove macro.
19344         (FUNC): Likewise.
19345         (MATHCONST): Likewise.
19346         (PRINTF_EXPR): Likewise.
19347         (PRINTF_XEXPR): Likewise.
19348         (PRINTF_NEXPR): Likewise.
19349         (TEST_DOUBLE): Likewise.
19350         (TEST_MATHVEC): Likewise.
19351         (__NO_MATH_INLINES): Likewise.
19352         (CNCT): Likewise.
19353         (CONCAT): Likewise.
19354         (WRAPPER_NAME): Likewise.
19355         (WRAPPER_DECL): Likewise.
19356         (WRAPPER_DECL_ff): Likewise.
19357         (WRAPPER_DECL_fFF): Likewise.
19358         (VECTOR_WRAPPER): Likewise.
19359         (VECTOR_WRAPPER_ff): Likewise.
19360         (VECTOR_WRAPPER_fFF): Likewise.
19361         (VEC_LEN): New macro.
19362         * math/test-float-vlen4.h: Include test-float.h,
19363         test-math-no-inline.h and test-math-vector.h.
19364         (FLOAT): Remove macro.
19365         (FUNC): Likewise.
19366         (MATHCONST): Likewise.
19367         (PRINTF_EXPR): Likewise.
19368         (PRINTF_XEXPR): Likewise.
19369         (PRINTF_NEXPR): Likewise.
19370         (TEST_FLOAT): Likewise.
19371         (TEST_MATHVEC): Likewise.
19372         (__NO_MATH_INLINES): Likewise.
19373         (CNCT): Likewise.
19374         (CONCAT): Likewise.
19375         (WRAPPER_NAME): Likewise.
19376         (WRAPPER_DECL): Likewise.
19377         (WRAPPER_DECL_ff): Likewise.
19378         (WRAPPER_DECL_fFF): Likewise.
19379         (VECTOR_WRAPPER): Likewise.
19380         (VECTOR_WRAPPER_ff): Likewise.
19381         (VECTOR_WRAPPER_fFF): Likewise.
19382         (VEC_LEN): New macro.
19383         * math/test-float-vlen8.h: Include test-float.h,
19384         test-math-no-inline.h and test-math-vector.h.
19385         (FLOAT): Remove macro.
19386         (FUNC): Likewise.
19387         (MATHCONST): Likewise.
19388         (PRINTF_EXPR): Likewise.
19389         (PRINTF_XEXPR): Likewise.
19390         (PRINTF_NEXPR): Likewise.
19391         (TEST_FLOAT): Likewise.
19392         (TEST_MATHVEC): Likewise.
19393         (__NO_MATH_INLINES): Likewise.
19394         (CNCT): Likewise.
19395         (CONCAT): Likewise.
19396         (WRAPPER_NAME): Likewise.
19397         (WRAPPER_DECL): Likewise.
19398         (WRAPPER_DECL_ff): Likewise.
19399         (WRAPPER_DECL_fFF): Likewise.
19400         (VECTOR_WRAPPER): Likewise.
19401         (VECTOR_WRAPPER_ff): Likewise.
19402         (VECTOR_WRAPPER_fFF): Likewise.
19403         (VEC_LEN): New macro.
19404         * math/test-float-vlen16.h: Include test-float.h,
19405         test-math-no-inline.h and test-math-vector.h.
19406         (FLOAT): Remove macro.
19407         (FUNC): Likewise.
19408         (MATHCONST): Likewise.
19409         (PRINTF_EXPR): Likewise.
19410         (PRINTF_XEXPR): Likewise.
19411         (PRINTF_NEXPR): Likewise.
19412         (TEST_FLOAT): Likewise.
19413         (TEST_MATHVEC): Likewise.
19414         (__NO_MATH_INLINES): Likewise.
19415         (CNCT): Likewise.
19416         (CONCAT): Likewise.
19417         (WRAPPER_NAME): Likewise.
19418         (WRAPPER_DECL): Likewise.
19419         (WRAPPER_DECL_ff): Likewise.
19420         (WRAPPER_DECL_fFF): Likewise.
19421         (VECTOR_WRAPPER): Likewise.
19422         (VECTOR_WRAPPER_ff): Likewise.
19423         (VECTOR_WRAPPER_fFF): Likewise.
19424         (VEC_LEN): New macro.
19425         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19426         test-vec-loop.h.
19427         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19428         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19429         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19430         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19431         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19432         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19433         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19435 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19437         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19438         (__getlogin_r): ... this.
19440 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19442         [BZ #18594]
19443         * math/s_ccosh.c (__ccosh): Compare with least normal value
19444         instead of comparing class with FP_SUBNORMAL.
19445         * math/s_ccoshf.c (__ccoshf): Likewise.
19446         * math/s_ccoshl.c (__ccoshl): Likewise.
19447         * math/s_cexp.c (__cexp): Likewise.
19448         * math/s_cexpf.c (__cexpf): Likewise.
19449         * math/s_cexpl.c (__cexpl): Likewise.
19450         * math/s_csin.c (__csin): Likewise.
19451         * math/s_csinf.c (__csinf): Likewise.
19452         * math/s_csinh.c (__csinh): Likewise.
19453         * math/s_csinhf.c (__csinhf): Likewise.
19454         * math/s_csinhl.c (__csinhl): Likewise.
19455         * math/s_csinl.c (__csinl): Likewise.
19456         * math/s_ctan.c (__ctan): Likewise.
19457         * math/s_ctanf.c (__ctanf): Likewise.
19458         * math/s_ctanh.c (__ctanh): Likewise.
19459         * math/s_ctanhf.c (__ctanhf): Likewise.
19460         * math/s_ctanhl.c (__ctanhl): Likewise.
19461         * math/s_ctanl.c (__ctanl): Likewise.
19462         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19463         csin, csinh, ctan and ctanh.
19464         * math/auto-libm-test-out: Regenerated.
19465         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19466         * sysdeps/i386/fpu/libm-test-ulps: Update.
19467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19469 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19471         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19472         return value is wrong, print the expected value too.
19474 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19476         [BZ #18585]
19477         * elf/readlib.c (is_gdb_python_file): New.
19478         (process_file): Don't issue errors on filenames with -gdb.py
19479         suffix.
19481 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19483         * math/auto-libm-test-in: Add more tests of csin and csinh.
19484         * math/auto-libm-test-out: Regenerated.
19485         * math/libm-test.inc (csin_test_data): Remove tests moved to
19486         auto-libm-test-in.
19487         (csinh_test_data): Likewise.
19489         [BZ #18593]
19490         * math/s_csin.c (__csin): Negate before rather than after possibly
19491         overflowing multiplication.
19492         * math/s_csinf.c (__csinf): Likewise.
19493         * math/s_csinh.c (__csinh): Likewise.
19494         * math/s_csinhf.c (__csinhf): Likewise.
19495         * math/s_csinhl.c (__csinhl): Likewise.
19496         * math/s_csinl.c (__csinl): Likewise.
19497         * math/auto-libm-test-in: Add some tests of csin and csinh.
19498         * math/auto-libm-test-out: Regenerated.
19499         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19500         (csinh_test_data): Likewise.
19501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19503         [BZ #18586]
19504         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19505         underflow exception for small results.
19507 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19509         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19510         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19511         variable and included header.
19512         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19513         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19514         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19515         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19516         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19517         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19518         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19519         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19520         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19521         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19522         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19523         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19524         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19525         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19526         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19527         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19529 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19531         [BZ #16526]
19532         [BZ #16538]
19533         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19534         (__sin): Force underflow exception for arguments with small
19535         absolute value.
19536         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19537         (__kernel_sinf): Force underflow exception for arguments with
19538         small absolute value.
19539         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19540         (__kernel_sincosl): Force underflow exception for arguments with
19541         small absolute value.
19542         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19543         (__kernel_sinl): Force underflow exception for arguments with
19544         small absolute value.
19545         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19546         (__kernel_sincosl): Force underflow exception for arguments with
19547         small absolute value.
19548         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19549         (__kernel_sinl): Force underflow exception for arguments with
19550         small absolute value.
19551         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19552         (__kernel_sinl): Force underflow exception for arguments with
19553         small absolute value.
19554         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19555         (__kernel_sinf): Force underflow exception for arguments with
19556         small absolute value.
19557         * math/auto-libm-test-in: Add more tests of sin and sincos.
19558         * math/auto-libm-test-out: Regenerated.
19560         [BZ #18245]
19561         [BZ #18583]
19562         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19563         (__kernel_standard_l): Use feholdexcept and fesetenv around
19564         conversion to double instead of special-casing overflow and
19565         underflow.
19566         * math/libm-test.inc (fmod_test_data): Add more tests.
19567         (remainder_test_data): Likewise.
19568         (sqrt_test_data): Likewise.
19570 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19572         [BZ #17403]
19573         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
19574         atomic_read_barrier, atomic_write_barrier): Define.
19575         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
19576         atomic_read_barrier, atomic_write_barrier): Define.
19578 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19580         * math/Makefile [$(PERL) != no]
19581         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
19582         dependency on libm-test.stmp below the inclusion of Rules.
19584 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
19586         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19587         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
19588         and included header.
19589         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
19590         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
19591         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
19592         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
19593         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
19594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
19595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19596         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19597         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
19598         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
19599         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
19600         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
19601         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
19602         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
19603         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
19604         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
19605         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
19606         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
19607         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
19609 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19611         [BZ #18371]
19612         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
19613         intermediate but not final result might underflow.
19614         * math/s_csqrtf.c (__csqrtf): Likewise.
19615         * math/s_csqrtl.c (__csqrtl): Likewise.
19616         * math/auto-libm-test-in: Add more tests of csqrt.
19617         * math/auto-libm-test-out: Regenerated.
19618         * sysdeps/i386/fpu/libm-test-ulps: Update.
19620         [BZ #18219]
19621         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
19622         threshold on absolute value of exponent for which scaling is used.
19623         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19624         * math/auto-libm-test-in: Add more tests of exp2.
19625         * math/auto-libm-test-out: Regenerated.
19627 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
19629         [BZ #17977]
19630         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
19631         when initializing interface list, based on the bug analysis
19632         and the patch proposed by Eric Newton.
19633         * resolv/tst-res_hconf_reorder.c: New test.
19634         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
19635         tst-res_hconf_reorder.
19636         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
19637         and $(shared-thread-library).
19638         (tst-res_hconf_reorder-ENV): New variable.
19640         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
19641         in comment.
19643 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
19645         [BZ #16353]
19646         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
19647         (__expm1): Force underflow exception for arguments with small
19648         absolute value.
19649         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
19650         (__expm1f): Force underflow exception for arguments with small
19651         absolute value.
19652         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
19653         (__expm1): Force underflow exception for arguments with small
19654         absolute value.
19655         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
19656         (__expm1f): Force underflow exception for arguments with small
19657         absolute value.
19658         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19659         Check for small arguments before calling __expm1.
19660         * math/auto-libm-test-in: Do not mark underflow exceptions as
19661         possibly missing for bug 16353.
19662         * math/auto-libm-test-out: Regenerated.
19664 2015-06-22  Andreas Schwab  <schwab@suse.de>
19666         [BZ #18513]
19667         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
19668         PTR queries.
19670 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
19672         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
19674         * string/strcoll_l.c: Remove unused struct element idxnow.
19676 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
19678         [BZ #18569]
19679         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
19680         underflow and return argument in case of subnormal argument.
19681         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19682         Likewise.
19683         * math/auto-libm-test-in: Add more tests of expm1.
19684         * math/auto-libm-test-out: Regenerated.
19686         [BZ #16361]
19687         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19688         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19689         tiny results.
19690         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
19691         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
19692         tiny results.
19693         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
19694         mark underflow exceptions as possibly missing for bug 16361.
19695         * math/auto-libm-test-out: Regenerated.
19697 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
19699         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
19700         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
19701         Remove variable.
19702         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19703         (test-xfail-XOPEN2K8/utmpx.h/conform).
19705         * conform/conformtest.pl ($xerrors): New variable.
19706         (note_error): New function.
19707         (compiletest): New argument $xfail.  Use not_error.
19708         (runtest): Likewise.
19709         (top level): Handle xfail- lines.  Update calls to compiletest and
19710         runtest.  Handle xfail- and optional- in headers listed with
19711         allow-header.
19712         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
19713         (O_EXEC): Likewise.
19714         (O_SEARCH): Likewise.
19715         * conform/data/stropts.h-data (ioctl): Likewise.
19716         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
19717         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
19718         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
19719         (msghdr.msg_controllen): Likewise.
19720         (cmsghdr.cmsg_len): Likewise.
19721         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
19722         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
19723         variable.
19724         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19725         (test-xfail-XPG4/stropts.h/conform): Likewise.
19726         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19727         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19728         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19729         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19730         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19731         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19732         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19733         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19734         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19735         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19736         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19737         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19738         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19739         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19740         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19741         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19742         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19743         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19744         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19746 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19748         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
19749         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
19750         definitions for proper unfolding of __MATHDECL_VEC.
19752 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19754         * benchtests/bench-strcoll.c:
19755         Include string.h.
19756         (main): Remove unused variable res.
19758 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19760         * timezone/Makefile (%/UTC %/Universal):
19761         Generate test-result files for UTC and Universal.
19763 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19765         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19767 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19769         [BZ #16350]
19770         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19771         for arguments with small absolute value.
19772         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19773         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19774         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19775         (__asinh): Force underflow exception for arguments with small
19776         absolute value.
19777         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19778         (__asinhf): Force underflow exception for arguments with small
19779         absolute value.
19780         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19781         (__asinhl): Force underflow exception for arguments with small
19782         absolute value.
19783         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19784         (__asinhl): Force underflow exception for arguments with small
19785         absolute value.
19786         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19787         (__asinhl): Force underflow exception for arguments with small
19788         absolute value.
19789         * math/auto-libm-test-in: Do not mark underflow exceptions as
19790         possibly missing for bug 16350.
19791         * math/auto-libm-test-out: Regenerated.
19793         * include/bits/ipc.h: Remove file.
19794         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19795         variable.
19796         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19797         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19798         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19799         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19800         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19801         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19802         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19803         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19804         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19806         * math/auto-libm-test-in: Remove spurious underflow allowance for
19807         tests of cexp.
19808         * math/auto-libm-test-out: Regenerated.
19810         [BZ #18558]
19811         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19812         unconditional definition.
19813         (MCAST_BLOCK_SOURCE): Likewise.
19814         (MCAST_UNBLOCK_SOURCE): Likewise.
19815         (MCAST_LEAVE_GROUP): Likewise.
19816         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19817         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19818         (MCAST_MSFILTER): Likewise.
19819         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19820         Remove variable.
19821         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19822         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19823         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19824         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19825         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19827 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19829         * NEWS: Mention addition of x86_64 vector sincosf.
19830         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19831         * math/test-float-vlen4.h: Likewise.
19832         * math/test-float-vlen8.h: Likewise.
19833         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19834         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19835         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19836         * sysdeps/x86_64/fpu/Versions: New versions added.
19837         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19838         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19839         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19840         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19841         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19842         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19843         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19844         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19846         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19847         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19848         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19849         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19850         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19851         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19852         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19853         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19854         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19855         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19856         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19857         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19858         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19859         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19860         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19862         * NEWS: Mention addition of x86_64 vector sincos.
19863         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19864         * math/math.h (__MATHDECL_VEC): New macro.
19865         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19866         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19867         declaration under condition.
19868         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19869         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19870         TEST_VEC_LOOP change.
19871         * math/test-double-vlen4.h: Likewise.
19872         * math/test-double-vlen8.h: Likewise.
19873         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19874         * math/test-float-vlen4.h: Likewise.
19875         * math/test-float-vlen8.h: Likewise.
19876         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19877         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19878         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19879         * sysdeps/x86_64/fpu/Versions: New versions added.
19880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19881         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19882         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19883         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19884         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19885         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19886         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19887         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19888         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19889         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19890         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19891         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19892         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19893         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19894         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19895         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19896         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19897         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19898         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19899         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19900         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19901         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19902         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19903         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19905         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19906         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19907         redirections for powf.
19908         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19909         * sysdeps/x86_64/fpu/Versions: New versions added.
19910         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19911         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19912         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19913         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19914         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19915         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19916         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19917         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19918         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19919         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19920         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19921         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19922         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19923         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19924         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19925         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19926         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19927         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19928         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19929         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19930         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19931         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19932         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19933         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19934         * math/test-float-vlen16.h: Fixed 2 argument macro.
19935         * math/test-float-vlen4.h: Likewise.
19936         * math/test-float-vlen8.h: Likewise.
19937         * NEWS: Mention addition of x86_64 vector powf.
19939 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19941         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19942         and redefine.
19943         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19944         and redefine.
19945         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19946         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19947         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19949         [BZ #18553]
19950         * resource/getpriority.c (getpriority): Rename to __getpriority
19951         and define as weak alias of __getpriority.
19952         * resource/setpriority.c (setpriority): Rename to __setpriority
19953         and define as weak alias of __setpriority.
19954         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19955         __getpriority and define as weak alias of __getpriority.
19956         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19957         __setpriority and define as weak alias of __setpriority.
19958         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19959         strong name.
19960         (setpriority): Use __setpriority as strong name.
19961         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19962         __getpriority and define as weak alias of __getpriority.
19963         * include/sys/resource.h (__getpriority): Declare.  Use
19964         libc_hidden_proto.
19965         (__setpriority): Likewise.
19966         (getpriority): Don't use libc_hidden_proto.
19967         (setpriority): Likewise.
19968         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19969         getpriority.  Call __setpriority instead of setpriority.
19970         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19971         Remove variable.
19973         [BZ #18547]
19974         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19975         as weak alias of __getttynam.  Use prototype function definition.
19976         Call __setttyent, __getttyent and __endttyent instead of
19977         setttyent, getttyent and endttyent.
19978         (getttyent): Rename to __getttyent and define as weak alias of
19979         __getttyent.  Call __setttyent instead of setttyent.  Call
19980         __fgets_unlocked instead of fgets_unlocked.
19981         (setttyent): Rename to __setttyent and define as weak alias of
19982         __setttyent.
19983         (endttyent): Rename to __endttyent and define as weak alias of
19984         __endttyent.
19985         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19986         (__setttyent): Likewise.
19987         (__endttyent): Likewise.
19988         (getttyent): Don't use libc_hidden_proto.
19989         (setttyent): Likewise.
19990         (endttyent): Likewise.
19991         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19992         __endttyent instead of setttyent, getttyent and endttyent.
19993         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19994         Remove variable.
19996         [BZ #18546]
19997         * socket/recv.c (__recv): Use libc_hidden_def.
19998         * socket/socket.c (__socket): Likewise.
19999         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20000         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20001         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20002         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20003         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20004         libc_hidden_def.
20005         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20006         libc_hidden_weak.
20007         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20008         Use libc_hidden_proto.
20009         (__recv): Likewise.
20010         * socket/Versions (libc): Export __recv and __socket at version
20011         GLIBC_PRIVATE.
20012         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20013         instead of recv.
20014         (init_mq_netlink): Call __socket instead of socket.
20015         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20016         Remove variable.
20018         [BZ #18545]
20019         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20020         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20021         hidden_weak.
20022         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20023         define as alias of __mq_timedsend.  Use hidden_weak.
20024         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20025         __mq_timedsend as strong name.
20026         (mq_timedreceive): Use __mq_timedreceive as strong name.
20027         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20028         (__mq_timedreceive): Likewise.
20029         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20030         __mq_timedreceive instead of mq_timedreceive.
20031         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20032         instead of mq_timedsend.
20033         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20034         Remove variable.
20036         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20037         hidden_def and hidden_weak instead of libc_hidden_def and
20038         libc_hidden_weak.
20039         (top level): Refer to hidden_def in comment.
20040         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20041         macro.  Use it instead of libc_hidden_def.
20042         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20043         specify __GI_* name explicitly.
20044         (mq_timedreceive): Likewise.
20045         (mq_setattr): Likewise.
20047         [BZ #18544]
20048         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20049         __pthread_barrier_init and define as weak alias of
20050         __pthread_barrier_init.
20051         * sysdeps/sparc/nptl/pthread_barrier_init.c
20052         (pthread_barrier_init): Likewise.
20053         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20054         __pthread_barrier_wait and define as weak alias of
20055         __pthread_barrier_wait.
20056         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20057         (pthread_barrier_wait): Likewise.
20058         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20059         (pthread_barrier_wait): Likewise.
20060         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20061         (pthread_barrier_wait): Likewise.
20062         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20063         (pthread_barrier_wait): Likewise.
20064         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20065         __pthread_barrier_wait at version GLIBC_PRIVATE.
20066         * include/pthread.h (__pthread_barrier_init): Declare.
20067         (__pthread_barrier_wait): Likewise.
20068         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20069         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20070         (helper_thread): Likewise.
20071         (init_mq_netlink): Call __pthread_barrier_init instead of
20072         pthread_barrier_init.
20074         [BZ #18542]
20075         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20076         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20077         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20078         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20079         vswscanf.
20080         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20081         Remove variable.
20083         [BZ #18540]
20084         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20085         strong alias of _IO_fflush.  Use libc_hidden_def.
20086         * libio/iofflush_u.c (fflush_unlocked): Rename to
20087         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20088         Use libc_hidden_weak.
20089         * include/stdio.h (__fflush_unlocked): Declare.  Use
20090         libc_hidden_proto.
20091         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20092         fflush_unlocked.
20093         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20094         Remove variable.
20096         [BZ #18539]
20097         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20098         define as weak alias of __addseverity.
20099         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20100         Remove variable.
20101         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20102         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20103         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20105         [BZ #18536]
20106         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20107         (__tfind): Likewise.
20108         (__tdelete): Likewise.
20109         (__twalk): Likewise.
20110         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20111         __twalk to GLIBC_PRIVATE.
20112         * include/search.h (__tsearch): Use libc_hidden_proto.
20113         (__tfind): Likewise.
20114         (__tdelete): Likewise.
20115         (__twalk): Likewise.
20116         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20117         Call __tdelete instead of tdelete.
20118         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20119         tfind.  Call __tsearch instead of tsearch.
20120         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20121         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20122         Remove variable.
20123         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20125         [BZ #18534]
20126         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20127         (dprintf): Define as a weak alias of __dprintf, not a strong
20128         alias.
20129         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20130         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20131         dprintf.
20132         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20133         Remove variable.
20134         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20135         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20137         [BZ #18533]
20138         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20139         not a strong alias.
20140         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20141         Remove variable.
20143         [BZ #18532]
20144         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20145         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20146         (in6addr_loopback): Rename to __in6addr_loopback and define as
20147         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20148         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20149         libc_hidden_proto.
20150         (__in6addr_any): Likewise.
20151         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20152         in6addr_any.
20153         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20154         variable.
20155         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20157 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20159         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20160         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20161         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20162         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20163         redirections for pow.
20164         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20165         * sysdeps/x86_64/fpu/Versions: New versions added.
20166         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20167         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20168         build of SSE, AVX2 and AVX512 IFUNC versions.
20169         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20170         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20171         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20172         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20173         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20174         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20175         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20176         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20177         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20178         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20179         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20180         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20181         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20182         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20183         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20184         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20185         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20186         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20187         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20188         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20189         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20190         * NEWS: Mention addition of x86_64 vector pow.
20192         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20193         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20194         redirections for expf.
20195         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20196         * sysdeps/x86_64/fpu/Versions: New versions added.
20197         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20198         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20199         build of SSE, AVX2 and AVX512 IFUNC versions.
20200         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20201         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20202         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20203         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20204         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20205         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20206         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20207         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20208         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20209         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20210         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20211         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20212         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20213         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20214         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20215         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20216         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20217         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20218         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20219         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20220         * NEWS: Mention addition of x86_64 vector expf.
20222         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20223         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20224         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20225         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20226         redirections for exp.
20227         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20228         * sysdeps/x86_64/fpu/Versions: New versions added.
20229         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20230         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20231         build of SSE, AVX2 and AVX512 IFUNC versions.
20232         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20233         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20234         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20235         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20236         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20237         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20238         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20239         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20240         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20241         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20242         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20243         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20244         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20245         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20247         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20248         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20249         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20250         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20251         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20252         * NEWS: Mention addition of x86_64 vector exp.
20254         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20255         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20256         redirections for logf.
20257         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20258         * sysdeps/x86_64/fpu/Versions: New versions added.
20259         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20260         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20261         build of SSE, AVX2 and AVX512 IFUNC versions.
20262         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20263         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20264         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20265         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20266         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20267         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20268         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20269         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20270         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20271         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20272         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20273         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20274         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20275         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20276         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20277         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20278         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20279         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20280         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20281         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20282         * NEWS: Mention addition of x86_64 vector logf.
20284         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20285         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20286         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20287         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20288         redirections for log.
20289         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20290         * sysdeps/x86_64/fpu/Versions: New versions added.
20291         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20292         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20293         build of SSE, AVX2 and AVX512 IFUNC versions.
20294         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20295         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20296         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20297         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20298         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20299         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20300         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20301         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20302         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20303         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20304         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20305         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20306         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20307         test.
20308         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20309         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20310         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20311         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20312         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20313         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20314         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20315         * NEWS: Mention addition of x86_64 vector log.
20317 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20319         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20320         cfi_adjust_cfa_offset argument.
20321         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20322         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20324         [BZ #18034]
20325         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20326         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20327         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20328         ordering using ldar.
20329         (_dl_tlsdesc_dynamic): Likewise.
20330         (_dl_tlsdesc_return_lazy): Likewise.
20331         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20332         relaxed atomics instead of volatile and synchronize with release store.
20333         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20334         volatile.
20335         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20337 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20339         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20340         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20341         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20342         * sysdeps/x86_64/fpu/Versions: New versions added.
20343         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20344         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20345         build of SSE, AVX2 and AVX512 IFUNC versions.
20346         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20347         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20348         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20349         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20350         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20351         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20352         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20353         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20354         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20355         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20356         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20357         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20358         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20359         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20360         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20361         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20362         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20363         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20364         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20365         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20366         * NEWS: Mention addition of x86_64 vector sinf.
20368 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20370         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20371         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20372         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20373         Remove variable.
20374         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20375         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20377 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20379         [BZ #18530]
20380         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20381         strong alias of _IO_fputs.  Use libc_hidden_def.
20382         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20383         and define as weak alias of __fputs_unlocked.  Use
20384         libc_hidden_weak.
20385         * include/stdio.h (__fputs_unlocked): Declare.  Use
20386         libc_hidden_proto.
20387         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20388         fputs_unlocked.
20390         [BZ #18529]
20391         * resolv/netdb.h [__USE_POSIX]: Change condition to
20392         [__USE_XOPEN2K].
20393         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20394         not expect.
20395         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20396         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20397         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20398         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20399         [XPG4 || UNIX98] (AI_ALL): Likewise.
20400         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20401         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20402         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20403         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20404         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20405         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20406         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20407         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20408         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20409         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20410         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20411         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20412         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20413         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20414         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20415         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20416         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20417         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20418         [XPG4 || UNIX98] (gai_strerror): Likewise.
20419         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20420         [XPG4 || UNIX98] (getnameinfo): Likewise.
20422         [BZ #18528]
20423         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20424         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20425         __USE_XOPEN2K8].
20426         (getgrent): Likewise.
20427         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20428         expect.
20429         [XPG3 || POSIX2008] (endgrent): Likewise.
20430         [XPG3] (setgrent): Likewise.
20431         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20432         variable.
20433         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20435         [BZ #18527]
20436         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20437         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20438         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20439         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20440         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20441         * include/unistd.h (__getlogin_r): Declare.  Use
20442         libc_hidden_proto.
20443         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20444         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20445         variable.
20446         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20447         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20448         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20450 2015-06-12  Martin Sebor  <msebor@redhat.com>
20452         [BZ #18512]
20453         * Makerules (check-install-supported): New target.
20454         (install): Add check-install-supported as a dependency.
20455         * manual/install.texi (Installing the C Library): Document
20456         that overriding prefix and exec_prefix is not supported.
20457         Mention DESTDIR.
20458         * INSTALL: Regenerate from the above.
20460 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20462         [BZ #18519]
20463         * posix/Versions (libc): Export __libc_pread at version
20464         GLIBC_PRIVATE.
20465         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20466         instead of pread.
20467         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20468         variable.
20470         [BZ #18522]
20471         * misc/efgcvt_r.c
20472         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20473         (cvt_symbol): Use weak_alias instead of strong_alias.
20474         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20475         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20476         Remove variable.
20477         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20478         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20480         [BZ #18520]
20481         * inet/herrno.c (h_errno): Rename to __h_errno.
20482         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20483         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20484         to __h_errno instead of h_errno.
20485         * nptl/herrno.c (h_errno): Rename to __h_errno.
20486         (__h_errno_location): Refer to __h_errno not h_errno.
20487         * resolv/Versions (h_errno): Rename to __h_errno.
20488         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20489         Remove variable.
20490         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20492 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20494         * configure.ac: More strict check for AVX512 assembler support.
20495         * configure: Regenerated.
20497         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20498         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20499         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20500         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20501         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20502         * sysdeps/x86_64/fpu/Versions: New versions added.
20503         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20504         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20505         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20506         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20507         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20508         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20509         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20510         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20511         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20512         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20513         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20514         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20515         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20516         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20517         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20518         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20519         test.
20520         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20521         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20522         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20523         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20524         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20525         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20526         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20527         * NEWS: Mention addition of x86_64 vector sin.
20529 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20531         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20532         comment.
20534 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20536         [BZ #18479]
20537         * nptl/pt-interp.c: New file.
20538         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20539         Add pt-interp.
20540         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20541         $(common-objpfx)runtime-linker.h.
20543 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20545         * Makeconfig (+interp): Remove unused variable.
20546         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20547         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20548         $(elf-objpfx)runtime-linker.h.
20549         ($(elf-objpfx)runtime-linker.h): Rename to
20550         $(common-objpfx)runtime-linker.h and move ...
20551         * Makerules [$(build-shared) = yes]: ... here.
20552         * elf/interp.c: Include <runtime-linker.h> instead of
20553         <elf/runtime-linker.h>.
20555 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20557         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20558         (__gettimeofday_syscall): Remove vsyscall fallback.
20559         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20560         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20561         Add syscall fallback function.
20562         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20563         if vDSO is not present.
20564         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20565         fallback function.
20566         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20567         present.
20568         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20569         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20571 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
20573         [BZ #18497]
20574         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
20575         of wcscmp.
20576         (wcscmp): Define as weak alias of WCSCMP.
20577         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
20578         wcscoll.
20579         (USE_HIDDEN_DEF): Define.
20580         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
20581         __wcscoll.  Don't use libc_hidden_weak.
20582         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
20583         wcscmp.
20584         * sysdeps/i386/i686/multiarch/wcscmp-c.c
20585         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
20586         __GI_wcscmp.
20587         (weak_alias): Undefine and redefine.
20588         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
20589         __wcscmp and define as weak alias of __wcscmp.
20590         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
20591         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
20592         (__wcscoll): Likewise.
20593         (wcscmp): Don't use libc_hidden_proto.
20594         (wcscoll): Likewise.
20595         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
20596         wcscoll.
20597         * posix/regexec.c (check_node_accept_bytes): Likewise.
20598         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
20599         variable.
20600         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
20601         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
20603         [BZ #18507]
20604         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
20605         __fstatvfs and define as weak alias of __fstatvfs.  Use
20606         libc_hidden_weak.
20607         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
20608         and define as weak alias of __statvfs.  Use libc_hidden_weak.
20609         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
20610         Define as alias of __fstatvfs, not fstatvfs.
20611         (fstatvfs64): Likewise.
20612         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
20613         Define as alias of __statvfs, not statvfs.
20614         (statvfs64): Likewise.
20615         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
20616         Remove variable.
20618 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20621         (HAVE_GETCPU_VSYSCALL): Define.
20622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20623         (HAVE_GETCPU_VSYSCALL): Likewise.
20624         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
20625         * sysdeps/unix/sysv/linux/sched_getcpu.c
20626         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
20627         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
20628         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
20629         prototype.
20630         * sysdeps/unix/sysv/linux/x86_64/init-first.c
20631         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
20632         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
20633         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
20634         Define.
20635         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
20636         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20637         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
20638         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20640 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
20642         * sysdeps/x86_64/fpu/Makefile: New file.
20643         * sysdeps/x86_64/fpu/Versions: New file.
20644         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
20645         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
20646         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
20647         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
20648         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
20649         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
20650         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
20651         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
20652         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
20653         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
20654         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
20655         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
20656         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
20657         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20658         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20659         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
20660         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
20661         * sysdeps/x86_64/configure.ac: Options for libmvec build.
20662         * sysdeps/x86_64/configure: Regenerated.
20663         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
20664         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
20665         * manual/install.texi (Configuring and compiling): Document
20666         --disable-mathvec.
20667         * INSTALL: Regenerated.
20668         * NEWS: Mention addition of libmvec and x86_64 vector cos.
20670         * math/Makefile: Added rules for vector tests.
20671         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
20672         declaration under condition.
20673         * math/test-double-vlen2.h: New file.
20674         * math/test-double-vlen4.h: New file.
20675         * math/test-double-vlen8.h: New file.
20676         * math/test-vec-loop.h: Added initialization macro.
20677         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
20678         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
20679         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
20680         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
20681         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
20682         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
20683         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
20684         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
20685         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
20686         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
20687         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
20689         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20690         * sysdeps/x86_64/fpu/Versions: New versions added.
20691         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
20692         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
20693         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
20694         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
20695         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
20696         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
20697         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
20698         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
20699         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
20700         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
20701         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
20702         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
20703         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
20704         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20705         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20706         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20707         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
20708         * NEWS: Mention addition of x86_64 vector cosf.
20710         * math/Makefile: Added CFLAGS for new tests.
20711         * math/test-float-vlen16.h: New file.
20712         * math/test-float-vlen4.h: New file.
20713         * math/test-float-vlen8.h: New file.
20714         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
20715         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
20716         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20717         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
20718         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
20719         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
20720         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
20721         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
20722         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
20723         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
20724         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
20726 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
20728         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
20729         * locale/programs/ld-ctype.c: Likewise.
20731 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
20733         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
20734         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
20735         bit_ZMM16_31_state): New macro.
20736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20737         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
20739 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
20741         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
20743 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
20745         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
20747 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
20749         [BZ #18498]
20750         * libio/memstream.c (open_memstream): Rename to __open_memstream
20751         and define as weak alias of __open_memstream.
20752         * include/stdio.h (__open_memstream): Declare.  Use
20753         libc_hidden_proto.
20754         (open_memstream): Don't use libc_hidden_proto.
20755         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
20756         open_memstream.
20757         * posix/getopt.c (_getopt_internal_r): Likewise.
20758         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20759         variable.
20760         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20761         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20762         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20764         [BZ #18496]
20765         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20766         instead of wcrtomb.
20768         [BZ #18483]
20769         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20770         [__USE_XOPEN2K8].  Remove redundant #endif.
20771         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20772         Remove redundant #if.
20773         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20774         Remove variable.
20775         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20776         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20778         [BZ #18495]
20779         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20780         (__iswlower): Likewise.
20781         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20782         (__iswlower): Likewise.
20783         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20784         instead of towlower.
20785         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20786         instead of iswlower.  Call __towupper instead of towupper.
20787         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20788         instead of iswalnum.
20790 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20792         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20793         errors to stderr.
20795 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20797         [BZ #15661]
20798         [BZ #17322]
20799         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20800         Check for overflow properly.  Check for O_APPEND.  Ignore large
20801         file system block sizes.  Add comments about problems.
20802         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20803         * manual/filesys.texi (Storage Allocation): New node.
20805 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20807         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20808         cancellable syscalls.
20809         (SYS_ify): Add guard to no redefine it.
20810         (INLINE_SYSCALL): Likewise.
20811         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20812         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20813         SYSCALL_CANCEL instead.
20814         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20815         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20816         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20817         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20818         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20819         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20820         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20821         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20822         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20823         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20824         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20825         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20826         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20827         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20828         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20829         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20830         Likewise.
20831         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20832         (__libc_pread64): Likewise.
20833         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20834         (__libc_preadv): Likewise.
20835         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20836         (__libc_readv64): Likewise.
20837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20838         (__libc_pwrite): Likewise.
20839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20840         (__libc_pwrite64): Likewise.
20841         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20842         (__libc_pwritev): Likewise.
20843         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20844         (__libc_pwritev64): Likewise.
20845         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20846         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20847         (sync_file_range): Likewise.
20848         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20849         Likewise.
20850         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20851         Likewise.
20852         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20853         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20854         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20855         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20856         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20857         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20858         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20859         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20861         Likewise.
20862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20863         (__libc_read64): Likewise.
20864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20865         Likewise.
20866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20867         Likewise.
20868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20869         Likewise.
20870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20871         Likewise.
20872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20873         (__libc_pread64): Likewise.
20874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20875         Likewise.
20876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20877         (__libc_pwrite64): Likewise.
20878         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20879         (sync_file_range): Likewise.
20880         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20881         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20882         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20883         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20884         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20885         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20886         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20887         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20888         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20889         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20890         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20891         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20892         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20893         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20894         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20895         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20896         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20897         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20898         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20899         Likewise.
20900         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20901         Likewise.
20902         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20903         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20904         Likewise.
20905         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20906         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20907         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20908         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20909         Likewise.
20910         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20911         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20912         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20913         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20914         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20916 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20918         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20919         Include dl-vdso.
20920         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20921         Use VDSO routines for gettimeofday, clock_gettime if
20922         available.
20923         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20924         Declare VDSO symbols.
20925         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20926         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20927         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20928         * sysdeps/unix/sysv/linux/arm/Versions: Add
20929         __vdso_clock_gettime.
20931 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20933         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20934         be an inline implementation regardless of library is built within.
20935         (open_not_cancel_2): Likewise.
20936         (__read_nocancel): Likewise.
20937         (__write_nocancel): Likewise.
20938         (openat_not_cancel): Likewise.
20939         (openat_not_cancel_3): Likewise.
20940         (openat64_not_cancel): Likewise.
20941         (openat64_not_cancel_3): Likewise.
20942         (__close_nocancel): Likewise.
20943         (pause_not_cancel): Likewise.
20944         (nanosleep_not_cancel): Likewise.
20945         (sigsuspend_not_cancel): Likewise.
20947 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20949         [BZ #14958]
20950         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20951         wake-up.
20952         (__pthread_rwlock_rdlock_slow): Likewise.
20953         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20954         Likewise.
20955         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20956         Likewise.
20957         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20958         * nptl/tst-rwlock16.c: New file.
20959         * nptl/Makefile (tests): Add new test.
20961 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20963         [BZ #18324]
20964         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20965         missing wake-up of readers.
20966         * nptl/tst-rwlock15.c: New file.
20967         * nptl/Makefile (tests): Add new test.
20969 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20971         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20972         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20973         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20974         and __nacl_supply_interface_rtld.
20975         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20976         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20977         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20978         Add __nacl_supply_interface_rtld.
20979         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20981 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20983         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20984         isfinite.
20985         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20986         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20988 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20990         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20991         __signbit* with standard C99 macros.
20992         * math/e_exp10l.c: Likewise.
20993         * math/e_exp2l.c: Likewise.
20994         * math/e_scalb.c: Likewise.
20995         * math/e_scalbf.c: Likewise.
20996         * math/e_scalbl.c: Likewise.
20997         * math/s_ldexp.c: Likewise.
20998         * math/s_ldexpf.c: Likewise.
20999         * math/s_ldexpl.c: Likewise.
21000         * math/w_atan2.c: Likewise.
21001         * math/w_atan2f.c: Likewise.
21002         * math/w_atan2l.c: Likewise.
21003         * math/w_cosh.c: Likewise.
21004         * math/w_coshf.c: Likewise.
21005         * math/w_coshl.c: Likewise.
21006         * math/w_exp10.c: Likewise.
21007         * math/w_exp10f.c: Likewise.
21008         * math/w_exp10l.c: Likewise.
21009         * math/w_exp2.c: Likewise.
21010         * math/w_exp2f.c: Likewise.
21011         * math/w_exp2l.c: Likewise.
21012         * math/w_fmod.c: Likewise.
21013         * math/w_fmodf.c: Likewise.
21014         * math/w_fmodl.c: Likewise.
21015         * math/w_hypot.c: Likewise.
21016         * math/w_hypotf.c: Likewise.
21017         * math/w_hypotl.c: Likewise.
21018         * math/w_jnl.c: Likewise.
21019         * math/w_lgamma.c: Likewise.
21020         * math/w_lgamma_r.c: Likewise.
21021         * math/w_lgammaf.c: Likewise.
21022         * math/w_lgammaf_r.c: Likewise.
21023         * math/w_lgammal.c: Likewise.
21024         * math/w_lgammal_r.c: Likewise.
21025         * math/w_pow.c: Likewise.
21026         * math/w_powf.c: Likewise.
21027         * math/w_powl.c: Likewise.
21028         * math/w_remainder.c: Likewise.
21029         * math/w_remainderf.c: Likewise.
21030         * math/w_remainderl.c: Likewise.
21031         * math/w_scalb.c: Likewise.
21032         * math/w_scalbf.c: Likewise.
21033         * math/w_scalbl.c: Likewise.
21034         * math/w_scalbln.c: Likewise.
21035         * math/w_scalblnf.c: Likewise.
21036         * math/w_scalblnl.c: Likewise.
21037         * math/w_sinh.c: Likewise.
21038         * math/w_sinhf.c: Likewise.
21039         * math/w_sinhl.c: Likewise.
21040         * math/w_tgamma.c: Likewise.
21041         * math/w_tgammaf.c: Likewise.
21042         * math/w_tgammal.c: Likewise.
21043         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21044         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21045         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21046         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21047         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21048         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21049         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21050         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21051         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21052         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21053         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21054         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21055         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21056         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21057         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21058         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21059         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21060         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21061         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21062         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21063         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21064         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21065         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21066         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21067         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21068         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21069         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21070         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21071         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21072         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21073         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21074         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21075         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21076         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21077         * stdio-common/printf_fp.c: Likewise.
21078         * stdio-common/printf_fphex.c: Likewise.
21079         * stdio-common/printf_size.c: Likewise.
21081 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21083         [BZ #18470]
21084         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21085         strnlen.
21086         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21087         Remove variable.
21088         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21089         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21090         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21091         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21092         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21093         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21094         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21095         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21096         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21097         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21099         [BZ #18468]
21100         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21101         weak alias of __wmemchr.  Use libc_hidden_weak.
21102         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21103         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21104         instead of wmemchr.
21106 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21108         [BZ #18383]
21109         * elf/tst-tlsalign-extern.c: New file.
21110         * elf/tst-tlsalign-extern-static.c: New file.
21111         * elf/tst-tlsalign-vars.c: New file.
21112         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21113         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21114         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21115         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21116         (test-xfail-tst-tlsalign-extern-static): New variable.
21118 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21120         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21121         Use variable name _sc_err instead of err.
21122         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21123         instead of ret.
21124         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21125         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21126         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21127         (INLINE_SYSCALL): Likewise.
21129         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21130         * include/string.h (__strnlen): Use libc_hidden_proto.
21131         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21132         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21133         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21134         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21135         (libc_hidden_def): Undefine and redefine.
21136         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21137         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21138         __GI_strnlen.
21139         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21140         libc_hidden_def.
21141         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21143         [BZ #18469]
21144         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21145         weak alias of __towlower.  Use libc_hidden_weak.
21146         (towupper): Rename to __towupper and define as weak alias of
21147         __towupper.  Use libc_hidden_weak.
21148         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21149         (__towupper): Likewise.
21150         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21151         __towlower instead of towlower.
21153 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21155         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21156         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21158 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21160         * sysdeps/aarch64/libm-test-ulps: Update.
21162 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21164         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21165         Define.
21166         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21167         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21168         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21169         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21170         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21171         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21172         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21174 2015-06-01  Martin Sebor  <msebor@redhat.com>
21176         [BZ #18116]
21177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21178         (__setcontext): Use extended four-operand version of mtsf whenever
21179         possible.
21180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21181         (__novec_swapcontext): Likewise.
21183 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21185         * benchtests/scripts/compare_bench.py: New file.
21186         * benchtests/scripts/import_bench.py (mean): New function.
21187         (split_list): Likewise.
21188         (do_for_all_timings): Likewise.
21189         (compress_timings): Likewise.
21191         * benchtests/scripts/import_bench.py: New file.
21192         * benchtests/scripts/validate_benchout.py: Import import_bench
21193         instead of jsonschema.
21194         (validate_bench): Remove function.
21195         (main): Use import_bench.
21197 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21199         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21200         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21202 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21206 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21208         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21209         set THREAD_SELF->tid to a magic value and futex-wake it.
21210         Pass its address to the thread_exit system call.
21211         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21212         bit is clear.
21213         * sysdeps/nacl/lowlevellock.h: New file.
21214         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21216         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21217         Add TIMEOUT to current time, don't subtract it.
21219 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21221         [BZ #2981]
21222         [BZ #18422]
21223         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21224         ($(objpfx)tst-audit2.out): Also depend on
21225         $(objpfx)tst-auditmod9b.so.
21226         * elf/tst-audit2.c: Include <dlfcn.h>.
21227         (calloc_called): New.
21228         (calloc): Allow to be called more than once.
21229         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21231 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21233         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21234         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21236 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21238         * stdlib/monetary.h: Fix comment.
21240 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21242         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21243         Avoid using variables in #defines that might cause shadowing.
21244         (INTERNAL_VSYSCALL_CALL): Likewise.
21246 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21248         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21250         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21251         * nptl/lll_timedlock_wait.c: ... to this new file.
21252         * nptl/Makefile (libpthread-routines): Add it.
21253         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21254         * nptl/lll_timedwait_tid.c: ... to this new file.
21255         * nptl/Makefile (libpthread-routines): Add it.
21256         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21257         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21258         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21259         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21260         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21261         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21262         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21263         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21264         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21265         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21267 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21269         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21270         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21271         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21272         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21273         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21274         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21275         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21276         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21277         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21278         * sysdeps/unix/sysv/linux/tile/sysdep.h
21279         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21280         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21281         using vDSO syscall macro.
21283 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21285         [BZ #17293]
21286         * uk_UA: Fix sorting order for Ukrainian locale
21288 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21290         * stdlib/monetary.h: Fix comment.
21292 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21294         [BZ #18234]
21295         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21296         st_mtim and st_ctim members.
21297         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21298         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21299         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21300         (struct stat64): Likewise.
21301         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21302         (struct stat64): Likewise.
21303         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21304         (struct stat64): Likewise.
21306 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21308         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21309         Define and include sysdep-vdso.h.
21310         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21311         Likewise.
21312         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21313         Likewise.
21314         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21315         Define with VDSO_SYMBOL and use PTR_MANGLE.
21316         (__vdso_clock_gettime): Likewise.
21317         (__vdso_clock_getres): Likewise.
21318         (_libc_vdso_platform_setup): Likewise.
21319         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21320         Likewise.
21321         (_libc_vdso_platform_setup): Likewise.
21322         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21323         Likewise.
21324         (__vdso_clock_gettime): Likewise.
21325         (__vdso_clock_getres): Likewise.
21326         (__vdso_get_tbfreq): Likewise.
21327         (__vdso_getcpu): Likewise.
21328         (__vdso_time): Likewise.
21329         (__vdso_sigtramp_rt64): Likewise.
21330         (__vdso_signtramp32): Likewise.
21331         (__vdso_sigtramp_rt32): Likewise.
21332         (_libc_vdso_platform_setup): Likewise.
21333         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21334         Likewise.
21335         (__vdso_clock_gettime): Likewise.
21336         (__vdso_clock_getres): Likewise.
21337         (_libc_vdso_platform_setup): Likewise.
21338         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21339         Likewise.
21340         (__vdso_clock_gettime): Likewise.
21341         (_libc_vdso_platform_setup): Likewise.
21342         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21343         Likewise.
21344         (__vdso_getcpu): Likewise.
21345         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21346         Use VDSO_SYMBOL macro to define.
21347         (__vdso_clock_gettime): Likewise.
21348         (__vdso_clock_getres): Likewise.
21349         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21350         Likewise.
21351         (__vdso_clock_gettime): Likewise.
21352         (__vdso_clock_getres): Likewise.
21353         (__vdso_get_tbfreq): Likewise.
21354         (__vdso_getcpu): Likewise.
21355         (__vdso_time): Likewise.
21356         (__vdso_sigtramp_rt64): Likewise.
21357         (__vdso_signtramp32): Likewise.
21358         (__vdso_sigtramp_rt32): Likewise.
21359         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21360         Likewise.
21361         (__vdso_clock_gettime): Likewise.
21362         (__vdso_clock_getres): Likewise.
21363         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21364         Likewise.
21365         (__vdso_clock_gettime): Likewise.
21366         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21367         Likewise.
21368         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21369         macro.
21370         (INTERNAL_VSYSCALL): Likewise.
21371         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21372         Remove macro.
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/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21378         Likewise.
21379         (INTERNAL_VSYSCALL): Likewise.
21380         (INTERNAL_VSYSCALL_NCS): Likewise.
21381         (INTERNAL_VSYSCALL_CALL): New macro.
21382         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21384         (INLINE_VSYSCALL): Remove macro.
21385         (INTERNAL_VSYSCALL): Remove macro.
21386         (INTERNAL_VSYSCALL_NCS): Remove macro.
21387         (INTERNAL_VSYSCALL_CALL): New macro.
21388         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21389         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21390         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21391         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21392         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21394         (INLINE_VSYSCALL): Remove macro.
21395         (INTERNAL_VSYSCALL): Likewise.
21396         (INTERNAL_VSYSCALL_NCS): Likewise.
21397         (INTERNAL_VSYSCALL_CALL): New macro.
21398         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21399         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21400         PTR_DEMANGLE on vDSO pointer.
21401         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21402         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21403         macro.
21404         (INTERNAL_SYSCALL): Likewise.
21405         (INTERNAL_VSYSCALL_NCS): Remove macro.
21406         (INTERNAL_VSYSCALL_CALL): New macro.
21407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21408         Remove macro.
21409         (INTERNAL_VSYSCALL): Likewise.
21410         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21411         sysdep-vdso.h instead of libc-vdso.h.
21412         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21413         definition.
21414         (INLINE_VSYSCALL): Likewise.
21415         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21416         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21417         definition.
21418         (INLINE_VSYSCALL): Likewise.
21419         (INTERNAL_VSYSCALL): Likewise.
21420         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21421         * sysdeps/unix/sysv/linux/timespec_get.c
21422         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21423         (timespec_get): Use ANSI prototype.
21424         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21425         and definition for Linux.
21427 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21429         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21430         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21432 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21434         [BZ #2981]
21435         [BZ #18410]
21436         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21437         for missing DT_PLTRELSZ.
21439 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21441         Remove obsolete aliases that broke 'locale -a'
21442         [BZ #18412]
21443         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21444         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21445         breaking some applications that use 'locale -a' output.
21446         Change the encoding of this file from Latin-1 to ASCII to avoid
21447         other potential problems with people grepping this file.
21449 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21451         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21452         -fasynchronous-unwind-tables.
21453         (CFLAGS-sendto.c): Likewise.
21454         (CFLAGS-sendmsg.c): Likewise.
21455         (CFLAGS-connect.c): Likewise.
21456         (CFLAGS-recvmsg.c): Likewise.
21457         (CFLAGS-recvfrom.c): Likewise.
21458         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21459         (SOCKETCALL): New macro: non-cancellable socketcall.
21460         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21461         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21462         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21463         * sysdeps/unix/sysv/linux/accept.c: New file.
21464         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21465         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21466         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21467         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21468         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21469         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21470         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21471         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21472         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21473         * sysdeps/unix/sysv/linux/send.c: Likewise.
21474         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21475         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21476         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21477         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21478         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21479         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21480         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21481         prototype.
21482         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21483         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21484         instead of __internal_xxx function.
21485         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21486         prototype.
21487         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21488         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21489         instead of __internal_xxx function.
21490         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21491         prototype.
21492         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21493         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21494         instead of __internal_xxx function.
21495         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21496         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21497         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21498         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21499         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21500         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21501         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21502         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21503         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21504         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21505         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21506         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21507         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21508         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21509         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21510         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21511         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21512         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21513         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21514         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21517         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21518         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21519         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21520         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21521         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21522         * sysdeps/unix/sysv/linux/send.S: Likewise.
21523         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21524         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21525         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21526         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21527         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21528         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21529         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21530         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21531         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21532         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21533         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21534         socketcall is implemented in GLIBC.
21536 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21538         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21539         (__fma): Ignore uninitialized warnings around packing.
21540         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21541         (__fmaf): Ignore uninitialized warnings around packing.
21542         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21543         (__fmal): Ignore uninitialized warnings around packing.
21545         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21546         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21547         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21548         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21550         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21551         switch statement into default case.
21552         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21554         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21555         a conditional in forcing "inexact".
21556         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21557         Likewise.
21559 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21561         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21562         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21563         for each INTERNAL_SYSCALL use.
21565 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21567         [BZ #438]
21568         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21569         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21570         variable.
21572         [BZ #18444]
21573         * string/basename.c (basename): Rename to __basename and define as
21574         weak alias of __basename.  Use libc_hidden_weak.
21575         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
21576         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
21577         __basename instead of basename.
21578         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
21579         Remove variable.
21580         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21582 2015-05-18  Florian Weimer  <fweimer@redhat.com>
21584         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
21585         (_IO_JUMPS_FILE_plus): New.
21586         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
21587         _IO_CAST_FIELD_ACCESS.
21588         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
21589         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
21590         * libio/freopen.c (freopen): Likewise.
21591         * libio/freopen64.c (freopen64): Likewise.
21592         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
21593         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
21594         * libio/iofwide.c (_IO_fwide): Likewise.
21595         * libio/memstream.c (open_memstream): Likewise.
21596         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21597         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21598         * libio/oldiopopen.c (_IO_old_popen): Likewise.
21600 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
21602         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
21603         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
21604         NADJ.
21605         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
21606         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
21607         NADJ.
21608         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
21609         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
21610         NADJ.
21612         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
21613         (p == 4) case.
21615         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
21616         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
21617         Remove variable.
21618         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21619         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21620         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21622 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21624         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
21625         Adjust jump table label generation macros.
21627 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21629         * stdio-common/vfprintf.c (vfprintf): Move local variables
21630         args_malloced, specs, specs_malloced, and the code after
21631         do_positional to the printf_positional function.
21632         (printf_positional): New function.
21634 2015-05-21  Florian Weimer  <fweimer@redhat.com>
21636         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
21637         function.
21638         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
21639         STEP4_TABLE, process_arg): Move macro definitions
21640         out of the vfprintf function.  (Cosmetic change only.)
21642 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
21644         * benchtests/Makefile (stdio-common-bench): Define.
21645         (benchset): Add stdio-common-bench.
21646         * sprintf-inputs: New file.
21647         * sprintf-source.c: New file.
21649 2015-05-21  Andreas Schwab  <schwab@suse.de>
21651         [BZ #13028]
21652         [BZ #17053]
21653         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
21654         of struct __res_state.
21655         * resolv/res_send.c (__libc_res_nsend): Likewise.
21656         (get_nsaddr): New function.
21657         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
21658         statp directly.
21660 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
21662         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
21663         -D_POSIX_C_SOURCE=199506L.
21665         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
21667         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
21668         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
21669         Do not mention otherwise.
21670         [POSIX] (_XOPEN_VERSION): Do not expect.
21671         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
21672         [POSIX] (_POSIX2_C_BIND): Likewise.
21673         [POSIX] (_POSIX2_VERSION): Likewise.
21674         [POSIX] (_XOPEN_XPG2): Likewise.
21675         [POSIX] (_XOPEN_XPG3): Likewise.
21676         [POSIX] (_XOPEN_XPG4): Likewise.
21677         [POSIX] (_XOPEN_UNIX): Likewise.
21678         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
21679         [POSIX] (_POSIX_BARRIERS): Likewise.
21680         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
21681         [POSIX] (_POSIX_CPUTIME): Likewise.
21682         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
21683         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
21684         [POSIX] (_POSIX_SHELL): Likewise.
21685         [POSIX] (_POSIX_SPAWN): Likewise.
21686         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
21687         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
21688         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
21689         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
21690         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
21691         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
21692         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
21693         [POSIX] (_XBS5_LP64_OFF64): Likewise.
21694         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
21695         [POSIX] (_POSIX_TIMEOUTS): Likewise.
21696         [POSIX] (_POSIX2_PBS): Likewise.
21697         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
21698         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
21699         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
21700         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
21701         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
21702         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
21703         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
21704         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
21705         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
21706         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
21707         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
21708         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
21709         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
21710         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
21711         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
21712         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
21713         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
21714         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
21715         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
21716         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
21717         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
21718         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
21719         [POSIX] (_SC_2_C_BIND): Likewise.
21720         [POSIX] (_SC_2_C_VERSION): Likewise.
21721         [POSIX] (_SC_2_PBS): Likewise.
21722         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
21723         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
21724         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
21725         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
21726         [POSIX] (_SC_2_PBS_TRACK): Likewise.
21727         [POSIX] (_SC_ATEXIT_MAX): Likewise.
21728         [POSIX] (_SC_BARRIERS): Likewise.
21729         [POSIX] (_SC_BASE): Likewise.
21730         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
21731         [POSIX] (_SC_DEVICE_IO): Likewise.
21732         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
21733         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
21734         [POSIX] (_SC_FD_MGMT): Likewise.
21735         [POSIX] (_SC_FIFO): Likewise.
21736         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
21737         [POSIX] (_SC_FILE_LOCKING): Likewise.
21738         [POSIX] (_SC_FILE_SYSTEM): Likewise.
21739         [POSIX] (_SC_IOV_MAX): Likewise.
21740         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
21741         [POSIX] (_SC_NETWORKING): Likewise.
21742         [POSIX] (_SC_PAGE_SIZE): Likewise.
21743         [POSIX] (_SC_PASS_MAX): Likewise.
21744         [POSIX] (_SC_PIPE): Likewise.
21745         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
21746         [POSIX] (_SC_REGEXP): Likewise.
21747         [POSIX] (_SC_SHELL): Likewise.
21748         [POSIX] (_SC_SIGNALS): Likewise.
21749         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
21750         [POSIX] (_SC_SPIN_LOCKS): Likewise.
21751         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
21752         [POSIX] (_SC_USER_GROUPS): Likewise.
21753         [POSIX] (_SC_USER_GROUPS_R): Likewise.
21754         [POSIX] (_SC_STREAMS): Likewise.
21755         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
21756         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
21757         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21758         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21759         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21760         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21761         [POSIX] (_PC_FILESIZEBITS): Likewise.
21762         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21763         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21764         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21765         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21766         [POSIX] (uid_t): Likewise.
21767         [POSIX] (gid_t): Likewise.
21768         [POSIX] (off_t): Likewise.
21769         [POSIX] (pid_t): Likewise.
21770         [POSIX] (cuserid): Allow.
21771         (_SC_2_CHAR_TERM): Require constant.
21772         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21773         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21774         variable.
21776 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21778         * sysdeps/nacl/pthread-pids.h: New file.
21779         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21780         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21782         * nptl/pthread-pids.h: New file.
21783         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21784         * nptl/nptl-init.c: Include <pthread-pids.h>.
21785         (__pthread_initialize_minimal_internal):
21786         Call __pthread_initialize_pids instead of set_tid_address syscall.
21788         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21789         * sysdeps/posix/usleep.c: ... here.
21791 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21793         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21794         call_pselect6 object.
21795         [$(subdir) = io]: Remove call_sync_file_range object.
21796         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21797         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21798         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21799         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21801 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21803         * math/s_cproj.c: Add include "math_private.h".
21804         * math/s_cprojf.c: Likewise.
21805         * math/s_cprojl.c: Likewise.
21807 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21809         [BZ #18244]
21810         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21811         high mantissa bit when testing whether P is a NaN.
21812         * math/libm-test.inc (remainder_test_data): Add more tests.
21813         (remquo_test_data): Likewise.
21815         [BZ #18049]
21816         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21817         below -32, return the argument, with underflow if subnormal.
21818         * math/auto-libm-test-in: Add more tests of atanh.
21819         * math/auto-libm-test-out: Regenerated.
21821 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21823         [BZ #18434]
21824         * nptl/tst-sem15.c: New file.
21825         * nptl/Makefile (tests): Add it.
21826         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21827         s/<</>>/ to fix typo in EOVERFLOW check.
21828         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21830 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21832         * manual/strings.texi (envz_remove): Fix typo in safety
21833         annotations.
21835 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21836             Steve Ellcey  <sellcey@imgtec.com>
21838         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21839         in order to avoid strict alias warnings.
21840         (iruserok_af): Ditto for ra.
21842 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21844         [BZ #17581]
21845         * malloc/hooks.c
21846         (magicbyte): Convert to a function and avoid returning 0x01.
21847         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21848         (mem2chunk_check): Fix unsigned comparisons to zero.
21849         Hoist defs of sz and magic.
21851 2015-05-19  Richard Henderson  <rth@redhat.com>
21853         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21855         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21857 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21859         [BZ #16159]
21860         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21861         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21862         (reused_arena): Find a non-corrupt arena.
21863         (heap_trim): Pass arena to unlink.
21864         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21865         malloc_printerr.
21866         (top_check): Likewise.
21867         (free_check): Likewise.
21868         (realloc_check): Likewise.
21869         * malloc/malloc.c (malloc_printerr): Add arena argument.
21870         (unlink): Likewise.
21871         (munmap_chunk): Adjust.
21872         (ARENA_CORRUPTION_BIT): New macro.
21873         (arena_is_corrupt): Likewise.
21874         (set_arena_corrupt): Likewise.
21875         (sysmalloc): Use mmap if there are no usable arenas.
21876         (_int_malloc): Likewise.
21877         (__libc_malloc): Don't fail if arena_get returns NULL.
21878         (_mid_memalign): Likewise.
21879         (__libc_calloc): Likewise.
21880         (__libc_realloc): Adjust for additional argument to
21881         malloc_printerr.
21882         (_int_free): Likewise.
21883         (malloc_consolidate): Likewise.
21884         (_int_realloc): Likewise.
21885         (_int_memalign): Don't touch corrupt arenas.
21886         * malloc/tst-malloc-backtrace.c: New test case.
21888         * Makefile (summarize-tests): Fix return value on success.
21890         * manual/string.texi (Envz Functions): Add envz_remove.
21892 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21894         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21895         (invalid_name): New function, broken out of ...
21896         (__opendirat): ... here.  Call it.
21897         (need_isdir_precheck): New function, broken out of ...
21898         (__opendirat): ... here.  Call it.
21899         Use __fxstatat64, not __xstatat64.
21900         (opendir_oflags): New function, broken out of ...
21901         (__opendirat): ... here.  Call it.
21902         (opendir_tail): New function, broken out of ...
21903         (__opendirat): ... here.  Call it.
21904         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21905         opendir_tail, rather than punting to __opendirat.
21906         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21908 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21910         * .gitignore: Ignore generated *.pyc.
21912 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21914         * include/stdio.h: Define __need_wint_t.
21915         * test-skeleton.c: Avoid `for' loop initial declaration.
21916         * nptl/tst-initializers1.c: Use test-skeleton.c.
21918 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21920         [BZ #18418]
21921         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21923 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21925         [BZ #16352]
21926         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21927         (__ieee754_atanh): Force underflow exception for results with
21928         small absolute value.
21929         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21930         (__ieee754_atanhf): Force underflow exception for results with
21931         small absolute value.
21932         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21933         (__ieee754_atanh): Force underflow exception for results with
21934         small absolute value.
21935         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21936         (__ieee754_atanhf): Force underflow exception for results with
21937         small absolute value.
21938         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21939         (__ieee754_atanhl): Force underflow exception for results with
21940         small absolute value.
21941         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21942         (__ieee754_atanhl): Force underflow exception for results with
21943         small absolute value.
21944         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21945         (__ieee754_atanhl): Force underflow exception for results with
21946         small absolute value.
21947         * math/auto-libm-test-in: Do not allow missing underflow
21948         exceptions from atanh.
21949         * math/auto-libm-test-out: Regenerated.
21951         [BZ #18221]
21952         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21953         2**-28 as threshold for returning x or +/- 1/x.
21954         * math/auto-libm-test-in: Add more tests of tan.
21955         * math/auto-libm-test-out: Regenerated.
21957         [BZ #18220]
21958         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21959         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21960         * math/auto-libm-test-in: Add another test of lgamma.
21961         * math/auto-libm-test-out: Regenerated.
21963 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21965         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21966         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21967         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21968         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21969         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21970         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21971         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21972         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21973         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21974         (log1): Use fabs.  (my_log2): Use fabs.
21975         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21976         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21977         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21978         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21979         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21980         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21981         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21982         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21983         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21984         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21985         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21987 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21989         [BZ #18217]
21990         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21991         as threshold for returning 1 - x.
21992         * math/auto-libm-test-in: Add more tests of erfc.
21993         * math/auto-libm-test-out: Regenerated.
21995 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21997         [BZ #18196]
21998         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21999         threshold for large arguments.
22000         * math/auto-libm-test-in: Add another test of atan.
22001         * math/auto-libm-test-out: Regenerated.
22003         [BZ #16339]
22004         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22005         (__log1p): Force underflow exception for results with small
22006         absolute value.
22007         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22008         (__log1pf): Force underflow exception for results with small
22009         absolute value.
22010         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22011         (__log1p): Force underflow exception for results with small
22012         absolute value.
22013         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22014         (__log1pf): Force underflow exception for results with small
22015         absolute value.
22016         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22017         (__log1pl): Force underflow exception for results with small
22018         absolute value.
22019         * math/auto-libm-test-in: Do not allow missing underflow
22020         exceptions from log1p.
22021         * math/auto-libm-test-out: Regenerated.
22023 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22024             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22026         [BZ #16704]
22027         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22029 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22031         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22032         (libmvec): New variable.
22033         * configure.ac: Added option for mathvec build.
22034         * configure: Regenerated.
22035         * mathvec/Depend: New file.
22036         * mathvec/Makefile: New file.
22037         * shlib-versions: Added libmvec.
22038         * math/Makefile: Added rule for libm.so installation.
22040         * bits/math-vector.h: New file.
22041         * bits/libm-simd-decl-stubs.h: New header.
22042         * math/Makefile (headers): Added new header
22043         libm-simd-decl-stubs.h.
22044         * math/math.h (__MATHCALL_VEC): New macro.
22046         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22047         for conditions in testing functions.
22048         * math/Makefile: Added call of libm-have-vector-test.sh.
22049         * math/libm-test.inc (HAVE_VECTOR): New macros.
22051         * math/libm-test.inc: START refactored.
22052         * math/test-double.c (TEST_MATHVEC): Add define.
22053         * math/test-float.c: Likewise.
22054         * math/test-idouble.c: Likewise.
22055         * math/test-ifloat.c: Likewise.
22056         * math/test-ildoubl.c: Likewise.
22057         * math/test-ldouble.c: Likewise.
22058         * sysdeps/generic/math-tests-arch.h
22059         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22060         architecture check.
22062         * math/test-double.c (FUNC_TEST): New macro.
22063         * math/test-float.c: Likewise.
22064         * math/test-idouble.c: Likewise.
22065         * math/test-ifloat.c: Likewise.
22066         * math/test-ildoubl.c: Likewise.
22067         * math/test-ldouble.c: Likewise.
22068         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22070 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22072         * sysdeps/nacl/fdopendir.c: New file.
22074         * dirent/scandir-tail.c: New file.
22075         * dirent/scandir64-tail.c: New file.
22076         * dirent/Makefile (routines): Add them.
22077         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22078         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22079         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22080         [!SCANDIR] (SCANDIR_TAIL): New macro.
22081         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22082         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22083         (SCANDIRAT): Macro removed.
22084         (SCANDIR_TAIL): New macro.
22085         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22086         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22087         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22088         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22089         (READDIR): Macro removed.
22090         (SCANDIR_TAIL): New macro.
22091         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22092         (SCANDIR_TAIL): New macro.
22094         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22095         * dirent/scandir-cancel.c: ... to this new file.
22096         * dirent/Makefile (routines): Add it.
22097         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22098         * sysdeps/unix/sysv/linux/i386/scandir64.c
22099         (SKIP_SCANDIR_CANCEL): Macro removed.
22100         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22102         * dirent/tst-scandir.c: New file.
22103         * dirent/tst-scandir64.c: New file.
22104         * dirent/Makefile (tests): Add them.
22106 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22108         [BZ #18409]
22109         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22111 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22113         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22114         list.
22116 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22118         * benchtests/bench-strcoll.c: New benchmark.
22119         * benchtests/Makefile: Generate locales and run benchmark.
22120         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22121         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22122         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22123         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22124         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22125         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22126         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22127         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22128         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22129         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22130         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22131         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22132         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22133         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22134         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22135         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22136         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22137         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22138         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22139         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22140         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22141         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22142         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22143         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22145 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22147         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22148         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22150 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22152         * posix/uname-values.h: New file.
22153         * posix/uname.c: Include that instead of <config-name.h>.
22154         * sysdeps/nacl/uname-values.h: New file.
22155         * sysdeps/arm/nacl/uname-values.h: New file.
22157 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22159         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22160         splitting into fields.
22162 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22164         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22165         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22166         * locale/localeinfo.h: Add enum collation_encoding_type.
22167         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22168         * programs/ld-collate.c (collate_output): Add encoding type info.
22169         * string/strcoll_l.c (STRDIFF): New function.
22170         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22171         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22173 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22175         [BZ #18397]
22176         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22177         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22178         <fpu_control.h> instead of <math/fpu_control.c>.
22179         * sysdeps/mips/mips32/fpu/Makefile: New file.
22181 2015-05-11  Andreas Schwab  <schwab@suse.de>
22183         [BZ #18007]
22184         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22185         nss_endgrent.
22186         (_nss_compat_endgrent): Call nss_endgrent.
22187         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22188         nss_endpwent.
22189         (_nss_compat_endpwent): Call nss_endpwent.
22190         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22191         needent, call nss_setspent only if non-zero.
22192         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22193         (internal_endspent): Don't call nss_endspent.
22194         (_nss_compat_endspent): Call nss_endspent.
22195         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22196         Remove.  All uses removed.
22197         (internal_setent): Remove parameter stayopen, add parameter
22198         stream.  Use it instead of global variable.
22199         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22200         (internal_endent, internal_getent): Add parameter stream.  Use it
22201         instead of global variable.
22202         (CONCAT(_nss_files_end,ENTNAME))
22203         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22204         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22205         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22206         uses removed.
22207         (internal_setent, internal_endent): Add parameter stream.  Use it
22208         instead of global variable.
22209         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22210         stream.
22211         (get_next_alias): Add parameter stream.
22212         (_nss_files_getaliasent_r): Pass global stream.
22213         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22214         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22215         (_nss_files_gethostbyname4_r): Pass local stream to
22216         internal_setent, internal_getent and internal_endent.  Remove
22217         locking.
22219 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22221         * tst-strfmon1.c (tests): Update expected currency symbol.
22223 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22225         * sysdeps/nacl/gethostname.c: New file.
22227 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22229         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22230         and sinh.
22231         * math/auto-libm-test-out: Regenerated.
22232         * sysdeps/i386/fpu/libm-test-ulps: Update.
22233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22235 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22237         [BZ #18125]
22238         * stdlib/tst-setcontext3.c: New file.
22239         * stdlib/tst-setcontext3.sh: New file.
22240         * stdlib/Makefile (tests): Add tst-setcontext3.
22241         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22242         to verify test program created output file.
22243         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22244         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22245         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22246         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22248 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22250         [BZ #18383]
22251         * elf/tst-tlsalign.c: New file.
22252         * elf/tst-tlsalign-static.c: New file.
22253         * elf/tst-tlsalign-lib.c: New file.
22254         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22255         (tests-static): Add tst-tlsalign-static.
22256         (modules-names): Add tst-tlsalign-lib.
22257         (test-xfail-tst-tlsalign): New variable.
22258         (test-xfail-tst-tlsalign-static): New variable.
22260         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22261         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22263 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22265         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22266         csqrt, erfc, sin and sincos.
22267         * math/auto-libm-test-out: Regenerated.
22268         * sysdeps/i386/fpu/libm-test-ulps: Update.
22269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22271 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22273         * sysdeps/aarch64/libm-test-ulps: Update.
22275 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22277         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22278         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22279         * math/auto-libm-test-out: Regenerated.
22280         * sysdeps/i386/fpu/libm-test-ulps: Update.
22281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22283 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22285         [BZ #18265]
22286         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22287         (wcsncpy): Likewise.
22289 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22291         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22292         Assume __ASSUME_FALLOCATE is always true.
22293         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22294         (__posix_fallocate64_l64): Likweise.
22295         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22296         (posix_fallocate): Likewise.
22297         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22298         (__posix_fallocate64_l64): Likewise.
22299         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22300         [!__ASSUME_FALLOCATE]: Add comment.
22302 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22304         * sysdeps/unix/sysv/linux/i386/Makefile
22305         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22306         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22307         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22308         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22309         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22310         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22311         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22313 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22315         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22316         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22317         tgamma.
22318         * math/auto-libm-test-out: Regenerated.
22319         * sysdeps/i386/fpu/libm-test-ulps: Update.
22320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22322 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22324         * math/auto-libm-test-in: Add more tests of tgamma.
22325         * math/auto-libm-test-out: Regenerated.
22326         * sysdeps/i386/fpu/libm-test-ulps: Update.
22327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22329         * math/auto-libm-test-in: Add more tests of tanh.
22330         * math/auto-libm-test-out: Regenerated.
22331         * sysdeps/i386/fpu/libm-test-ulps: Update.
22332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22334         * math/auto-libm-test-in: Add more tests of tan.
22335         * math/auto-libm-test-out: Regenerated.
22336         * sysdeps/i386/fpu/libm-test-ulps: Update.
22337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22339         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22340         * math/auto-libm-test-out: Regenerated.
22341         * sysdeps/i386/fpu/libm-test-ulps: Update.
22342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22344         * math/auto-libm-test-in: Add another test of pow.
22345         * math/auto-libm-test-out: Regenerated.
22346         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22348         * math/auto-libm-test-in: Add more tests of lgamma.
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         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22354         log1p.
22355         * math/auto-libm-test-out: Regenerated.
22356         * sysdeps/i386/fpu/libm-test-ulps: Update.
22357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22359 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22361         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22362         Elf64_Chdr structs and ELFCOMPRESS constants.
22364 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22366         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22367         expm1.
22368         * math/auto-libm-test-out: Regenerated.
22369         * sysdeps/i386/fpu/libm-test-ulps: Update.
22370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22372         * math/auto-libm-test-in: Add more tests of erf and erfc.
22373         * math/auto-libm-test-out: Regenerated.
22374         * sysdeps/i386/fpu/libm-test-ulps: Update.
22375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22377 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22379         * config.h.in (HAVE_AARCH64_BE): Add.
22381 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22383         * math/auto-libm-test-in: Add more tests of csqrt.
22384         * math/auto-libm-test-out: Regenerated.
22385         * sysdeps/i386/fpu/libm-test-ulps: Update.
22386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22388         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22389         * math/auto-libm-test-out: Regenerated.
22390         * sysdeps/i386/fpu/libm-test-ulps: Update.
22391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22393         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22395 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22397         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22398         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22400         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22401         (euidaccess, eaccess): Define as weak aliases.
22403         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22404         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22405         but __suseconds_t is often 'long int' so some sources assume that
22406         type is being used (e.g. they use %ld to print tv_usec).
22408 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22410         [BZ #18007]
22411         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22412         (CVE-2014-8121)
22413         * nss/tst-nss-getpwent.c: New file.
22414         * nss/Makefile (tests): Add new test.
22416 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22418         [BZ #18346]
22419         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22420         exponents less than 48 as cases where high part of mantissa needs
22421         examining to determine whether argument is integral.
22422         * math/libm-test.inc (round_test_data): Add more tests.
22424 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22426         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22428 2015-04-27  David S. Miller  <davem@davemloft.net>
22430         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22431         __tls_get_addr.
22432         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22434 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22436         [BZ#18333]
22437         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22439 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22441         [BZ#18333]
22442         * time/tzset.c (parse_tzname): Return error on memory allocation
22443         failure.
22444         * test-skeleton.c (struct temp_name_list): Change type of name
22445         member to non-const.
22446         (add_temp_file): Create a copy of the file name.
22447         (delete_temp_files): Deallocate memory.
22448         (create_temp_file): Add comment.
22450 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22452         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22453         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22455 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22457         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22458         * sysdeps/arm/configure: Regenerated.
22460 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22462         [BZ #17715]
22463         * time/tzfile.c (__tzfile_read): Check for large values of
22464         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22465         * time/tzset.c (__tzstring_len): New function, based on the old
22466         __tzstring function.
22467         (__tzstring): Call __tzstring_len.
22468         (parse_tzname): New helper function extracted from
22469         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22470         the input string.
22471         (parse_offset): New helper function extracted from
22472         __tzset_parse_tz.  Replace switch with fallthrough with
22473         initialization before sscanf.
22474         (parse_rule): Likewise.
22475         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22476         new-style function definition.
22477         * timezone/Makefile (tests): Add tst-tzset.
22478         (tst-tzset.out): Dependencies on time zone files.
22479         (tst-tzset-ENV): Set TZDIR.
22480         (testdata/XT%): Copy crafted time zone files.
22481         * timezone/README: Mention crafted time zone files.
22482         * timezone/testdata/XT1, timezone/testdata/XT2,
22483         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22484         files.
22485         * timezone/tst-tzset.c: New test.
22487 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22489         * Makeconfig (+gccwarn): Remove -Winline.
22491 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22493         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22495 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22497         * NEWS: Mention sysconf() cache information support for s390.
22498         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22500 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22502         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22503         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22504         (__nearbyint): Likewise.
22505         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22506         (copysignl): Likewise.
22508 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22510         [BZ #18287]
22511         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22512         based on padding.  (CVE-2015-1781)
22514 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22516         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22517         libc-vdso.h.
22518         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22519         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22520         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22521         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22522         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22523         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22524         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22525         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22526         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22527         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22528         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22529         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22530         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22531         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22532         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22533         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22534         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22535         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22536         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22537         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22538         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22539         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22540         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22542 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22544         * stdlib/setenv.c (__add_to_environ):
22545         Dump core quickly if setenv (..., NULL, ...) is called.
22546         This time, do it the right way, and pacify GCC with a pragma.
22548 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22550         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22551         IMAP->l_prev cannot be null, and #if out the code for the contrary
22552         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22553         believe that NS (&_dl_ns[NSID]) could point outside the array.
22555         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22556         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22557         before using NSID as an index.
22559 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22561         [BZ #17825]
22562         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22563         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22564         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22566 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22568         Add preliminary port to Google Native Client on ARM.
22569         * abi-tags (.*-.*-nacl.*): New entry.
22570         * sysdeps/arm/nacl: New directory.
22571         * sysdeps/nacl: New directory.
22573 2015-04-16  David S. Miller  <davem@davemloft.net>
22575         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
22576         lowlevellock-futex.h
22578 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
22580         * sysdeps/tile/configure.ac: New file.
22581         * sysdeps/tile/configure: Regenerated.
22583 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22585         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
22586         conditionals for weak_alias and libc_hidden_weak.
22587         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
22588         libc_hidden_weak and weak_alias.
22589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
22590         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
22591         and weak_alias for static one.
22593 2015-04-15  David S. Miller  <davem@davemloft.net>
22595         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22597 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22599         [BZ #18206]
22600         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
22601           Use signed comparision instead of substraction to avoid
22602           overflow bug.
22603         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
22604           Take the sign of ret.
22605         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
22606           Do not expect precise return values. Only the sign matters.
22607         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
22608         * wcsmbs/test-wcsncmp.c: New File.
22609         * string/test-strncmp.c: Add wcsncmp support.
22611 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22613         [BZ #6792]
22614         * math/w_log1p.c: New file.
22615         * math/w_log1pf.c: Likewise.
22616         * math/w_log1pl.c: Likewise.
22617         * math/Makefile (libm-calls): Add w_log1p.
22618         * math/s_log1pl.c (log1pl): Remove weak_alias.
22619         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
22620         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
22621         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
22622         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
22623         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
22624         [NO_LONG_DOUBLE] (log1pl): Likewise.
22625         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
22626         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
22627         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
22628         (log1p): Remove long_double_symbol.
22629         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
22630         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
22631         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
22632         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
22633         remove weak_alias for corresponding log1p function.
22634         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
22635         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
22636         * sysdeps/ia64/fpu/w_log1p.c: New file.
22637         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
22638         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
22639         * math/libm-test.inc (log1p_test_data): Add errno expectations.
22641 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
22643         [BZ #18247]
22644         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
22645         decimal exponent by 1.
22646         * stdlib/tst-strtod-round-data: Add more tests.
22647         * stdlib/tst-strtod-round.c (tests): Regenerated.
22649 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
22651         * math/auto-libm-test-in: Add more tests of clog and clog10.
22652         * math/auto-libm-test-out: Regenerated.
22653         * sysdeps/i386/fpu/libm-test-ulps: Update.
22654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22656 2015-04-09  Roland McGrath  <roland@hack.frob.com>
22658         * Makeconfig (module-cppflags): Exclude all .v.i files.
22659         (skip-module-cppflags): Variable removed.
22661         * configure.ac (libc_config_ok): Initialize before reading
22662         preconfigure scripts, not after.
22663         * configure: Regenerated.
22665         * test-skeleton.c (TIMEOUT): Move #define to top level.
22666         (main): Grok environment variable TEST_DIRECT.  If set, print
22667         test expectation details into that file and then behave as if
22668         given --direct.
22670 2015-04-09  Florian Weimer  <fweimer@redhat.com>
22672         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
22673         warning on 32-bit.
22675 2015-04-08  David S. Miller  <davem@davemloft.net>
22677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22679 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22681         * math/auto-libm-test-in: Add more tests of atanh.
22682         * math/auto-libm-test-out: Regenerated.
22683         * sysdeps/i386/fpu/libm-test-ulps: Update.
22684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22686         * math/auto-libm-test-in: Add more tests of atan.
22687         * math/auto-libm-test-out: Regenerated.
22688         * sysdeps/i386/fpu/libm-test-ulps: Update.
22689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22691 2015-04-08  Florian Weimer  <fweimer@redhat.com>
22693         * elf/pldd.c (main): Rewrite to use struct
22694         scratch_buffer instead of extend_alloca.
22695         * elf/pldd-xx.c (find_maps): Likewise.
22696         * grp/initgroups.c: Include <scratch_buffer.h> instead of
22697         <alloca.h>.
22698         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
22699         scratch_buffer instead of extend_alloca.
22700         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
22701         grp/compat-initgroups.c.
22702         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
22703         Rewrite to use struct scratch_buffer instead of extend_alloca.
22704         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22705         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22707 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
22709         * math/auto-libm-test-in: Add more tests of cbrt.
22710         * math/auto-libm-test-out: Regenerated.
22711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22713         * math/auto-libm-test-in: Add more tests of cabs.
22714         * math/auto-libm-test-out: Regenerated.
22715         * sysdeps/i386/fpu/libm-test-ulps: Update.
22716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22718         [BZ #18210]
22719         [BZ #18211]
22720         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
22721         (__ieee754_atan2): Set FE_TONEAREST mode for internal
22722         computations.
22723         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
22724         clog10.
22725         * math/auto-libm-test-out: Regenerated.
22726         * sysdeps/i386/fpu/libm-test-ulps: Update.
22727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22729         [BZ #18197]
22730         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
22731         (atan): Set FE_TONEAREST mode for internal computations.
22732         * math/auto-libm-test-in: Add more tests of atan.
22733         * math/auto-libm-test-out: Regenerated.
22735 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
22737         [BZ #17930]
22738         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
22740 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22742         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
22744 2015-04-07  Florian Weimer  <fweimer@redhat.com>
22746         * include/scratch_buffer.h: New file.
22747         * malloc/scratch_buffer_grow.c: Likewise.
22748         * malloc/scratch_buffer_grow_preserve.c: Likewise.
22749         * malloc/scratch_buffer_set_array_size.c: Likewise.
22750         * malloc/tst-scratch_buffer.c: Likewise.
22751         * malloc/Makefile (routines): Add scratch_buffer_grow.
22752         (tests): Add test case.
22753         * malloc/Versions (GLIBC_PRIVATE): Export
22754         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
22755         __libc_scratch_buffer_set_array_size.
22757 2015-04-06  Richard Henderson  <rth@redhat.com>
22759         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22760         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22762         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22763         unsigned int before printing.
22765 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22767         [BZ #17596]
22768         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22769         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22771 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22773         * include/libc-internal.h (libc_max_align_t): Define.
22775 2015-04-02  Andreas Schwab  <schwab@suse.de>
22777         [BZ #16850]
22778         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22780 2015-04-02  Mel Gorman  <mgorman@suse.de>
22782         [BZ #17195]
22783         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22784         as well as the main arena.
22786 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22788         [BZ #18185]
22789         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22790         sharing L2 cache to 2 for Silvermont/Knights Landing.
22792 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22794         [BZ #17711]
22795         * config.make.in (have-protected-data): New.
22796         * configure.ac: Check linker support for protected data symbol.
22797         * configure: Regenerated.
22798         * elf/Makefile (modules-names): Add tst-protected1moda and
22799         tst-protected1modb if $(have-protected-data) is yes.
22800         (tests): Add tst-protected1a and tst-protected1b if
22801         $(have-protected-data) is yes.
22802         ($(objpfx)tst-protected1a): New.
22803         ($(objpfx)tst-protected1b): Likewise.
22804         (tst-protected1modb.so-no-z-defs): Likewise.
22805         * elf/tst-protected1a.c: New file.
22806         * elf/tst-protected1b.c: Likewise.
22807         * elf/tst-protected1mod.h: Likewise.
22808         * elf/tst-protected1moda.c: Likewise.
22809         * elf/tst-protected1modb.c: Likewise.
22811 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22813         [BZ #17711]
22814         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22815         indicates it is called from do_lookup_x on relocation against
22816         protected data, skip the data definion in the executable from
22817         copy reloc.
22818         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22819         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22820         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22821         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22822         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22823         otherwise to 0.
22824         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22825         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22826         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22827         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22828         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22829         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22831 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22833         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22834         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22836 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22838         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22839         THREAD_SETMEM_NC.
22840         * sysdeps/x86_64/nptl/tls.h: Ditto.
22842 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22844         * dlfcn/tststatic.c (main): Converted to ...
22845         (do_test): ... this.
22846         (TEST_FUNCTION): New macro.
22847         Include test-skeleton.c.
22849 2015-03-26  Alan Modra  <amodra@gmail.com>
22851         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22852         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22853         zero for undefined weak.
22854         (elf_machine_plt_conflict): Similarly.
22856 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22858         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22859         atanh.
22860         * math/auto-libm-test-out: Regenerated.
22861         * sysdeps/i386/fpu/libm-test-ulps: Update.
22862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22864         * math/auto-libm-test-in: Add another test of asin.
22865         * math/auto-libm-test-out: Regenerated.
22866         * sysdeps/i386/fpu/libm-test-ulps: Update.
22867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22869         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22870         Remove macro.
22871         (LLL_EBX_REG): Likewise.
22872         (LLL_ENTER_KERNEL): Likewise.
22874         * math/auto-libm-test-in: Add more tests of asin.
22875         * math/auto-libm-test-out: Regenerated.
22876         * sysdeps/i386/fpu/libm-test-ulps: Update.
22877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22879         [BZ #18138]
22880         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22881         libc_do_syscall_args): New structure.
22882         (INTERNAL_SYSCALL_MAIN_0): New macro.
22883         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22884         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22885         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22886         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22887         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22888         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22889         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22890         Replace conditional definitions by conditional definitions of ....
22891         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22892         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22893         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22894         (libpthread-sysdep_routines): Add libc-do-syscall.
22895         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22896         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22897         to __NR_futex not 240.
22899 2015-03-25  Alan Modra  <amodra@gmail.com>
22901         * NEWS: Advertise TLS optimization.
22902         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22903         (DT_PPC_NUM): Increment.
22904         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22905         (CHECK_STATIC_TLS): Use here.
22906         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22907         TLS descriptors.
22908         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22909         * sysdeps/powerpc/dl-tls.c: New file.
22910         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22911         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22912         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22913         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22918 2015-03-25  Alan Modra  <amodra@gmail.com>
22920         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22921         for overlapping .opd entries" to "support...".
22922         * sysdeps/powerpc/powerpc64/configure: Regenerate
22924 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22926         * math/auto-libm-test-in: Add more tests of acos.
22927         * math/auto-libm-test-out: Regenerated.
22928         * sysdeps/i386/fpu/libm-test-ulps: Update.
22929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22931         * math/auto-libm-test-in: Add more tests of expm1.
22932         * math/auto-libm-test-out: Regenerated.
22933         * sysdeps/i386/fpu/libm-test-ulps: Update.
22934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22936 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22938         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22939         * math/auto-libm-test-out: Regenerated.
22940         * sysdeps/i386/fpu/libm-test-ulps: Update.
22941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22943         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22946         * math/auto-libm-test-in: Add more tests of log2.
22947         * math/auto-libm-test-out: Regenerated.
22948         * sysdeps/i386/fpu/libm-test-ulps: Update.
22949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22951 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22953         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22954         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22955         _IO_IS_APPENDING bit in READ_WRITE instead.
22957 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22959         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22960         (__determine_cpumask_size): Replace extend_alloca with a
22961         variable-length array.  Do not treat res == 0 as an error.
22963 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22965         [BZ #18100]
22966         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22967         and integer overflow.
22968         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22969         (main): Add integer overflow tests.
22970         * manual/pattern.texi (Calling Wordexp): Document additional use
22971         for WRDE_SYNTAX.
22973 2015-03-23  Alan Modra  <amodra@gmail.com>
22975         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22976         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22977         and false branch of conditional.
22978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22979         Likewise.
22981 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22983         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22984         libc-modules.h
22985         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22986         unused declaration of _hurd_intr_rpc_msg_in_trap.
22987         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22988         defined instead of whether it is non-zero.
22989         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22990         input constraint instead of both input and output constraint.  Use ecx
22991         clobber instead of %ecx.
22992         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22993         mutex_unlock): Use a statement expression instead of an expression list.
22994         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22995         type to vm_size_t instead of vm_address_t.
22996         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22997         defined instead of whether it is non-zero.
22998         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22999         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23000         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23001         comparisons with mapaddr.
23002         * nscd/nscd-client.h: Include <time.h>.
23003         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23004         9th parameter to __vm_region instead of int.
23005         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23006         * scripts/check-local-headers.sh (exclude): Add device/,
23007         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23008         cthreads.h.
23010 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23012         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23013         to account for alignment padding.
23014         * sysdeps/arm/memmove.S: Likewise.
23016 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23018         * sysdeps/unix/sysv/linux/generic/README: New file.
23020 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23022         [BZ #18138]
23023         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23024         (futex_abstimed_wait)
23025         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23026         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23027         of lll_futex_timed_wait.
23029 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23031         [BZ #17542]
23032         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23034 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23036         [BZ #17090]
23037         [BZ #17620]
23038         [BZ #17621]
23039         [BZ #17628]
23040         * NEWS: Update.
23041         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23042         entries with Static TLS too.  Skip entries past the end of the
23043         allocated DTV, from Alan Modra.
23044         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23045         Static TLS DTV entry set up from...
23046         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23047         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23048         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23049         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23050         for Static TLS.
23051         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23052         that the slot we find is associated with the given map before
23053         using its generation count.
23054         * nptl_db/db_info.c: Include ldsodefs.h.
23055         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23056         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23057         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23058         (link_map::l_tls_offset): New struct field.
23059         (dtv_t::counter): Likewise.
23060         (rtld_global): New struct.
23061         (_rtld_global): New rtld variable.
23062         (dl_tls_dtv_slotinfo_list): New rtld global field.
23063         (dtv_slotinfo_list): New struct.
23064         (dtv_slotinfo): Likewise.
23065         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23066         (td_lookup): Rename to...
23067         (td_mod_lookup): ... this.  Use new mod parameter instead of
23068         LIBPTHREAD_SO.
23069         * nptl_db/td_thr_tlsbase.c: Include link.h.
23070         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23071         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23072         addresses even if the DTV is out of date or missing them.
23073         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23074         index zero-length arrays.
23075         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23076         (td_lookup): Make it a macro implemented in terms of...
23077         (td_mod_lookup): ... this declaration.
23078         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23079         (DB_MAIN_VARIABLE): Likewise.
23081 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23083         [BZ #18134]
23084         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23086 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23088         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23090 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23092         [BZ #18128]
23093         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23094         (atomic_add, atomic_increment_and_test)
23095         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23097 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23099         * stdlib/setenv.c (__add_to_environ):
23100         Dump core quickly if setenv (..., NULL, ...) is called.
23102 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23104         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23105         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23106         all the necessary asm magic in one place.
23107         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23108         using those.
23110 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23112         [BZ #14906]
23113         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23114         traced file mtime. Use consistent log message.
23115         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23116         (register_traced_file): Call install_watches. Always set mtime.
23117         (invalidate_cache): Iterate over all trace files. Call install_watches.
23118         (inotify_check_files): Don't inline. Handle watching parent
23119         directories and configuration file movement in and out.
23120         (handle_inotify_events): New function.
23121         (main_loop_poll): Call handle_inotify_events.
23122         (main_loop_epoll): Likewise.
23123         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23124         (struct traced_file): Use array of inotify fds. Add parent directory,
23125         and basename.
23126         (struct database_dyn): Remove unused file_mtime.
23127         (init_traced_file): New inline function.
23128         (define_traced_file): New macro.
23129         * nss/nss_db/db-init.c: Use define_traced_file.
23130         (_nss_db_init): Use init_traced_file.
23131         * nss/nss_files/files-init.c: Use define_traced_file.
23132         (_nss_files_init): Use init_traced_file.
23134 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23136         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23137         [_LIBC]: Do not include <stdlib.h>.
23138         [!_LIBC] (abort): Remove declaration.
23139         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23140         _FP_STATIC_ASSERT instead of conditionally calling abort.
23141         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23142         (_FP_EXTEND_CNAN): Likewise.
23143         (FP_TRUNC): Likewise.
23144         (__FP_CLZ): Likewise.
23145         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23147 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23149         * manual/string.texi (XPG basename): Fix prototype.
23151 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23153         [BZ #18080]
23154         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23155         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23156         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23157         (__setcontext): Likewise.
23158         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23159         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23160         Call rt_sigprocmask syscall one time to set new signal mask
23161         and retrieve the current signal mask instead of two calls.
23162         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23163         (__swapcontext): Likewise.
23164         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23165         * stdlib/tst-setcontext2.c: New file.
23167 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23169         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23171 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23173         [BZ #18093]
23174         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23175         the wrong size.
23177 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23179         [BZ #18043]
23180         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23182 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23184         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23185         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23186         Remove define.
23187         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23188         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23189         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23190         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23191         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23192         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23193         define.
23194         * nptl_db/td_symbol_list.c (td_lookup): Remove
23195         HAVE_ASM_GLOBAL_DOT_NAME code.
23196         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23197         HAVE_ASM_GLOBAL_DOT_NAME check.
23198         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23199         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23200         (DOT_LABEL): Remove define.
23201         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23202         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23203         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23204         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23205         (__TLS_GET_ADDR): Likewise.
23206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23207         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23209 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23211         [BZ #18111]
23212         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23213         (_FPU_SETCW): Initialize cw from fpsr before storing.
23214         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23215         (fesetexceptflag): Rewrite using fpu_control.h.
23216         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23218 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23220         [BZ #18110]
23221         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23222         asms.
23223         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23225 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23227         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23228         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23229         abort.
23230         (_FP_FMA): Likewise.
23231         (_FP_DIV): Likewise.
23233 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23235         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23236         with 0 in that case.
23237         * Makefile (summarize-tests): New canned sequence, factored out of
23238         commands for targets tests and xtests.  Display summary lines that
23239         don't start with PASS: or XFAIL: rather than ones that do start with
23240         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23241         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23242         do start with ERROR: or FAIL:.
23243         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23244         (except for [$(build-shared) = yes]).
23245         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23246         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23247         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23248         * nptl/Makefile: Revert 2015-03-04 changes.
23249         [$(CXX) empty] (tests-unsupported): New variable.
23250         * debug/Makefile: Likewise.
23252         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23253         gnulib file.  Replace __attribute with __attribute__ throughout.
23255 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23257         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23259 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23261         [BZ #18104]
23262         * math/auto-libm-test-in: Add another test of pow.
23263         * math/auto-libm-test-out: Regenerated.
23265 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23267         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23268         $(config-cflags-nofma).
23270 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23272         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23273         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23274         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23275         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23276         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23277         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23278         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23279         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23280         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23281         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23282         Add comment on closing #endif.
23284 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23286         * posix/wordexp.c (CHAR_IN_SET): New macro.
23287         (parse_param): Use it.
23289 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23291         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23293 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23295         [BZ #18043]
23296         * posix/wordexp.c (parse_param): Fix buffer overflow.
23297         * posix/wordexp-test.c (test_case): Add test case.
23299 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23301         [BZ #18042]
23302         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23303         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23305 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23307         [BZ #18043]
23308         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23309         (do_bz18043): Delete.
23310         (at_page_end): New.
23311         (testit): Refactor to have words at the edge of unreadable page.
23313 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23315         [BZ #16734]
23316         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23317         Cleanup read-only streams as well.
23318         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23320 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23322         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23323         <bits/libc-lockP.h>
23325 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23327         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23328         on [__KERNEL__].
23329         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23330         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23331         * soft-fp/op-common.h (_FP_DECL): Likewise.
23333 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23335         * elf/ifuncdep2.c (global): Replace
23336         __attribute__((visibility("protected"))) with
23337         asm (".protected global").
23338         * elf/ifuncmod1.c (global): Likewise.
23339         * elf/ifuncmod5.c (global): Likewise.
23341 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23343         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23344         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23346 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23348         * manual/install.texi (Configuring and compiling):
23349         Document test-wrapper-env-only.
23350         * INSTALL: Regenerated.
23352 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23354         [BZ #18043]
23355         * posix/wordexp.c (parse_param): Fix buffer overflow.
23356         * posix/wordexp-test.c (do_bz18043): Add test case.
23358 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23360         * time/tst-strptime2.c (do_test): Ensure failing tests are
23361         reported correctly.
23362         * time/tst-strptime3.c (do_test): Likewise.
23364 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23366         Fix aio_error thread-safety.
23367         * sysdeps/pthread/aio_error.c: New file
23368         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23369         synchronization.
23371 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23373         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23374         (group_number, vfprintf): Use it.
23375         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23376         (JUMP, REF): Use it.
23377         (WORK_BUFFER_SIZE): New enum constant.
23378         (process_arg, vfprintf): Use it.
23380 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23382         * manual/errno.texi (Error Messages): Complete example function
23383         by adding missing #define.
23384         (program_invocation_name): Add statement indicating GNU
23385         extension and reference which header file declares the variable.
23386         (program_invocation_short_name): Likewise.
23388 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23390         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23391         compatibility note.
23393 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23395         * Makeconfig (test-wrapper-env-only): New variable.
23396         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23397         then use that with $(test-wrapper-env-only) rather than using
23398         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23400 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23402         [BZ #18082]
23403         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23404         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23405         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23406         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23407         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23408         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23409         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23410         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23411         Likewise.
23412         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23413         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23414         Likewise.
23415         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23416         Likewise.
23417         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23418         Likewise.
23419         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23420         Likewise.
23421         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23422         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23423         Likewise.
23424         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23425         Likewise.
23426         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23427         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23429 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23431         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23432         (ETH_ALEN): New macro.
23433         (struct ether_addr): Use it for length of ether_addr_octet.
23435         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23436         (setdb): Don't call __nss_configure_lookup for "rpc".
23437         (do_test): Don't call test_rpc.
23438         (output_rpcent, test_rpc): Functions moved ...
23439         * sunrpc/test-rpcent.c: ... to this new file.
23440         * sunrpc/Makefile (tests): Add it.
23442         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23443         __xpg_sigpause.
23444         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23445         * nptl/tst-signal6.c: Likewise.
23446         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23447         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23449         * configure.ac (libc_cv_cxx_link_ok): New check.
23450         Reset CXX to empty if it fails to link.
23451         * configure: Regenerated.
23452         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23453         bug-atexit3-lib only if $(CXX) is nonempty.
23454         * nptl/Makefile (tests): Likewise for tst-cancel24.
23455         (tests, tests-static): Likewise for tst-cancel24-static.
23456         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23457         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23458         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23459         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23461 2015-03-04  Andreas Schwab  <schwab@suse.de>
23463         [BZ #17631]
23464         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23465         for non-GCC compilers.
23466         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23467         Likewise.
23469 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23471         [BZ #17776]
23472         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23473         integer before bitwise and assembly operations.
23474         (feclearexcept): Likewise.
23475         * math/test-fenvinline.c: New file.
23476         * math/Makefile: Add test-fenvinline test.
23478 2015-03-03  Alan Modra  <amodra@gmail.com>
23480         [BZ #16512]
23481         * scripts/localplt.awk: Strip off symbol version.
23482         * NEWS: Mention bug fix.
23484 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23486         * sysdeps/pthread/timer_routines.c
23487         (timer_free_list, thread_free_list, thread_active_list): Make static.
23489 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23491         [BZ #17779]
23492         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23493         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23494         Undefine.
23495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23496         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23497         Likewise.
23498         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23499         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23500         Likewise.
23502 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23504         [BZ #18036]
23505         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23506         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23508 2015-03-02  Andreas Schwab  <schwab@suse.de>
23510         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23511         variable name.
23513 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23515         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23516         Return error status.
23518 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23520         [BZ #15969]
23521         * locale/findlocale.c (_nl_find_locale): Introduce const
23522         version of loc_name and drop unsafe type casts.
23524 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23526         * dlfcn/tststatic2.c (main): Converted to ...
23527         (do_test): ... this.
23528         (TEST_FUNCTION): New macro.
23529         Include test-skeleton.c.
23531 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23533         [BZ #17711]
23534         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23535         (tests-pie): Add vismain.
23536         (CFLAGS-vismain.c): New.
23537         * elf/vismain.c: Add comments for PIE requirement.
23539 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23541         [BZ #18046]
23542         [BZ #18047]
23543         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23544         0x1p-56L as threshold for just returning the argument.
23545         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23546         0x1p-32L as threshold for just returning the argument.
23547         * math/auto-libm-test-in: Add more tests of atanh.
23548         * math/auto-libm-test-out: Regenerated.
23549         * sysdeps/i386/fpu/libm-test-ulps: Update.
23550         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23552 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23554         * string/bcopy.c (bcopy): Call memmove for performance.
23556 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23558         * string/bzero.c (__bzero): Call memset for performance.
23560 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23562         [BZ #18068]
23563         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23564         to 00100000.
23566 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23568         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23570 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23572         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
23573         (__kernel_standard): Use CSTR macro when setting exc.name.
23574         * sysdeps/ieee754/Makefile [$(subdir) = math]
23575         (CFLAGS-k_standard.c): Remove variable.
23577         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
23578         setting p and q from "else if" to "else".
23579         (qzero): Likewise.
23580         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
23581         (qone): Likewise.
23582         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23583         (qzerof): Likewise.
23584         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
23585         (qonef): Likewise.
23586         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
23587         (qzero): Likewise.
23588         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
23589         (qone): Likewise.
23591         [BZ #18038]
23592         [BZ #18039]
23593         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
23594         return pi/2 for arguments below 0x1p-113L.
23595         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
23596         return pi/2 for arguments below 0x1p-106L.
23597         * math/auto-libm-test-in: Add more tests of acos.
23598         * math/auto-libm-test-out: Regenerated.
23600         [BZ #16351]
23601         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
23602         (MO): New macro.
23603         (__ieee754_asin): Force underflow exception for results with small
23604         absolute value.
23605         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
23606         (MO): New macro.
23607         (__ieee754_asinf): Force underflow exception for results with
23608         small absolute value.
23609         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
23610         (__ieee754_asin): Force underflow exception for results with small
23611         absolute value.
23612         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
23613         (__ieee754_asinf): Force underflow exception for results with
23614         small absolute value.
23615         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
23616         (__ieee754_asinl): Force underflow exception for results with
23617         small absolute value.
23618         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
23619         (__ieee754_asinl): Force underflow exception for results with
23620         small absolute value.
23621         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
23622         (__ieee754_asinl): Force underflow exception for results with
23623         small absolute value.
23624         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23625         Include <math.h>.
23626         * math/auto-libm-test-in: Do not mark underflow exceptions as
23627         possibly missing for bug 16351.
23628         * math/auto-libm-test-out: Regenerated.
23630         [BZ #18030]
23631         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
23632         of power of 2 down when low part has opposite sign.
23633         * math/libm-test.inc (logb_test_data): Add more tests.
23635 2015-02-26  Andreas Schwab  <schwab@suse.de>
23637         [BZ #18032]
23638         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
23639         over collating symbol inside a bracket expression.  Minor cleanup.
23640         * posix/tst-fnmatch3.c (do_test): Add test case.
23642 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23644         [BZ #18029]
23645         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
23646         Adjust exponent of power of 2 down when low part has opposite
23647         sign.
23648         * math/libm-test.inc (ilogb_test_data): Add more tests.
23650 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
23652         [BZ #15969]
23653         * locale/findlocale.c (_nl_find_locale): Fix constness error in
23654         the previous change.
23656         [BZ #15969]
23657         * locale/findlocale.c (_nl_find_locale): Retry archive search
23658         after alias expansion.
23660 2015-02-25  Roland McGrath  <roland@hack.frob.com>
23662         * iconv/tst-iconv3.c (main): Converted to ...
23663         (do_test): ... this.
23664         (TEST_FUNCTION): New macro.
23665         Include test-skeleton.c.
23667         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
23668         (convert): Make function static.
23669         (test_unalign): Likewise.  Add const to argument pointee types.
23670         (main): Replace with static function do_test.
23671         Print "Succeeded." only if RET is zero.
23672         (TEST_FUNCTION): New macro.
23673         Include test-skeleton.c.
23675         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
23676         returns a null pointer.
23678 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23680         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
23681         to __memcpy_ppc only for static builds.
23683 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
23685         [BZ #18020]
23686         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
23687         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
23688         * math/auto-libm-test-in: Add more tests of asinh.
23689         * math/auto-libm-test-out: Regenerated.
23690         * sysdeps/i386/fpu/libm-test-ulps: Update.
23691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23693 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
23695         [BZ #15850]
23696         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
23697         and ip6_mtuinfo definitions here.
23698         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
23699         in this define too.  Update comment.
23701 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
23703         * elf/sprof.c (load_shobj): Tweak error message to match others.
23705 2015-02-24  Kevin Easton  <kevin@guarana.org>
23707         [BZ #16145] (partial fix)
23708         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
23709         to reduce lock contention.
23711 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
23713         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
23714         (struct timex): Update time comment.
23715         (ADJ_SETOFFSET): Define.
23717 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23719         [BZ #18019]
23720         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23721         2**56 not 2**28 as threshold for log (2x) formula.
23722         * math/auto-libm-test-in: Add more tests of acosh.
23723         * math/auto-libm-test-out: Regenerated.
23724         * sysdeps/i386/fpu/libm-test-ulps: Update.
23725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23727 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23729         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
23730         parenthesis around the buf assignment.
23731         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
23733 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
23735         [BZ #16783]
23736         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
23737         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
23738         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
23739         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23740         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
23741         * math/libm-test.inc (scalb_test_data): Add more tests.
23743 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23745         [BZ #17916]
23746         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
23747         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
23749 2015-02-24  Eric Rannaud  <e@nanocritical.com>
23751         [BZ #17523]
23752         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
23753         * io/bits/fcntl2.h (open): Use it.
23754         (openat): Likewise.
23755         * io/open.c (__libc_open): Likewise.
23756         * io/open64.c (__libc_open64): Likewise.
23757         * io/open64_2.c (__open64_2): Likewise.
23758         * io/open_2.c (__open_2): Likewise.
23759         * io/openat.c (__openat): Likewise.
23760         * io/openat64.c (__openat64): Likewise.
23761         * io/openat64_2.c (__openat64_2): Likewise.
23762         * io/openat_2.c (__openat_2): Likewise.
23763         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23764         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23765         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23766         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23767         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23768         (__open_nocancel): Likewise.
23769         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23770         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23771         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23773 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23775         [BZ #14841]
23776         * resolv/gethnamaddr.c (getanswer): Skip logging if
23777         RES_USE_DNSSEC is set.
23778         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23780 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23782         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23784 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23786         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23787         201304L, for Unicode 7.
23789 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23791         [BZ #17836]
23792         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23793         shared library.  Add gmon-start.os otherwise.
23794         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23795         $(objpfx)gmon-start.os if builing shared library.
23796         ($(objpfx)g$(static-start-installed-name)): Likewise.
23798 2015-02-23  Andreas Schwab  <schwab@suse.de>
23800         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23802 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23804         [BZ #17269]
23805         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23806         (enlarge_userbuf): Likewise.
23808 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23810         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23811         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23812         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23813         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23815 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23817         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23818         expression inside statement expression.
23820 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23822         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23823         <sysdeps/nptl/lowlevellock.h> and remove macros and
23824         functions that are now defined there.
23825         (SYS_futex): Remove.
23826         (lll_compare_and_swap): Remove.
23827         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23829 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23831         [BZ #17999]
23832         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23833         instead of scandirat.
23834         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23835         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23836         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23837         __scandirat.
23838         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23839         (__scandirat): Declare.  Use libc_hidden_proto.
23840         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23841         Remove variable.
23842         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23844 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23846         [BZ #15319]
23847         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23848         (MO): New macro.
23849         (__ieee754_atan2): For results with small absolute value, force
23850         underflow exception and remove excess range and precision from
23851         return value.
23852         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23853         (MO): New macro.
23854         (__ieee754_atan2f): For results with small absolute value, force
23855         underflow exception and remove excess range and precision from
23856         return value.
23857         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23858         (MO): New macro.
23859         (__atan): For results with small absolute value, force underflow
23860         exception and remove excess range and precision from return value.
23861         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23862         (MO): New macro.
23863         (__atanf): For results with small absolute value, force underflow
23864         exception and remove excess range and precision from return value.
23865         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23866         <math.h>.
23867         (__ieee754_atan2): Force underflow exception for results with
23868         small absolute value.
23869         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23870         <math_private.h>.
23871         (atan): Force underflow exception for results with small absolute
23872         value.
23873         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23874         (__atanf): Force underflow exception for results with small
23875         absolute value.
23876         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23877         <math.h>.
23878         (__atanl): Force underflow exception for results with small
23879         absolute value.
23880         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23881         (__atanl): Force underflow exception for results with small
23882         absolute value.
23883         * sysdeps/x86/fpu/bits/mathinline.h
23884         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23885         (__ieee754_atan2): Only define inline for long double.
23886         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23887         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23888         * math/auto-libm-test-in: Do not mark underflow exceptions as
23889         possibly missing for bug 15319.  Add more tests of atan2.
23890         * math/auto-libm-test-out: Regenerated.
23891         * math/libm-test.inc (casin_test_data): Do not mark underflow
23892         exceptions as possibly missing for bug 15319.
23893         (casinh_test_data): Likewise.
23894         * sysdeps/i386/fpu/libm-test-ulps: Update.
23896 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23898         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23899         * sysdeps/mips/bits/endian.h: Fix comments.
23901 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23903         [BZ #17996]
23904         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23905         (hdestroy_r): Likewise.
23906         (hsearch_r): Likewise.
23907         (__hcreate_r): Declare and use libc_hidden_proto.
23908         (__hdestroy_r): Likewise.
23909         (__hsearch_r): Likewise.
23910         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23911         (hcreate): Call __hcreate_r instead of hcreate_r.
23912         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23913         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23914         as weak alias of __hcreate_r.
23915         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23916         __hdestroy_r.
23917         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23918         __hsearch_r.
23919         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23920         Remove variable.
23921         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23922         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23923         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23924         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23926 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23928         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23929         arena_lock into a single arena_get.
23931 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23933         * dl-reloc.c: Inlucde libc-internal.h.
23934         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23935         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23936         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23937         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23938         (grow_heap): Likewise.
23939         * malloc/malloc.c: Include libc-internal.h.
23940         (do_check_malloc): Call powerof2.
23941         (sysmalloc): Use pagesize. Call ALIGN_UP.
23942         (systrim): Use pagesize.
23943         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23944         (__libc_valloc): Use pagesize.
23945         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23947 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23949         [BZ #17991]
23950         * include/sys/resource.h (__getrlimit64): Declare.  Use
23951         libc_hidden_proto.
23952         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23953         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23954         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23955         getrlimit64.
23956         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23957         __getrlimit64.
23958         [!getrlimit64] (getrlimit64): Define as weak alias of
23959         __getrlimit64.  Use libc_hidden_weak.
23960         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23961         using __getrlimit64 not __new_getrlimit64.
23962         (__GI_getrlimit64): Likewise.
23963         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23964         Likewise.
23965         (__GI_getrlimit64): Likewise.
23966         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23968         (getrlimit): Add __getrlimit64 alias.
23969         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23970         Likewise.
23971         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23972         Remove variable.
23973         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23974         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23976 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23978         * libio/fileops.c: Add missing sys/mman.h
23979         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23981 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23983         * manual/math.texi (Errors in Math Functions): Clarify goals
23984         regarding inexact and underflow exceptions.
23986 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23988         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23989         * sysdeps/mips/memset.S: Ditto.
23991 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23993         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23995 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23997         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23998         (__v1longjmp): Remove versioned symbol.
23999         (__v1siglongjmp): Remove alias and versioned symbol.
24000         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24001         (__v2siglongjmp): Likewise.
24003 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24005         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24007 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24009         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24011 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24013         [BZ #17987]
24014         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24015         zero result does not depend on the sign resulting from
24016         subtraction.
24017         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24018         Likewise.
24019         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24020         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24021         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24022         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24023         * math/libm-test.inc (remquo_test_data): Add more tests.
24025 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24027         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24028         Problem reported by J William Piggott.
24030 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24032         [BZ #17978]
24033         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24034         products 4 * y and 2 * y where those would overflow.
24035         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24036         Likewise.
24037         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24038         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24039         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24040         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24041         * math/libm-test.inc (remquo_test_data): Add more tests.
24043         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24045         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24046         [defined _COMPILING_NEWLIB].
24047         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24048         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24050         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24051         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24053 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24055         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24056         acquired.
24058 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24060         [BZ #17792]
24061         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24062         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24063         HOST_STACK_END_ADDR): Likewise.
24065 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24067         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24068         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24069         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24071 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24073         * sysdeps/generic/c++-types.data: New file.
24074         * sysdeps/generic/ld.abilist: New file.
24075         * sysdeps/generic/libBrokenLocale.abilist: New file.
24076         * sysdeps/generic/libanl.abilist: New file.
24077         * sysdeps/generic/libc.abilist: New file.
24078         * sysdeps/generic/libcrypt.abilist: New file.
24079         * sysdeps/generic/libdl.abilist: New file.
24080         * sysdeps/generic/libm.abilist: New file.
24081         * sysdeps/generic/libpthread.abilist: New file.
24082         * sysdeps/generic/libresolv.abilist: New file.
24083         * sysdeps/generic/librt.abilist: New file.
24085 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24087         [BZ #17569]
24088         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24089         Compute absolute value of x as modified by fmod, not original
24090         value of x.
24091         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24092         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24093         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24094         RUN_TEST_ffI_f1_mod8.
24095         (remquo_test_data): Add more tests.
24097 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24099         * sysdeps/init_array/pt-crti.S: New file.
24101 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24103         [BZ #17967]
24104         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24105         __builtin_fmaf instead of relying on contraction of a * b + c.
24107 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24109         [BZ #17969]
24110         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24111         node.
24113 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24115         [BZ #17964]
24116         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24117         __builtin_fma instead of relying on contraction of a * b + c.
24119 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24121         * Makeconfig (ASFLAGS): Add -Werror=undef.
24122         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24123         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24124         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24126         * Makeconfig (after-link): New variable.
24127         (+link-pie, +link-pie-tests): Use it.
24128         (+link-static, +link-static-tests): Likewise.
24129         (+link, +link-tests): Likewise.
24130         * Makerules (build-module, build-module-asneeded): Likewise.
24131         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24132         Likewise.
24133         * elf/Makefile ($(objpfx)ld.so): Likewise.
24135 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24137         [BZ #17965]
24138         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24139         both struct timeval and struct timespec.
24141 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24143         [BZ #16560]
24144         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24145         and redefine.
24146         (__ieee754_exp2l): Do not multiply small fractional parts by
24147         M_LN2l.
24148         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24149         small argument.
24150         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24151         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24152         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24153         * math/auto-libm-test-in: Add more tests of exp2.
24154         * math/auto-libm-test-out: Regenerated.
24156 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24158         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24159         unaligned path.
24161 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24163         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24164         little endian.
24166 2015-02-12  Andreas Schwab  <schwab@suse.de>
24168         [BZ #15790]
24169         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24170         Filter out elision flags from value returned in kind.
24171         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24172         * nptl/tst-pthread-mutexattr.c: New file.
24174 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24176         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24177         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24178         into gnu-gnu, and update comment to refer to abi-tags.
24180 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24182         [BZ #15467]
24183         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24184         (__sincos): Set errno to EDOM for infinite argument.
24185         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24186         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24187         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24188         (__sincosl): Set errno to EDOM for infinite argument.
24189         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24190         (__sincosl): Set errno to EDOM for infinite argument.
24191         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24192         (__sincosl): Set errno to EDOM for infinite argument.
24193         * math/libm-test.inc (sincos_test_data): Test errno setting.
24195 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24197         * string/strxfrm_l.c: Remove #define STRCMP.
24198         * string/strcoll_l.c: Remove #define STRLEN.
24199         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24200         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24202 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24204         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24205         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24206         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24207         * sysdeps/mips/mips64/Makefile: ... here.
24208         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24209         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24210         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24211         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24212         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24213         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24214         * sysdeps/mips/mips64/n64/Implies: Likewise.
24216 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24218         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24219         <sys/time.h>, <string.h>, and <errno.h>.
24220         (dest_offset, dest_address, value, zero): Remove unused variables.
24221         (ldouble): Remove typedef.
24222         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24223         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24224         1).  Fix code style.
24225         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24226         (check): Function removed.
24227         (CHECK): New macro.
24228         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24229         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24230         Don't call set_sigaction_FP and remove_sigaction_FP here.
24231         (ldouble_test): Just use 'long double' as macro argument, no need for
24232         the 'ldouble' typedef.
24233         (do_test): Set up SIGFPE handler at start, using plain signal rather
24234         than sigaction.  Fix code style.
24236 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24238         [BZ #17949]
24239         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24240         jump label.
24242 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24244         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24245         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24247         * sysdeps/powerpc/configure.ac: Remove file.
24248         * sysdeps/powerpc/configure: Likewise.
24250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24251         [sysdep_routines]: Remove wordcopy-power6 object.
24252         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24253         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24254         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24255         (__memmove_ppc32): Likewise.
24256         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24257         file.
24258         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24259         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24260         Remove preprocessor.
24262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24263         [sysdep_routines]: Remove wide chars objects.
24264         [wcsmbs]: New rule for wide char objects.
24266         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24267         Remove wordcopy-power6 obejct.
24268         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24269         Use local call for wordcopy and memcpy symbols.
24270         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24271         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24272         implementation for loader.
24273         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24275         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24276         Remove wordcopy-power7 object.
24277         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24278         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24279         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24280         (_wordcopy_fwd_dest_aligned): Likewise.
24281         (_wordcopy_bwd_aligned): Likewise.
24282         (_wordcopy_bwd_dest_aligned): Likewise.
24284         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24285         Rewrite to call __memmove_ppc instead of include default
24286         implementation.
24288         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24289         Remove wide chars objects.
24290         [wcsmbs]: New rule for wide char objects.
24292 2015-02-09  Andreas Schwab  <schwab@suse.de>
24294         [BZ #17912]
24295         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24296         in terms of __O_DIRECTORY.
24298 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24300         * time/getdate.c: Include <stdbool.h>.
24301         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24302         call PTR_MANGLE.
24303         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24304         PTR_DEMANGLE.
24306 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24308         Add ersatz _Static_assert on older C hosts
24309         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24310         pre-C11 C platform that is not known to support _Static_assert.
24312 2015-02-07  Richard Braun  <rbraun@sceen.net>
24314         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24315         sigstate.
24316         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24318 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24320         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24321         priority against unexistent AIO_PRIO_DELTA_MAX.
24322         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24323         instead of int.
24324         * misc/fchflags.c (fchflags): Likewise.
24325         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24326         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24327         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24328         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24329         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24330         Declare macros.
24331         [__USE_MISC] (chflags, fchflags): Declare functions.
24332         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24333         EINVAL when nfds is greater than FD_SETSIZE.
24334         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24335         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24336         45.
24337         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24338         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24339         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24340         MACH_RCV_TIMED_OUT.
24341         * hurd/hurd/signal.h (_hurd_self_sigstate,
24342         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24343         Explicit casts from void *.
24344         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24345         * abi-tags: Rename gnu-gnu os into gnu.
24347         [BZ #4719]
24348         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24349         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24350         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24351         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24352         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24353         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24355         [BZ #17944]
24356         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24357         duplicates ADDR->sun_path with sockaddr LEN limitation.
24358         * sysdeps/mach/hurd/connect.c: Include <string.h>
24359         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24360         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24361         * sysdeps/mach/hurd/sendto.c: Likewise.
24362         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24363         implementing it by hand.
24365 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24367         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24368         Use sfi_breg on ldr.
24369         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24370         Likewise.
24372         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24373         it's defined.
24374         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24375         Test SIGSETXID only if it's defined.
24377         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24379         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24380         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24382         * nptl/tst-align2.c: Moved ...
24383         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24384         * nptl/Makefile (tests): Remove tst-align2.
24385         * sysdeps/unix/sysv/linux/Makefile
24386         [$(subdir) = nptl] (tests): Add tst-align-clone.
24387         * nptl/tst-getpid1.c: Moved ...
24388         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24389         * nptl/tst-getpid2.c: Moved ...
24390         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24391         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24392         * sysdeps/unix/sysv/linux/Makefile
24393         [$(subdir) = nptl] (tests): ... here.
24394         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24395         * sysdeps/unix/sysv/linux/Makefile
24396         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24398         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24399         Drop trailing \n from perror argument.  Use return rather than exit.
24401         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24402         on [SA_SIGINFO].
24403         * nptl/tst-cancel21.c (do_test): Likewise.
24404         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24405         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24406         [!SA_SIGINFO]: Make it a stub test.
24408         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24409         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24411         * posix/tst-getlogin.c: Move to ...
24412         * login/tst-getlogin.c: ... here.
24413         * posix/Makefile (tests): Move tst-getlogin to ...
24414         * login/Makefile (tests): ... here.
24416         * libio/tst-atime.c (do_test): Move local variables SV and E
24417         inside [ST_NOATIME] conditional.
24419         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24421         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24423         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24424         (wait_code): New function replaces macro.
24425         Call nanosleep rather than syscall.
24427         * nptl/pt-system.c: Rewritten.  Put everything under
24428         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24429         Use IFUNC to redirect when possible.
24431         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24432         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24433         Use IFUNC to redirect when possible.
24435         * nptl/pt-fork.c: Rewritten.  Put everything under
24436         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24437         Use IFUNC to redirect when possible.
24438         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24440         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24441         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24442         unconditionally nowadays.  This included the only reference to
24443         __vdso_clock_gettime that appears outside libc proper.
24444         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24445         Remove version set (containing only __vdso_clock_gettime).
24446         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24447         Add attribute_hidden.
24448         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24449         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24450         libc_hidden_data_def.
24451         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24452         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24454         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24455         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24456         setrpcent, and getrpcport to ...
24457         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24458         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24459         getrpcbynumber_r, and getrpcent_r to ...
24460         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24461         * inet/getrpcbyname.c: Moved ...
24462         * sunrpc/getrpcbyname.c: ... here.
24463         * inet/getrpcbyname_r.c: Moved ...
24464         * sunrpc/getrpcbyname_r.c: ... here.
24465         * inet/getrpcbynumber.c: Moved ...
24466         * sunrpc/getrpcbynumber.c: ... here.
24467         * inet/getrpcbynumber_r.c: Moved ...
24468         * sunrpc/getrpcbynumber_r.c: ... here.
24469         * inet/getrpcent.c: Moved ...
24470         * sunrpc/getrpcent.c: ... here.
24471         * inet/getrpcent_r.c: Moved ...
24472         * sunrpc/getrpcent_r.c: ... here.
24473         * inet/Makefile (routines): Move those to ...
24474         * sunrpc/Makefile (routines): ... here.
24475         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24476         the $(subdirs) list.
24477         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24478         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24479         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24480         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24482         * elf/Makefile (routines): Include $(all-dl-routines), not just
24483         $(dl-routines).
24484         (rtld-routines): Likewise.  Use = rather than :=.
24485         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24486         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24487         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24488         * sysdeps/arm/Makefile: Likewise.
24489         * sysdeps/i386/Makefile: Likewise.
24490         * sysdeps/x86_64/Makefile: Likewise.
24491         * sysdeps/hppa/Makefile [$(subdir) = elf]
24492         (sysdep_routines, sysdep-rtld-routines): Don't add
24493         $(sysdep-dl-routines) to these.
24494         * sysdeps/ia64/Makefile: Likewise.
24495         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24496         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24497         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24498         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24499         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24500         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24501         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24502         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24503         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24504         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24505         these; sysdep-dl-routines alone is enough.
24507 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24509         [BZ #17932]
24510         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24511         where multiplication results in zero and third argument is finite
24512         and nonzero.
24513         * math/auto-libm-test-in: Add more tests of fma.
24514         * math/auto-libm-test-out: Regenerated.
24516         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24517         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24518         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24519         (_FP_CMP_EQ): Likewise.
24520         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24522         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24523         extra argument CHECK_NAN.  Redefine as wrapper around
24524         _FP_EXTEND_CNAN.
24526 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24528         * version.h (RELEASE): Set to "stable".
24529         (VERSION): Set to "2.21"
24530         * include/features.h (__GLIBC_MINOR__): Set to 21.
24532         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24534 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24535             Paul Eggert  <eggert@cs.ucla.edu>
24537         [BZ #16618]
24538         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24539         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24540         size in bytes. Store needed elements in wpmax. Use needed size
24541         in bytes for extend_alloca.
24543 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24545         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24546         binutls 2.25, and texinfo 5.2.
24547         * INSTALL: Regenerate.
24548         * sysdeps/nios2/configure: Regenerate.
24549         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24550         * manual/contrib.texi: Update.
24551         * po/be.po: Update.
24552         * po/bg.po: Update.
24553         * po/ca.po: Update.
24554         * po/cs.po: Update.
24555         * po/da.po: Update.
24556         * po/de.po: Update.
24557         * po/el.po: Update.
24558         * po/eo.po: Update.
24559         * po/es.po: Update.
24560         * po/fi.po: Update.
24561         * po/fr.po: Update.
24562         * po/gl.po: Update.
24563         * po/hr.po: Update.
24564         * po/hu.po: Update.
24565         * po/ia.po: Update.
24566         * po/id.po: Update.
24567         * po/it.po: Update.
24568         * po/ja.po: Update.
24569         * po/ko.po: Update.
24570         * po/lt.po: Update.
24571         * po/nb.po: Update.
24572         * po/nl.po: Update.
24573         * po/pl.po: Update.
24574         * po/pt_BR.po: Update.
24575         * po/ru.po: Update.
24576         * po/rw.po: Update.
24577         * po/sk.po: Update.
24578         * po/sl.po: Update.
24579         * po/sv.po: Update.
24580         * po/tr.po: Update.
24581         * po/uk.po: Update.
24582         * po/vi.po: Update.
24583         * po/zh_CN.po: Update.
24584         * po/zh_TW.po: Update.
24586         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
24587         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
24588         * sysdeps/hppa/dl-irel.h: Remove #warning.
24589         * sysdeps/hppa/entry.h: Provide prototype for
24590         __canonicalize_funcptr_for_compare and cast argument.
24591         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
24592         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
24593         * sysdeps/hppa/sotruss-lib.c: New file.
24594         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
24595         (atomic_compare_and_exchange_val_acq): Use __typeof__.
24596         (atomic_compare_and_exchange_bool_acq): Likewise.
24597         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
24598         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
24600         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
24601         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
24602         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
24604 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
24606         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
24607         called function in non-PIC case.
24609 2015-01-31  David S. Miller  <davem@davemloft.net>
24611         * sysdeps/sparc/sparc32/bits/atomic.h
24612         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
24613         unlock not after it.
24614         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
24615         volatile register usage warnings from the compiler.
24617         * sysdeps/sparc/nptl/sem_init.c: Delete.
24618         * sysdeps/sparc/nptl/sem_post.c: Delete.
24619         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
24620         * sysdeps/sparc/nptl/sem_wait.c: Delete.
24621         * sysdeps/sparc/sparc32/sem_init.c: New file.
24622         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
24623         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
24624         padding explicitly initialized.
24625         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
24626         padding for in-semaphore spinlock.
24627         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
24628         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
24629         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
24630         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
24631         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
24632         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
24633         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
24634         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
24635         version.
24636         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
24637         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
24639 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
24641         [BZ #17801]
24642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24643         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
24644         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
24645         New.
24646         (index_AVX_Fast_Unaligned_Load): Likewise.
24647         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
24648         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
24649         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
24650         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
24651         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
24652         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
24653         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
24654         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
24655         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
24657 2015-01-29  Andreas Schwab  <schwab@suse.de>
24659         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
24661 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
24663         [BZ #17892]
24664         * nscd/nscd_stat.c (send_stats): Initialize DATA.
24666 2015-01-28  Martin Sebor  <msebor@redhat.com>
24668         * math/README.libm-test: Clarify. Add "How to read the test output."
24670 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
24672         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
24673         Define to 0.
24675 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
24677         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
24678         (__HAVE_64B_ATOMICS): Define to 0.
24680 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24682         [BZ #17885]
24683         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
24684         value to set as new flag.
24686         [BZ #16576]
24687         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
24688         and use _ARCH_PPCSQ instead.
24689         (__ieee754_sqrt): Likewise.
24690         (__ieee754_sqrtf): Likewise.
24691         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
24692         _ARCH_PPCSQ is defined.
24693         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
24694         fsqrt instruction.
24695         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
24696         _ARCH_PPCSQ is defined.
24697         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
24698         fsqrts instruction.
24699         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
24701 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24703         * iconv/loop.c: Suppress array out of bound warning caused by GCC
24704         bug (GCC BZ #64739).
24706 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
24708         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
24709         Mark _retval as used.
24710         (lll_futex_wake_unlock): Likewise.
24711         (lll_futex_timed_wait_requeue_pi): Likewise.
24713         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
24714         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
24715         register variables.
24717         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
24718         libm_hidden_def.
24720         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
24721         (__bswap_64): Mark as __always_inline.
24723 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
24725         [BZ #15378]
24726         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
24727         when none of the search directories exist.
24729 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24731         [BZ #17869]
24732         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
24733         power8 in .machine directive.
24735         [BZ #17868]
24736         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
24737         set dependency from opd value.
24739 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24741         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24742         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
24743         architecture.
24745 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
24747         [BZ #17870]
24748         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
24749         with uint64_t.
24750         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
24751         (uint64_t) 1.
24752         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
24753         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
24754         Replace 1UL with (uint64_t) 1.
24755         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
24756         int with uint64_t.
24758 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24760         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24761         (if_freenameindex): Likewise.
24763         * resource/getrlimit64.c: Add missing libc_hidden_def.
24765 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24767         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24768         __label__.
24769         (_FP_FMA): Likewise.
24770         (_FP_TO_INT_ROUND): Likewise.
24771         (_FP_FROM_INT): Likewise.
24773 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24775         [BZ #16418]
24776         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24777         Make code racy and cancel safe.
24779 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24781         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24782         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24783         attribution.
24785         * pwd/tst-getpw.c: Rewrite.
24787         [BZ #17702]
24788         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24789         (modules-names): Add moddummy1 and moddummy2.
24790         ($(objpfx)tst-rec-dlopen): Define.
24791         * dlfcn/moddummy1.c: New file.
24792         * dlfcn/moddummy2.c: New file.
24793         * dlfcn/tst-rec-dlopen.c: New file.
24794         * elf/dl-cache.c (_dl_load_cache_lookup):
24795         Return char*. Copy result with alloca/strcpy/strdup.
24796         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24797         returns char*. Free cached. If not saving realname
24798         free cached.
24799         * elf/dl-open.c (dl_open_worker): Do not assert that
24800         _r_debug->r_state is RT_CONSISTENT.
24801         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24802         returns char*.
24804 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24805             Carlos O'Donell  <carlos@redhat.com>
24807         [BZ #12674]
24808         * nptl/sem_waitcommon.c: New file.
24809         * nptl/sem_wait.c: Include sem_waitcommon.c.
24810         (__sem_wait_cleanup, do_futex_wait): Remove.
24811         (__new_sem_wait): Adapt.
24812         (__new_sem_trywait): New function.
24813         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24814         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24815         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24816         (sem_timedwait): Adapt.
24817         * nptl/sem_post.c (__new_sem_post): Adapt.
24818         (futex_wake): New function.
24819         (__old_sem_post): Add release MO fence.
24820         * nptl/sem_open.c (sem_open): Adapt.
24821         * nptl/sem_init.c (__new_sem_init): Adapt.
24822         (futex_private_if_supported): New function.
24823         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24824         (__old_sem_getvalue): Add using previous code.
24825         * sysdeps/nptl/internaltypes.h: Adapt.
24826         * nptl/tst-sem13.c (do_test): Adapt.
24827         * nptl/tst-sem11.c (main): Adapt.
24828         * nptl/sem_trywait.c: Remove.
24829         * nptl/DESIGN-sem.txt: Remove.
24830         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24831         (gen-as-const-headers): Remove structsem.sym.
24832         * nptl/structsem.sym: Remove.
24833         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24834         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24835         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24836         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24837         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24838         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24839         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24840         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24841         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24842         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24843         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24844         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24845         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24846         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24847         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24848         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24849         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24850         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24851         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24852         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24853         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24854         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24856 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24858         * INSTALL: Regenerated.
24860         * po/libc.pot: Regenerated.
24862 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24863             Sandra Loosemore  <sandra@codesourcery.com>
24864             Andrew Jenner  <andrew@codesourcery.com>
24865             Joseph Myers  <joseph@codesourcery.com>
24866             Nathan Sidwell  <nathan@codesourcery.com>
24868         * NEWS: Mention new Nios II port.
24869         * sysdeps/nios2/Implies: New file.
24870         * sysdeps/nios2/Makefile: New file.
24871         * sysdeps/nios2/Subdirs: New file.
24872         * sysdeps/nios2/Versions: New file.
24873         * sysdeps/nios2/__longjmp.S: New file.
24874         * sysdeps/nios2/abort-instr.h: New file.
24875         * sysdeps/nios2/backtrace.c: New file.
24876         * sysdeps/nios2/bits/endian.h: New file.
24877         * sysdeps/nios2/bits/fenv.h: New file.
24878         * sysdeps/nios2/bits/link.h: New file.
24879         * sysdeps/nios2/bits/setjmp.h: New file.
24880         * sysdeps/nios2/bsd-_setjmp.S: New file.
24881         * sysdeps/nios2/bsd-setjmp.S: New file.
24882         * sysdeps/nios2/configure: New generated file.
24883         * sysdeps/nios2/configure.ac: New file.
24884         * sysdeps/nios2/crti.S: New file.
24885         * sysdeps/nios2/crtn.S: New file.
24886         * sysdeps/nios2/dl-init.c: New file.
24887         * sysdeps/nios2/dl-machine.h: New file.
24888         * sysdeps/nios2/dl-sysdep.h: New file.
24889         * sysdeps/nios2/dl-tls.h: New file.
24890         * sysdeps/nios2/dl-trampoline.S: New file.
24891         * sysdeps/nios2/gccframe.h: New file.
24892         * sysdeps/nios2/gmp-mparam.h: New file.
24893         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24894         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24895         * sysdeps/nios2/ldsodefs.h: New file.
24896         * sysdeps/nios2/libc-tls.c: New file.
24897         * sysdeps/nios2/libm-test-ulps: New file.
24898         * sysdeps/nios2/machine-gmon.h: New file.
24899         * sysdeps/nios2/math-tests.h: New file.
24900         * sysdeps/nios2/math_private.h: New file.
24901         * sysdeps/nios2/memusage.h: New file.
24902         * sysdeps/nios2/nptl/Makefile: New file.
24903         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24904         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24905         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24906         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24907         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24908         * sysdeps/nios2/nptl/tls.h: New file.
24909         * sysdeps/nios2/preconfigure: New file.
24910         * sysdeps/nios2/s_fma.c: New file.
24911         * sysdeps/nios2/s_fmaf.c: New file.
24912         * sysdeps/nios2/setjmp.S: New file.
24913         * sysdeps/nios2/sfp-machine.h: New file.
24914         * sysdeps/nios2/sotruss-lib.c: New file.
24915         * sysdeps/nios2/stackguard-macros.h: New file.
24916         * sysdeps/nios2/stackinfo.h: New file.
24917         * sysdeps/nios2/start.S: New file.
24918         * sysdeps/nios2/sysdep.h: New file.
24919         * sysdeps/nios2/tls-macros.h: New file.
24920         * sysdeps/nios2/tst-audit.h: New file.
24921         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24922         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24923         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24924         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24925         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24926         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24927         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24928         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24929         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24930         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24931         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24932         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24933         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24934         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24935         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24936         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24937         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24938         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24939         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24940         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24941         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24942         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24943         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24944         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24945         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24946         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24947         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24948         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24949         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24950         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24951         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24952         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24953         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24954         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24955         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24956         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24957         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24958         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24959         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24960         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24961         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24962         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24963         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24964         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24966 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24968         [BZ #17844]
24969         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24970         (getutent): Use weak_alias in non SHARED case
24971         and default_symbol_version in SHARED case.
24972         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24973         (getutent_r, pututline): Likewise.
24974         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24975         (getutid): Likewise.
24976         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24977         (getutid_r): Likewise.
24978         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24979         (getutline): Likewise.
24980         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24981         (getutline_r): Likewise.
24982         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24983         (updwtmp): Likewise.
24985 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24987         [BZ #17848]
24988         * sysdeps/s390/s390-32/memcmp.S
24989         (memcmp_g5): Rename to __memcmp_g5.
24990         * sysdeps/s390/s390-32/memcpy.S
24991         (memcpy_g5): Rename to __memcpy_g5.
24992         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24993         (memcpy_mvcle) Rename to __memcpy_mvcle.
24994         * sysdeps/s390/s390-32/memset.S
24995         (memset_g5): Rename to __memset_g5.
24996         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24997         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24998         and use prefixed functions.
24999         * sysdeps/s390/s390-32/multiarch/memcmp.S
25000         (memcmp_z196): Rename to __memcmp_z196.
25001         (memcmp_z10): Rename to __memcmp_z10.
25002         (memcmp): Set alias to __memcmp_g5.
25003         (bcmp): Set alias to __memcmp_g5.
25004         * sysdeps/s390/s390-32/multiarch/memcpy.S
25005         (memcpy_z196): Rename to __memcpy_z196.
25006         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25007         (memcpy_z10): Rename to __memcpy_z10.
25008         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25009         (memcpy): Set alias to __memcpy_g5.
25010         * sysdeps/s390/s390-32/multiarch/memset.S
25011         (memset_z196): Rename to __memset_z196.
25012         Jump to __memset_mvcle instead of memset_mvcle.
25013         (memset_z10): Rename to __memset_z10.
25014         Jump to __memset_mvcle instead of memset_mvcle.
25015         (memset_mvcle) Rename to __memset_mvcle.
25016         (memset): Set alias to __memset_g5.
25017         * sysdeps/s390/s390-64/memcmp.S
25018         (memcmp_z900): Rename to __memcmp_z900.
25019         * sysdeps/s390/s390-64/memcpy.S
25020         (memcpy_z900): Rename to __memcpy_z900.
25021         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25022         (memcpy_mvcle) Rename to __memcpy_mvcle.
25023         * sysdeps/s390/s390-64/memset.S
25024         (memset_z900): Rename to __memset_z900.
25025         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25026         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25027         and use prefixed functions.
25028         * sysdeps/s390/s390-64/multiarch/memcmp.S
25029         (memcmp_z196): Rename to __memcmp_z196.
25030         (memcmp_z10): Rename to __memcmp_z10.
25031         (memcmp): Set alias to __memcmp_z900.
25032         (bcmp): Set alias to __memcmp_z900.
25033         * sysdeps/s390/s390-64/multiarch/memcpy.S
25034         (memcpy_z196): Rename to __memcpy_z196.
25035         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25036         (memcpy_z10): Rename to __memcpy_z10.
25037         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25038         (memcpy): Set alias to __memcpy_z900.
25039         * sysdeps/s390/s390-64/multiarch/memset.S
25040         (memset_z196): Rename to __memset_z196.
25041         Jump to __memset_mvcle instead of memset_mvcle.
25042         (memset_z10): Rename to __memset_z10.
25043         Jump to __memset_mvcle instead of memset_mvcle.
25044         (memset_mvcle) Rename to __memset_mvcle.
25045         (memset): Set alias to __memset_z900.
25047 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25049         [BZ #17748]
25050         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25051         __fesetenv instead of fesetenv.
25053 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25055         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25056         macro.
25058 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25060         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25061         regression on LE.
25063         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25064         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25065         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25066         strncmp-power8 object.
25067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25068         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25069         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25070         * NEWS: Update.
25072 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25073             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25075         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25076         trailing byte check.
25078 2015-01-13  David S. Miller  <davem@davemloft.net>
25080         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25082 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25084         * login/logout.c (logout): Use memset rather than bzero.
25085         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25086         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25087         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25088         (_gethtbyaddr): Likewise.
25089         * locale/programs/simple-hash.c (bcopy): Macro removed.
25091 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25093         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25094         Add strcmp-power8 object.
25095         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25096         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25097         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25098         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25099         __strcmp_power8 implementation.
25100         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25101         * NEWS: Update.
25103         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25104         Add strncpy-power8 and stpncpy-power8 objects.
25105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25106         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25107         implementations.
25108         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25109         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25110         __stpncpy_power8 implementation.
25111         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25112         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25113         __strncpy_power8 implementation.
25114         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25115         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25116         * NEWS: Update.
25118         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25119         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25120         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25122         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25123         strncat-power8 object.
25124         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25125         __strcat_power8 implementation.
25126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25127         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25128         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25129         optimized strcat for power8.
25131         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25132         strcpy-power8 and stpcpy-power8 objects.
25133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25134         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25135         implementations.
25136         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25137         multiarch stpcpy implementation for POWER8.
25138         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25139         multiarch strcpy implementation for POWER8.
25140         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25141         __strcpy_power8 function.
25142         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25143         stpcpy for POWER8.
25144         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25145         strcpy for POWER8.
25146         * NEWS: Update.
25148 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25150         [BZ #16009]
25151         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25152         weights and rules. Use do_xfrm_cached if data fits in cache,
25153         do_xfrm otherwise.  Moved former main loop to...
25154         * (do_xfrm_cached): New function.
25155         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25156         find_idx, find_position and stack_push.
25157         * (find_idx): New function.
25158         * (find_position): Likewise.
25159         * localedata/sort-test.sh: Added test run for do_xfrm.
25160         * localedata/xfrm-test.c (main): Added command line option
25161         -nocache to run the test with strings that are too large for
25162         the STRXFRM cache.
25164 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25166         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25167         variable to lll_futex_wake call, not the value itself.
25169 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25171         [BZ #17803]
25172         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25173         twom64.  Adjust value to 0x1p-64L.
25174         (__scalblnl): Only return standard underflowing result for K <=
25175         -64 not K <= -63; adjust exponent for underflowing result by 64
25176         not 63.
25177         * math/libm-test.inc (scalbn_test_data): Add more tests.
25178         (scalbln_test_data): Likewise.
25180         [BZ #17834]
25181         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25182         0x1p63L.
25183         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25184         not HX.
25185         * math/libm-test.inc (scalbn_test_data): Add more tests.
25186         (scalbln_test_data): Likewise.
25188 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25189             Stefani Seibold  <stefani@seibold.net>
25191         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25192         (sysdep_routines): Add dl-vdso here, ...
25193         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25194         (sysdep_routines): ... not here.
25195         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25196         fallback when vDSO is not presented.
25197         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25198         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25199         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25200         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25201         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25202         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25203         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25204         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25205         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25206         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25207         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25208         fallback configurable symbol when vDSO is not available.
25209         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25210         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25211         be able to redefine fallback symbol when vDSO is not available.
25212         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25213         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25215 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25217         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25218         (TLS_INIT_TP): Add tm_capable initialization.
25219         (TLS_DEFINE_INIT_TP): Likewise.
25220         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25221         TCB.
25222         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25223         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25224         calculation.
25225         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25226         transactoion is lock elision is built and TCB tm_capable is set.
25227         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25229         (INTERNAL_SYSCALL_NCS): Likewise.
25230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25231         (INTERNAL_SYSCALL_NCS): Likewise.
25232         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25234         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25235         for powerpc.
25236         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25237         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25238         and remove it for 32 bits case.
25239         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25240         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25241         initialization.
25242         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25243         Disable lock elision with rdlocks if elision is not available.
25245         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25246         (sysdep_routines): Add lock elision objects.
25247         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25248         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25249         [pthread_mutex_t] (__elision): Add field.
25250         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25251         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25252         elision definitions for powerpc.
25253         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25254         implementation of lock elision for powerpc.
25255         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25256         implementation of timed lock elision for powerpc.
25257         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25258         implementation of trylock with lock elision for powerpc.
25259         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25260         implementaion of unlock for lock elision for powerpc.
25261         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25262         automatic enable lock elision for mutexes.
25263         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25264         transaction execution definitions for powerpc.
25265         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25266         definitions.
25267         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25268         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25269         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25270         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25271         * NEWS: Update.
25273 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25275         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25276         for #include of <shm-directory.h>.
25278 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25280         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25281         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25283 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25285         [BZ #17791]
25286         * NEWS: Mention bug fix.
25287         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25288         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25289         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25291 2015-01-09  Torvald Riegel <triegel@redhat.com>
25293         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25295 2015-01-09  Torvald Riegel <triegel@redhat.com>
25297         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25299 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25301         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25302         pointer and cast to uintptr_t.
25304 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25306         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25307         removed.
25308         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25310 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25312         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25313         of 0.
25315 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25317         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25318         <nptl/pthreadP.h> instead.
25319         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25321         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25322         already defined.
25323         [__SIGRTMIN] (init): Function removed.
25324         [__SIGRTMIN] (initialized): Variable removed.
25325         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25326         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25327         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25328         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25329         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25330         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25331         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25332         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25333         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25334         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25335         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25336         * sysdeps/nptl/allocrtsig.c: New file.
25337         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25338         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25339         * sysdeps/generic/testrtsig.h: File removed.
25341         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25342         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25344         * nptl/nptl-init.c (pthread_functions): Conditionalize
25345         .ptr__nptl_setxid initialization on [SIGSETXID].
25347         * sysdeps/nptl/sys/procfs.h: New file.
25348         * nptl_db/Makefile (headers): Add it.
25349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25351         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25352         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25353         * nptl/pthread_attr_setaffinity.c: Include it.
25354         * nptl/pthread_setattr_default_np.c: Likewise.
25355         * nptl/check-cpuset.h: New file.
25357 2015-01-08  Richard Henderson  <rth@redhat.com>
25359         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25360         (CFLAGS-tst-execstack-prog.c): Likewise.
25361         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25363 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25364             Sandra Loosemore  <sandra@codesourcery.com>
25365             Andrew Jenner  <andrew@codesourcery.com>
25366             Joseph Myers  <joseph@codesourcery.com>
25367             Nathan Sidwell  <nathan@codesourcery.com>
25369         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25370         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25371         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25372         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25373         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25374         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25375         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25376         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25377         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25378         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25379         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25380         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25381         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25382         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25383         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25384         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25385         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25387 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25389         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25390         timespec struct member in syscall macro.
25391         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25392         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25393         first timeval struct member in syscall macro.
25394         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25396 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25398         [BZ #17748]
25399         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25400         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25401         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25402         __feupdateenv and define as weak alias of __feupdateenv.  Use
25403         libm_hidden_weak.
25404         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25405         libm_hidden_def.
25406         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25407         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25408         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25409         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25410         libm_hidden_def.
25411         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25412         __feupdateenv and define as weak alias of __feupdateenv.  Use
25413         libm_hidden_weak.
25414         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25415         libm_hidden_def.
25416         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25417         __feupdateenv and define as weak alias of __feupdateenv.  Use
25418         libm_hidden_weak.
25419         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25420         libm_hidden_def.
25421         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25422         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25423         (__feupdateenv): Likewise.
25424         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25425         __feupdateenv and define as weak alias of __feupdateenv.  Use
25426         libm_hidden_weak.
25427         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25428         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25429         libm_hidden_def.
25430         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25431         function.
25432         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25433         libm_hidden_def.
25434         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25435         __feupdateenv instead of feupdateenv.
25436         (default_libc_feupdateenv_test): Likewise.
25437         (libc_feresetround_ctx): Likewise.
25439 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25441         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25442         prototype.
25444 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25446         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25447         COLL_SYM in a couple of places to avoid uninitialized variable
25448         wanings on tilegx gcc 4.8.2.
25450 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25452         * sysdeps/aarch64/strcpy.S: New file.
25453         * sysdeps/aarch64/stpcpy.S: New file.
25454         * NEWS: Updated.
25456 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25458         * sysdeps/aarch64/strrchr.S: New file.
25459         * NEWS: Updated.
25461 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25463         [BZ #17658]
25464         * stdlib/setenv.c: Fix memory leak when setting large,
25465         duplicate string.
25467 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25469         [BZ #17273]
25470         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25471         and tabs from buffer before parsing fstab entry.
25472         * misc/tst-mntent.c (main): Add test for mount entry with
25473         trailing spaces and tabs.
25475 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25477         [BZ #17748]
25478         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25479         * math/fesetround.c (fesetround): Rename to __fesetround and
25480         define as weak alias of __fesetround.  Use libm_hidden_weak.
25481         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25482         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25483         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25484         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25485         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25486         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25487         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25488         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25489         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25490         __fesetround_inline.
25491         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25492         __fesetround_inline instead of __fesetround.
25493         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25494         __fesetround and define as weak alias of __fesetround.  Use
25495         libm_hidden_weak.  Call __fesetround_inline instead of
25496         __fesetround.
25497         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25498         __fesetround and define as weak alias of __fesetround.  Use
25499         libm_hidden_weak.
25500         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25501         Likewise.
25502         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25503         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25504         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25505         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25506         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25507         __fesetround and define as weak alias of __fesetround.  Use
25508         libm_hidden_weak.
25509         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25510         __fesetround instead of fesetround.
25511         (default_libc_feholdexcept_setround): Likewise.
25512         (libc_feholdsetround_ctx): Likewise.
25513         (libc_feholdsetround_noex_ctx): Likewise.
25515         [BZ #17748]
25516         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25517         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25518         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25519         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25520         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25521         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25522         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25523         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25524         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25525         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25526         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25527         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25528         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25529         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25530         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25531         libm_hidden_def.
25532         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25533         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25534         Likewise.
25535         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25536         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25537         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25538         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25539         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25540         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25541         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25542         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25543         __fesetenv instead of fesetenv.
25544         (libc_feresetround_noex_ctx): Likewise.
25545         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25546         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25547         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25548         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25549         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25550         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25551         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25552         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25553         (__feupdateenv): Likewise.
25554         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25555         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25556         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25557         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25559 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25561         [BZ #17806]
25562         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25563         addresses have been freed.
25565 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25567         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25568         and nservall.
25570 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25572         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
25573         Clean up check_pf allocation pattern. addresses
25575 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25577         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
25578         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
25579         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
25580         * nptl/pthread_exit.c (__pthread_exit): Likewise.
25581         * nptl/pthread_join.c (pthread_join): Likewise.
25582         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
25583         * sysdeps/posix/waitid.c (__waitid): Likewise.
25584         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25585         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25586         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25587         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25589         Likewise.
25590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25591         (__libc_pread64): Likewise.
25592         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25593         (__libc_pwrite): Likewise.
25594         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25595         (__libc_pwrite64): Likewsie.
25596         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25597         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25598         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25599         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25600         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25601         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25602         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25604         Likewise.
25605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25606         (__libc_pread64): Likewise.
25607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
25608         Likewise.
25609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25610         (__libc_pwrite64): Likewise.
25611         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25612         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25613         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
25614         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
25615         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25616         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25617         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
25618         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25619         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25620         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25621         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
25622         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25623         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25624         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
25625         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25626         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25627         Likewise.
25629 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
25631         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
25632         (CFLAGS-test-double.c): Likewise.
25633         (CFLAGS-test-ldouble.c): Likewise.
25634         (CPPFLAGS-test-ifloat.c): Likewise.
25635         (CPPFLAGS-test-idouble.c): Likewise.
25636         (CPPFLAGS-test-ildoubl.c): Likewise.
25637         (CFLAGS-test-test-fenv.c): Remove variable.
25638         (CFLAGS-test-misc.c): Likewise.
25640 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
25642         [BZ #17797]
25643         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
25644         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
25645         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
25646         CLOCKS_PER_SEC == 1000000.
25647         * time/clocktest.c (main): Replace %ld with %jd and cast to
25648         intmax_t.
25650 2015-01-05  Roland McGrath  <roland@hack.frob.com>
25652         * sysdeps/generic/unwind-resume.h: New file.
25653         * sysdeps/gnu/unwind-resume.c: Include it.
25654         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
25655         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
25656         argument list.
25657         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
25658         global rather than static.
25659         (_Unwind_Resume): Update user.
25660         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
25661         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
25662         rather than static.  Add __attribute__ ((cold)).
25663         (_Unwind_Resume, __gcc_personality_v0): Update callers.
25664         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
25665         * sysdeps/arm/arm-unwind-resume.S: New file.
25666         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
25667         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
25668         * sysdeps/arm/Makefile [$(subdir) = csu]
25669         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
25670         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
25671         Add rt-arm-unwind-resume.
25672         [$(subdir) = nptl]
25673         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25674         Add pt-arm-unwind-resume.
25675         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
25676         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
25678 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25680         [BZ #17748]
25681         * include/fenv.h (__feholdexcept): Declare.  Use
25682         libm_hidden_proto.
25683         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
25684         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
25685         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25686         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
25687         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
25688         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
25689         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
25690         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25691         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
25692         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
25693         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25694         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
25695         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
25696         (feholdexcept): Likewise.
25697         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25698         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
25699         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
25700         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25701         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
25702         __feholdexcept instead of feholdexcept.
25703         (default_libc_feholdexcept_setround): Likewise.
25705 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25707         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
25708         to avoid using stl/str to align destination.
25710 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25712         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
25714 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25716         [BZ #17796]
25717         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
25718         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
25719         Define as weak alias not strong alias.
25721 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
25723         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
25724         bltzal with addiupc.
25725         (RTLD_START): Ditto.
25727 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
25729         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
25730         for __vdso_* functions in declarations.
25731         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
25732         definitions.
25733         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25734         INTERNAL_VSYSCALL): Use struct return types to check for error.
25736         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
25737         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
25738         function with cast from llround().
25739         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
25740         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
25741         Define.
25743 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
25745         [BZ #17793]
25746         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
25747         Define as weak alias not strong alias.
25749         [BZ #17635]
25750         * ctype/ctype-c99.c: New file.  isblank implementation moved from
25751         ...
25752         * ctype/ctype-extn.c: ... here.
25753         (__isblank_l): Move to ...
25754         * ctype/ctype-c99_l.c: ... here.  New file.
25755         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
25756         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
25757         Remove variable.
25758         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25759         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25760         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25761         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25762         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25764         [BZ #17777]
25765         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25766         (posix_fadvise64): Define as weak alias not strong alias.
25767         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25768         (posix_fallocate64): Likewise.
25769         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25770         Remove variable.
25771         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25772         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25773         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25774         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25775         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25777 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25779         [BZ #16191]
25780         * NEWS: Mention bug fix.
25781         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25782         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25783         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25784         (HOST_STACK_END_ADDR): Likewise.
25786 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25788         [BZ #17748]
25789         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25790         * math/fegetround.c (fegetround): Rename to __fegetround and
25791         define as weak alias of __fegetround.  Use libm_hidden_weak.
25792         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25793         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25794         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25795         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25796         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25797         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25798         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25799         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25800         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25801         Undefine after rather than before function definition; use
25802         parentheses around function name in definition.
25803         (__fegetround): Also undefine macro after function definition.
25804         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25805         __fegetround and define as weak alias of __fegetround.  Use
25806         libm_hidden_weak.  Do not undefine as macro.
25807         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25808         Likewise.
25809         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25810         __fegetround and define as weak alias of __fegetround.  Use
25811         libm_hidden_weak.
25812         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25813         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25814         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25815         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25816         __fegetround and define as weak alias of __fegetround.  Use
25817         libm_hidden_weak.
25818         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25819         __fegetround instead of fegetround.
25821         [BZ #17782]
25822         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25823         Condition macro definition on [__USE_MISC].
25825         [BZ #17781]
25826         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25827         (struct sigaction): Change type of sa_flags field to int.
25829         [BZ #17780]
25830         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25831         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25832         __glibc_reserved0.
25834         * nptl/version.c (banner): Use single year in copyright notice.
25836         * NEWS: Update copyright dates.
25837         * catgets/gencat.c (print_version): Likewise.
25838         * csu/version.c (banner): Likewise.
25839         * debug/catchsegv.sh: Likewise.
25840         * debug/pcprofiledump.c (print_version): Likewise.
25841         * debug/xtrace.sh (do_version): Likewise.
25842         * elf/ldconfig.c (print_version): Likewise.
25843         * elf/ldd.bash.in: Likewise.
25844         * elf/pldd.c (print_version): Likewise.
25845         * elf/sotruss.sh: Likewise.
25846         * elf/sprof.c (print_version): Likewise.
25847         * iconv/iconv_prog.c (print_version): Likewise.
25848         * iconv/iconvconfig.c (print_version): Likewise.
25849         * locale/programs/locale.c (print_version): Likewise.
25850         * locale/programs/localedef.c (print_version): Likewise.
25851         * login/programs/pt_chown.c (print_version): Likewise.
25852         * malloc/memusage.sh (do_version): Likewise.
25853         * malloc/memusagestat.c (print_version): Likewise.
25854         * malloc/mtrace.pl: Likewise.
25855         * manual/libc.texinfo: Likewise.
25856         * nptl/version.c (banner): Likewise.
25857         * nscd/nscd.c (print_version): Likewise.
25858         * nss/getent.c (print_version): Likewise.
25859         * nss/makedb.c (print_version): Likewise.
25860         * posix/getconf.c (main): Likewise.
25861         * scripts/test-installation.pl: Likewise.
25862         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25864 2015-01-02  Will Newton  <will.newton@linaro.org>
25866         * sysdeps/arm/armv7/configure: Removed.
25867         * sysdeps/arm/armv7/configure.ac: Likewise.
25869 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25871         * All files with FSF copyright notices: Update copyright dates
25872         using scripts/update-copyrights.
25873         * intl/plural.c: Regenerated.
25874         * locale/programs/charmap-kw.h: Likewise.
25875         * locale/programs/locfile-kw.h: Likewise.
25877 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25879         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25881 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25883         [BZ #17748]
25884         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25885         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25886         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25887         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25888         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25889         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25890         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25891         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25892         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25893         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25894         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25895         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25896         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25897         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25898         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25899         libm_hidden_def.
25900         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25901         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25902         Likewise.
25903         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25904         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25905         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25906         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25907         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25908         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25909         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25910         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25911         __fegetenv instead of fegetenv.
25912         (libc_feholdsetround_noex_ctx): Likewise.
25914 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25916         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25917         (Elf_MIPS_ABIFlags_v0): New structure.
25918         (EF_MIPS_FP64): Define.
25919         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25920         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25921         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25922         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25923         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25924         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25925         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25926         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25927         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25928         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25929         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25930         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25931         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25932         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25933         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25934         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25935         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25936         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25937         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25938         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25939         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25940         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25941         field.
25942         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25943         EF_MIPS_FP64.
25944         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25945         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25946         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25947         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25948         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25949         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25950         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25951         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25952         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25953         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25954         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25955         record the current FP ABI extension.
25956         (mips-mode-switch): Define to show if kernel headers support mode
25957         switching.
25958         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25959         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25960         supported SYSV ABI version to 3.
25961         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25962         feature.
25964 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25965             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25967         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25968         path.
25969         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25971 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25973         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25974         __fegetround and redefine to call __fegetround.  Remove condition
25975         on [!__NO_MATH_INLINES].
25976         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25977         function.
25978         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25979         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25980         Remove macro.
25981         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25982         instead of <fenv_libc.h>.
25983         (__llrintl): Call fegetround instead of __fegetround.
25984         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25985         instead of <fenv_libc.h>.
25986         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25987         (__lrintl): Call fegetround instead of __fegetround.
25988         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25989         instead of <fenv_libc.h>.
25990         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25991         (__rintl): Call fegetround instead of __fegetround.
25993 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25995         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25996         arrays.
25998 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26000         [BZ #17775]
26001         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26002         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26003         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26005 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26007         * sysdeps/i386/tls-macros.h: Include <features.h>.
26008         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26009         (TLS_IE): Likewise.
26010         (TLS_LD): Likewise.
26011         (TLS_GD): Likewise.
26012         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26013         define for GCC >= 5.0.
26015 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26017         * math/test-fenv.c (test_single_exception, set_single_exc,
26018         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26019         feexcp_mask_test, feenable_test, fe_single_test): Add
26020         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26021         case where they are not used.
26022         * math/libm-test.inc: Likewise.
26023         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26024         unused in the absence of FP rounding/exception support.
26025         * stdio-common/tst-printf-round.c: Likewise.
26026         * stdlib/tst-strtod-round.c: Likewise.
26027         * stdlib/tst-strtod-underflow.c: Likewise.
26029 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26031         [BZ #17723]
26032         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26033         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26034         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26035         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26036         libm_hidden_weak.
26037         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26038         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26039         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26040         libm_hidden_def.
26041         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26042         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26043         libm_hidden_weak.
26044         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26045         Likewise.
26046         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26047         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26048         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26049         libm_hidden_weak.
26050         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26051         libm_hidden_def.
26052         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26053         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26054         (__feraiseexcept): Likewise.
26055         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26056         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26057         libm_hidden_weak.
26058         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26059         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26060         libm_hidden_def.
26061         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26062         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26063         Use libm_hidden_def.
26064         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26065         libm_hidden_def.
26066         (feraiseexcept): Define as weak not strong alias.  Use
26067         libm_hidden_weak.
26068         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26069         New inline function.  Factored out of ...
26070         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26071         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26072         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26073         feraiseexcept.
26074         * math/w_acos.c (__acos): Likewise.
26075         * math/w_asin.c (__asin): Likewise.
26076         * math/w_ilogb.c (__ilogb): Likewise.
26077         * math/w_j0.c (y0): Likewise.
26078         * math/w_j1.c (y1): Likewise.
26079         * math/w_jn.c (yn): Likewise.
26080         * math/w_log.c (__log): Likewise.
26081         * math/w_log10.c (__log10): Likewise.
26082         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26083         * sysdeps/aarch64/fpu/math_private.h
26084         (libc_feupdateenv_test_aarch64): Likewise.
26085         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26086         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26087         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26088         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26089         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26090         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26091         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26092         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26093         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26094         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26096 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26098         [BZ #17732]
26099         * io/test-utime.c (main): Replace %ld with %jd and cast to
26100         intmax_t.
26101         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26102         * nptl/tst-mutex5.c: Include <stdint.h>.
26103         (do_test): Replace %ld with %jd and cast to intmax_t.
26104         * posix/tst-regex.c (run_test): Likewise.
26105         (run_test_backwards): Likewise.
26106         * rt/tst-clock.c: Include <stdint.h>.
26107         (clock_test): Replace %ld with %jd and cast to intmax_t.
26108         * rt/tst-cpuclock1.c: Include <stdint.h>.
26109         (do_test): Replace %lu with %ju and cast to uintmax_t.
26110         * rt/tst-cpuclock2.c: Include <stdint.h>.
26111         (do_test): Replace %lu with %ju and cast to uintmax_t.
26112         * rt/tst-mqueue1.c: Include <stdint.h>.
26113         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26114         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26115         intmax_t.
26116         * rt/tst-mqueue4.c (do_test): Likewise.
26117         * rt/tst-timer4.c: Include <stdint.h>.
26118         (check_ts): Replace %ld with %jd and cast to intmax_t.
26119         (do_test): Likewise.
26120         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26121         and cast to intmax_t.
26122         * sysdeps/pthread/tst-timer.c (main): Likewise.
26123         * time/clocktest.c (main): Likewise.
26124         * time/tst-posixtz.c (do_test): Likewise.
26125         * timezone/tst-timezone.c (main): Likewise.
26127 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26128             H.J. Lu  <hongjiu.lu@intel.com>
26130         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26131         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26132         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26133         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26134         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26135         version if bit_Fast_Unaligned_Load is set.
26136         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26137         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26138         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26139         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26140         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26141         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26142         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26143         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26144         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26145         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26146         to 4.
26147         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26148         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26149         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26150         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26152 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26154         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26155         instead of #if to avoid a Wundef warning.
26156         * stdlib/tst-limits.c (do_test): Likewise.
26158         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26159         parallel other exception macros.
26160         (fegetenv): Convert from macro to extern inline so that it applies
26161         retroactively to inline functions already seen by the compiler.
26162         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26164         * posix/Makefile (before-compile): Use $(objpfx) for
26165         posix-conf-vars-def.h.
26167 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26169         * posix/getconf.c (main): Use size_t for type of I.
26170         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26171         NSPEC.
26173         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26174         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26175         * posix/posix-envs.def: Likewise.
26176         * sysdeps/posix/sysconf.c: Likewise.
26177         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26178         (specs): Remove array.
26179         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26180         array.
26182         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26183         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26184         (__sysconf): Use CONF_IS_* macros.
26186         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26187         ($(objpfx)posix-conf-vars-def.h): New target.
26188         * posix/posix-conf-vars.list: New file.
26189         * posix/posix-conf-vars.h: New file.
26190         * posix/confstr.c: Include posix-conf-vars.h.
26191         (confstr): Use CONF_IS_* macros.
26192         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26193         CONF_IS_* macros.
26194         * scripts/gen-posix-conf-vars.awk: New file.
26196 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26198         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26199         fegetround): Add no-op macros to avoid linknamespace issues.
26201         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26202         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26204         * sysdeps/unix/sysv/linux/tile/sysdep.h
26205         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26206         assembly-specific section to avoid a redefinition warning.
26208         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26209         long before casting to pointer to avoid a cast warning.
26211 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26213         * sysdeps/tile/tilegx/Implies: New file.
26215 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26217         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26219 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26221         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26223 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26225         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26226         not define.
26227         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26228         <kernel-features.h>.
26229         (__utimes) [__NR_utimes]: Make code unconditional.
26230         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26231         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26232         (__ASSUME_UTIMES): Do not undefine.
26233         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26234         (__ASSUME_UTIMES): Likewise.
26235         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26236         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26237         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26238         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26240 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26242         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26244 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26246         [BZ #17747]
26247         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26248         alias to weak alias for j0l, y0l.
26249         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26250         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26252         [BZ #17746]
26253         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26254         conversion.
26256 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26258         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26259         to zero if not already defined.
26261 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26263         [BZ #17724]
26264         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26265         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26266         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26267         (char *) casts added.
26268         * sysdeps/ieee754/k_standardf.c: New file.
26269         * sysdeps/ieee754/k_standardl.c: Likewise.
26270         * math/Makefile (libm-support): Remove k_standard.
26271         (libm-calls): Add k_standard.
26273 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26275         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26276         Optimize to avoid an unnecessary FPCR read.
26278 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26280         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26281         Optimize to reduce FPCR/FPSR accesses.
26283 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26285         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26286         Call libc_fetestexcept_aarch64.
26288 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26290         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26291         Call libc_fesetround_aarch64.
26293 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26295         [BZ #17733]
26296         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26297         (__bind): Do not define as weak alias.
26298         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26299         define.
26300         (__getsockname): Do not define as weak alias.
26302 2014-12-22  Will Newton  <will.newton@linaro.org>
26304         * manual/install.texi: Document that we require bison 2.7
26305         or above.
26306         * INSTALL: Regenerate.
26307         * configure.ac: Use AC_CHECK_PROG_VER instead of
26308         AC_PATH_PROG when checking for bison and check for
26309         version 2.7 or above.
26310         * configure: Regenerate.
26312 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26314         [BZ #17745]
26315         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26316         * sysdeps/tile/ffsll.c (ffsll): To here.
26318         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26320 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26322         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26323         if not defined.
26324         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26325         definition.
26326         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26327         hidden ___tls_get_addr.
26328         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26329         hidden __tls_get_addr.
26330         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26331         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26332         Likewise.
26334 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26336         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26337         _dl_init call.
26339 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26341         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26342         from "call _dl_init@PLT".
26343         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26345 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26347         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26348         guarantees.
26350 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26352         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26354 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26356         [BZ #17744]
26357         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26358         strnlen.
26360 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26362         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26363         of multu on MIPSr6.
26364         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26365         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26366         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26367         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26368         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26370 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26372         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26373         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26374         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26375         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26376         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26377         mips32r6/mips64r6.
26378         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26380 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26382         * string/strncat.c (STRNCAT): Simplify implementation.
26384 2014-12-19  David S. Miller  <davem@davemloft.net>
26386         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26387         access the quad as both a long double and as a series of 4 words.
26389         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26390         link_map->l_info array access.
26392 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26394         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26396         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26397         * math/atest-exp2.c (TIMEOUT): Likewise.
26398         * math/atest-sincos.c (TIMEOUT): Likewise.
26400 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26402         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26403         -Wno-error with -fno-builtin-lround.
26405 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26407         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26408         Contains futex constants and functions moved over from ...
26409         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26410         <lowlevellock-futex.h>.
26411         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26412         (lll_timedwait_tid): Add comments and parentheses around macro
26413         arguments.
26415 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26417         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26418         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26419         (__lll_private_flag): Remove.
26420         (lll_futex_wait): Likewise.
26421         (lll_futex_timed_wait): Likewise.
26422         (lll_futex_wake): Likewise.
26423         (lll_futex_requeue): Likewise.
26424         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26425         (__lll_timedwait_tid): Spell out argument names.
26426         (lll_timedwait_tid): Add comments and parentheses around macro
26427         arguments.
26428         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26429         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26431 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26433         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26434         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26435         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26436         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26437         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26438         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26439         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26440         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26441         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26442         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26443         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26444         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26445         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26446         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26447         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26448         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26449         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26450         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26451         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26453 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26455         * sysdeps/x86_64/x32/Makefile: New file.
26457 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26459         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26460         1L with (mp_limb_t) 1.
26462 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26464         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26465         * nptl/libc_pthread_init.c: ... here.
26466         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26467         * nptl/register-atfork.c: ... here.
26469         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26470         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26471         Use assert_perror to check its return value.
26472         (__gai_create_helper_thread): Likewise.
26474         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26476         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26478 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26480         [BZ #17725]
26481         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26482         __profil_counter.
26483         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26484         Likewise.
26485         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26486         Likewise.
26487         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26488         Likewise.
26489         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26490         (profil_counter): Likewise.
26491         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26492         (profil_counter): Likewise.
26493         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26494         Likewise.
26495         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26496         Likewise.
26497         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26498         (profil_counter): Likewise.
26499         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26500         Likewise.
26501         [!__profil_counter] (profil_counter): Define as weak alias of
26502         __profil_counter.
26503         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26504         (profil_counter): Rename to __profil_counter.
26505         [!__profil_counter] (profil_counter): Define as weak alias of
26506         __profil_counter.
26507         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26508         (profil_counter): Rename to __profil_counter.
26509         [!__profil_counter] (profil_counter): Define as weak alias of
26510         __profil_counter.
26511         * sysdeps/posix/profil.c: Update comment referring to
26512         profil_counter.
26513         (__profil): Use __profil_counter instead of profil_counter.
26514         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26515         __profil_counter.  Use __profil_counter_ushort and
26516         __profil_counter_uint in definitions.
26517         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26518         instead of profil_counter_uint and profil_counter_ushort.
26520         [BZ #17722]
26521         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26522         define as weak alias of __inet_makeaddr.
26523         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26524         as weak alias of __inet_addr.
26525         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26526         as weak alias of __inet_pton.  Use libc_hidden_weak.
26527         * include/arpa/inet.h (__inet_pton): Declare.  Use
26528         libc_hidden_proto.
26529         (inet_makeaddr): Don't use libc_hidden_proto.
26530         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26531         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26532         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26533         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26534         Remove variable.
26535         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26536         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26538 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26540         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26542 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26544         * stdio-common/bug-vfprintf-nargs.c (do_test):
26545         Cast value to intptr_t to avoid format warning
26546         for usage with PRIdPTR printing macro.
26548 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26550         * libio/tst-widetext.c (do_test):
26551         Use format type %td instead of %Zd for ptrdiff_t
26552         in order to avoid format warning.
26554 2014-12-17  Andreas Schwab  <schwab@suse.de>
26556         * nscd/mem.c (gc): Add size_t cast to match printf format.
26558 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26560         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26561         (init): Apply PTR_MANGLE to pointers before storing them.
26562         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26563         before using them.
26565 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26567         [BZ #17719]
26568         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26569         define as weak alias of __memrchr.
26570         (__memrchr): Do not define as strong alias of memrchr.
26571         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26572         Remove variable.
26573         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26574         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26575         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26577         [BZ #17717]
26578         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
26579         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
26580         (if_indextoname): Rename to __if_indextoname and define as weak
26581         alias of __if_indextoname.  Use libc_hidden_weak.
26582         (if_freenameindex): Rename to __if_freenameindex and define as
26583         weak alias of __if_freenameindex.
26584         (if_nameindex): Rename to __if_nameindex and define as weak alias
26585         of __if_nameindex.
26586         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
26587         __if_nametoindex and define as weak alias of __if_nametoindex.
26588         Use libc_hidden_weak.
26589         (if_freenameindex): Rename to __if_freenameindex and define as
26590         weak alias of __if_freenameindex.
26591         (if_nameindex): Rename to __if_nameindex and define as weak alias
26592         of __if_nameindex.
26593         (if_indextoname): Rename to __if_indextoname and define as weak
26594         alias of __if_indextoname.  Use libc_hidden_weak.
26595         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
26596         __if_nametoindex and define as weak alias of __if_nametoindex.
26597         Use libc_hidden_weak.
26598         (if_freenameindex): Rename to __if_freenameindex and define as
26599         weak alias of __if_freenameindex.  Use libc_hidden_weak.
26600         (if_nameindex_netlink): Use __if_freenameindex instead of
26601         if_freenameindex.
26602         (if_nameindex): Rename to __if_nameindex and define as weak alias
26603         of __if_nameindex.  Use libc_hidden_weak.
26604         (if_indextoname): Rename to __if_indextoname and define as weak
26605         alias of __if_indextoname.  Use libc_hidden_weak.
26606         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
26607         libc_hidden_proto.
26608         [!_ISOMAC] (__if_freenameindex): Likewise.
26609         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
26610         if_nametoindex.
26611         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
26612         variable.
26613         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26614         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26615         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26616         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26617         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26618         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26619         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26621         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
26622         Remove variable.
26623         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26624         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26626 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26628         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
26629         subscript above bounds'
26631         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
26632         bounds.
26634 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
26636         * libio/tst-fopenloc.c: Use test-skeleton.c.
26638         * stdlib/tst-bsearch.c: Use test-skeleton.c.
26639         (entry): Rename to ITEM.
26640         (do_test, comp): Adjust.
26642         * stdio-common/tst-fseek.c: Use test-skeleton.c.
26644 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26646         * string/tester.c: Include <libc-internal.h>.
26647         (test_memset): Ignore -Wmemset-transposed-args.
26649 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26651         * misc/tst-mntent2.c (do_test): Fix warning.
26653 2014-12-16  Torvald Riegel  <triegel@redhat.com>
26655         * elf/tst-unique4lib.cc(a): Mark as used.
26657 2014-12-16  Florian Weimer  <fweimer@redhat.com>
26659         [BZ #17630]
26660         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
26661         names.
26663 2014-12-16  Allan McRae  <allan@archlinux.org>
26665         * stdio-common/Makefile (tests): Re-add bug26.
26667 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
26669         [BZ #17657]
26670         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
26671         static array.
26673 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
26675         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
26676         (__lll_lock_wait): Likewise.
26677         (__lll_timedlock_wait): Likewise.
26678         (__lll_timedwait_tid): Likewise.
26679         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
26680         (__lll_robust_timedlock_wait): Likewise.
26681         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
26682         (lll_cond_trylock): Likewise.
26683         (__lll_lock): Likewise.
26684         (__lll_robust_lock): Likewise.
26685         (__lll_cond_lock): Likewise.
26686         (lll_robust_cond_lock): Likewise.
26687         (__lll_timedlock): Likewise.
26688         (__lll_robust_timedlock): Likewise.
26689         (__lll_unlock): Likewise.
26690         (__lll_robust_unlock): Likewise.
26691         (lll_wait_tid): Likewise.
26692         (lll_timedwait_tid): Likewise.
26694 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26696         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
26698 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26700         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
26702 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26704         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
26705         * stdio-common/tst-sprintf.c: Likewise.
26707 2014-12-15  Torvald Riegel  <triegel@redhat.com>
26709         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
26711 2014-12-15  Jeff Law  <law@redhat.com>
26713         [BZ #16617]
26714         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
26715         on the heap.  (CVE-2012-3406)
26716         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
26717         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
26718         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
26720 2014-12-15  Will Newton  <will.newton@linaro.org>
26722         * manual/install.texi: Bump required version of texinfo
26723         to 4.7 from 4.5.
26724         * INSTALL: Regenerated.
26725         * configure.ac: Check for makeinfo version 4.7 and above.
26726         * configure: Regenerated.
26728 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26730         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
26731         PREFIX, string constant to insert between directory and name.
26732         * sysdeps/posix/shm_open.c: Update caller.
26733         * sysdeps/posix/shm_unlink.c: Likewise.
26734         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
26735         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
26736         (SEM_SHM_PREFIX): New macro.
26737         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
26738         [$(have-thread-library) = no].
26739         * nptl/Makefile (libpthread-routines): Add shm-directory.
26740         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
26741         * sysdeps/nptl/shm-directory.h: New file.
26742         * sysdeps/posix/shm-directory.c
26743         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
26744         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26745         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
26746         INTERNAL_SYSCALL.
26747         (__where_is_shmfs): Function removed.
26748         (mountpoint, defaultmount, defaultdir, __namedsem_once):
26749         Variables removed.
26750         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
26751         Use SHM_GET_NAME.
26752         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
26754         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
26755         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
26756         unconditional for use inside libpthread.
26757         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26759 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26761         * nptl/pthread_getaffinity.c: New file.
26762         * nptl/pthread_setaffinity.c: New file.
26763         * nptl/pthread_getname.c: New file.
26764         * nptl/pthread_setname.c: New file.
26766         * nptl/pthread_create.c (START_THREAD_DEFN)
26767         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26769 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26770             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26772         * resolv/res_send.c (send_vc): Disable warning resplen may
26773         be used uninitialized.
26775 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26777         * nptl/tst-mutex6.c
26778         (ATTR_NULL): New define checks ATTR against NULL.
26779         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26780         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26782 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26784         [BZ #17581]
26785         * malloc/hooks.c
26786         (mem2mem_check): Revert my previous change.
26787         (malloc_check_get_size): Revert my previous change.
26788         (mem2chunk_check): Revert my previous change.
26790 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26792         * sysdeps/posix/shm-directory.c: New file.
26793         * sysdeps/posix/shm-directory.h: New file.
26794         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26795         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26796         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26797         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26798         Transmute EPERM to EACCES.
26799         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26800         from ...
26801         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26802         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26804 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26806         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26807         pointer and cast to uintptr_t.
26808         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26809         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26810         Add cast to avoid warning.
26811         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26813 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26815         * nptl/semaphore.h: Move to ...
26816         * sysdeps/pthread/semaphore.h: ... here.
26817         * Makefile (installed-headers): Change nptl/semaphore.h to
26818         sysdeps/pthread/semaphore.h.
26820 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26822         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26823         generated error format strings.
26825         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26826         -Wformat-extra-args warnings for scanf formats.
26827         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26828         test of zero-length format (duh).
26829         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26830         corner-case scanf format test.
26831         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26832         generated fprintf format string.
26833         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26834         corner-case sprintf format tests.
26835         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26836         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26837         -Wformat-extra-args warnings throughout.
26838         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26839         (CFLAGS-scanf4.c): Likewise.
26840         (CFLAGS-scanf7.c): Likewise.
26841         (CFLAGS-tst-sprintf.c): Likewise.
26842         (CFLAGS-tst-printf.c): Likewise.
26843         (CFLAGS-tst-printfsz.c): Likewise.
26845 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26847         * include/cpio.h: New file.
26848         * include/fmtmsg.h: Likewise.
26850         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26851         corresponding format argument to size_t.
26852         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26853         arguments.
26854         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26855         corresponding format argument to size_t.
26856         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26857         arguments.
26858         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26859         corresponding format argument to size_t.
26860         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26861         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26862         (CFLAGS-tst-mbswcs2.c): Likewise.
26863         (CFLAGS-tst-mbswcs3.c): Likewise.
26864         (CFLAGS-tst-mbswcs4.c): Likewise.
26865         (CFLAGS-tst-mbswcs5.c): Likewise.
26866         (CFLAGS-tst-trans.c): Likewise.
26868 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26870         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26871         rather than assuming they won't contain any '%'s.
26873 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26875         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26876         inhibit_loop_to_libcall to avoid recursive calls.
26877         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26878         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26880 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26882         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26883         prototype.
26885 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26887         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26888         integer value instead of boolean.
26890 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26892         * malloc/malloc.c: Fix powerof2 check.
26894 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26896         * locale/programs/locfile.h (maybe_swap_uint32):
26897         Remove inline and add unused attribute.
26899 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26901         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26902         Truncating assembler expression to a .long expression.
26904 2014-12-11  Andreas Schwab  <schwab@suse.de>
26906         * elf/rtld.c (struct map_args): Constify str member.
26907         (do_preload): Constify fname argument.
26909 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26911         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26912         constants definition.
26914 2014-12-11  Andreas Schwab  <schwab@suse.de>
26916         [BZ #16657]
26917         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26918         FORCE_ELISION instead of DO_ELISION.
26919         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26920         Remove.
26921         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26922         Likewise.
26924         * iconvdata/gconv-modules: Remove duplicate entry.
26926 2014-12-11  Will Newton  <will.newton@linaro.org>
26928         Merge gettext 0.19.3 into intl/.
26930         This involves a number of cosmetic changes to comments
26931         and ANSI function definitions and prototypes throughout
26932         all the files. The gettext copyright header is used but
26933         with the date ranges taken from the glibc copy.
26935         * NEWS: Add gettext merge to 2.21.
26936         * intl/bindtextdom.c: Switch to gettext copyright.
26937         Use ANSI definitions and prototypes.
26938         Use gl_* locking primitives rather than __libc_* ones.
26939         Use __builtin_expect rather than __glibc_likely/unlikely.
26940         * intl/dcgettext.c: Switch to gettext copyright.
26941         Use ANSI definitions and prototypes.
26942         * intl/dcigettext.c: Switch to gettext copyright.
26943         Use ANSI definitions and prototypes.
26944         (INTDIV0_RAISES_SIGFPE): New define.
26945         Use gl_* locking primitives rather than __libc_* ones.
26946         Include eval-plural.h instead of plural-eval.c.
26947         Use __builtin_expect rather than __glibc_likely/unlikely.
26948         * intl/dcngettext.c: Switch to gettext copyright.
26949         Use ANSI definitions and prototypes.
26950         * intl/dgettext.c: Likewise.
26951         * intl/dngettext.c: Likewise.
26952         * intl/plural-eval.c: Renamed to...
26953         * intl/eval-plural.h: ...this.
26954         * intl/explodename.c: Switch to gettext copyright.
26955         Use ANSI definitions and prototypes.
26956         (_nl_explode_name): Use strchr instead of __rawmemchr.
26957         * intl/finddomain.c: Switch to gettext copyright.
26958         Use ANSI definitions and prototypes.
26959         Use gl_* locking primitives rather than __libc_* ones.
26960         (_nl_find_domain): Use malloc rather than alloca for
26961         allocation of temporary locale name.
26962         * intl/gettext.c: Switch to gettext copyright.
26963         Use ANSI definitions and prototypes.
26964         * intl/gettextP.h: Switch to gettext copyright.
26965         Use ANSI definitions and prototypes.
26966         Use gl_* locking primitives rather than __libc_* ones.
26967         * intl/gmo.h: Switch to gettext copyright.
26968         (struct sysdep_string): Move struct segment_pair outside of
26969         struct definition.
26970         * intl/hash-string.c: Use ANSI definitions and prototypes.
26971         * intl/hash-string.h: Switch to gettext copyright.
26972         Use ANSI definitions and prototypes.
26973         * intl/l10nflist.c: Switch to gettext copyright.
26974         Use ANSI definitions and prototypes.
26975         (_nl_normalize_codeset): Avoid integer overflow.
26976         * intl/loadinfo.h: Switch to gettext copyright.
26977         Use ANSI definitions and prototypes.
26978         (LIBINTL_DLL_EXPORTED): New define.
26979         (PATH_SEPARATOR): New define.
26980         * intl/loadmsgcat.c: Switch to gettext copyright.
26981         * intl/localealias.c: Switch to gettext copyright.
26982         Use ANSI definitions and prototypes.
26983         (_nl_expand_alias): Use PATH_SEPARATOR.
26984         * intl/ngettext.c: Switch to gettext copyright.
26985         Use ANSI definitions and prototypes.
26986         * intl/plural-exp.c: Likewise.
26987         * intl/plural-exp.h: Switch to gettext copyright.
26988         Use ANSI definitions and prototypes.
26989         (struct expression): Move definition of enum operator outside
26990         of struct definition.
26991         * intl/plural.c: Regenerate.
26992         * intl/plural.y: Switch to gettext copyright.
26993         Use ANSI definitions and prototypes.
26994         Port to bison 3.0.
26995         * intl/textdomain.c: Switch to gettext copyright.
26996         Use ANSI definitions and prototypes.
26997         Use gl_* locking primitives rather than __libc_* ones.
26999 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27001         * debug/warning-nop.c: Add used atrribute.
27003 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27005         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27007         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27008         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27009         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27011 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27012             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27014         [BZ #17634]
27015         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27016         Undefine after defining function.  Define as weak alias of
27017         __wcschr.  Use libc_hidden_weak.
27018         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27019         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27020         (libc_hidden_def): Also define __GI___wcschr alias.
27021         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27022         __wcschr and define as weak alias of __wcschr.
27023         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27024         __wcschr.
27025         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27026         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27027         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27028         libc_hidden_weak.  Do not use libc_hidden_def.
27029         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27030         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27031         __GI___wcschr alias.
27032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27033         [IS_IN (libc)] (wcschr): Define as macro expanding to
27034         __redirect_wcschr.
27035         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27036         [IS_IN (libc)] (__wcschr_power6): Likewise.
27037         [IS_IN (libc)] (__wcschr_power7): Likewise.
27038         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27039         instead of wcschr.
27040         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27041         __libc_wcschr.
27042         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27043         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27044         __wcschr and define as weak alias of __wcschr.  Use
27045         libc_hidden_builtin_def.
27046         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27047         as weak alias of __wcschr.  Use libc_hidden_weak.
27048         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27049         wcschr.
27050         * time/era.c (_nl_init_era_entries): Likewise.
27051         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27052         variable.
27053         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27054         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27056 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27058         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27059         format for long int variable.
27061 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27063         [BZ #10672]
27064         * manual/search.texi: (Array Sort Function): Remove claim how to make
27065         qsort stable.
27067 2014-12-10  Andreas Schwab  <schwab@suse.de>
27069         [BZ #12847]
27070         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27071         user-controlled locks.
27073 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27075         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27076         register.
27078 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27080         * configure.ac (--disable-werror): New configure option.
27081         (enable_werror): New AC_SUBST.
27082         * configure: Regenerated.
27083         * config.make.in (enable-werror): New variable.
27084         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27085         -Wno-error=undef.
27086         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27087         * manual/install.texi (Configuring and compiling): Document
27088         --disable-werror.
27089         * INSTALL: Regenerated.
27090         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27091         (CFLAGS-tst-chk2.c): Likewise.
27092         (CFLAGS-tst-chk3.c): Likewise.
27093         (CFLAGS-tst-chk4.cc): Likewise.
27094         (CFLAGS-tst-chk5.cc): Likewise.
27095         (CFLAGS-tst-chk6.cc): Likewise.
27096         (CFLAGS-tst-lfschk1.c): Likewise.
27097         (CFLAGS-tst-lfschk2.c): Likewise.
27098         (CFLAGS-tst-lfschk3.c): Likewise.
27099         (CFLAGS-tst-lfschk4.cc): Likewise.
27100         (CFLAGS-tst-lfschk5.cc): Likewise.
27101         (CFLAGS-tst-lfschk6.cc): Likewise.
27103         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27104         (main): Disable -Wdeprecated-declarations around calls to
27105         register_printf_function.
27107         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27108         (do_test): Disable -Wdiv-by-zero around some calls to
27109         fwrite_unlocked and fread_unlocked.
27111         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27112         (DIAG_POP_NEEDS_COMMENT): Likewise.
27113         (_DIAG_STR1): Likewise.
27114         (_DIAG_STR): Likewise.
27115         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27116         * stdio-common/bug21.c: Include <libc-internal.h>.
27117         (do_test): Disable -Wformat around call to sscanf.
27118         * stdio-common/scanf14.c: Include <libc-internal.h>.
27119         (main): Disable -Wformat around some calls to scanf functions.
27121 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27123         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27125 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27127         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27128         stack variable alignment.
27130 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27132         [BZ #17682]
27133         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27134         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27135         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27136         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27137         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27138         __getrlimit instead of getrlimit.
27139         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27140         __gettimeofday instead of gettimeofday.
27141         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27142         Likewise.
27143         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27144         Likewise.
27145         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27146         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27147         Remove variable.
27148         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27149         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27151 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27153         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27154         for wide-character tests.
27156 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27158         * io/openat64.c: #include <libc-internal.h>
27159         (__openat64): Prototypify.  Use ignore_value on MODE.
27160         * io/openat.c: Likewise.
27161         * misc/reboot.c: #include <libc-internal.h>
27162         (reboot): Prototypify.  Use ignore_value on HOWTO.
27163         * misc/ptrace.c: #include <libc-internal.h>
27164         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27166 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27168         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27169         XPG4, UNIX98 and XOPEN2K.
27170         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27171         Remove variable.
27172         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27174 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27176         * libio/fileops.c: Use ISO C style for function definitions.
27177         * libio/iofopen.c: Likewise.
27178         * libio/wfileops.c: Likewise.
27180         [BZ #17653]
27181         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27182         offset on EOF.
27183         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27184         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27185         (fgets_func): Function pointer to fgets and fgetws.
27186         (do_ftell_test): Add test to verify ftell value after read
27187         EOF.
27188         (do_test): Set fgets_func.
27190         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27191         O_TRUNC flag for w and w+ modes.
27192         (do_rewind_test): Likewise.
27193         (do_ftell_test): Likewise.
27194         (do_write_test): Likewise.
27196         [BZ #17647]
27197         * libio/fileops.c (do_ftell): Seek only when there are
27198         unflushed writes.
27199         * libio/wfileops.c (do_ftell_wide): Likewise.
27200         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27201         test case.
27202         (do_one_test): Call it.
27204 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27206         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27207         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27208         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27209         Remove variable.
27210         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27211         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27212         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27214 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27216         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27217         Remove variable.
27218         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27220         [BZ #17668]
27221         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27222         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27223         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27224         __freeifaddrs.  Use libc_hidden_weak.
27225         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27226         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27227         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27228         __freeifaddrs.  Use libc_hidden_weak.
27229         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27230         __getifaddrs and define as weak alias of __getifaddrs.  Use
27231         libc_hidden_weak.
27232         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27233         __freeifaddrs.  Use libc_hidden_weak.
27234         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27235         Remove variable.
27236         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27237         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27239 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27241         [BZ #17601]
27242         * sysdeps/mips/start.S (__start): Use indirect jump to call
27243         __libc_start_main.
27245 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27247         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27249         * nptl/tst-mutex1.c: Include <stdbool.h>.
27250         [!ATTR] (ATTR_NULL): New macro.
27251         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27252         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27253         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27255         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27256         to char *.
27258         [BZ #17665]
27259         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27260         Change conditional to [__USE_MISC].
27262         [BZ #17664]
27263         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27264         fgets_unlocked.
27265         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27266         __fgets_unlocked.
27267         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27268         fgets_unlocked.
27269         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27270         Remove variable.
27271         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27272         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27273         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27274         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27275         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27276         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27277         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27278         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27279         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27281         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27283 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27285         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27286         Remove strpbrk objects.
27287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27288         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27289         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27290         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27291         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27292         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27294         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27295         Remove strcspn objects.
27296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27297         (__libc_ifunc_impl_list): Remove strcspn implementation.
27298         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27299         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27300         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27301         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27303         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27304         Remove strspn objetcs.
27305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27306         (__libc_ifunc_impl_list): Remove strspn implementation.
27307         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27308         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27309         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27310         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27312 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27314         [BZ #17581]
27315         * malloc/hooks.c
27316         (mem2mem_check): Add a terminator to the chain of checking blocks.
27317         (malloc_check_get_size): Use it here.
27318         (mem2chunk_check): Ditto.
27320 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27322         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27323         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27325 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27327         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27329         * nptl/nptl-init.c: Include libc-internal.h.
27330         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27332         * elf/ldconfig.c (search_dir): Expand comment.
27334 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27336         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27337         variable.
27338         (linknamespace-symlist-stdlibs-tests): Likewise.
27339         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27340         instead of $(objpfx)symlist-stdlibs.
27341         (linknamespace-libs-isoc): New variable.
27342         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27343         (linknamespace-libs-ISO): New variable.
27344         (linknamespace-libs-ISO99): Likewise.
27345         (linknamespace-libs-ISO11): Likewise.
27346         (linknamespace-libs-XPG3): Likewise.
27347         (linknamespace-libs-XPG4): Likewise.
27348         (linknamespace-libs-POSIX): Likewise.
27349         (linknamespace-libs-UNIX98): Likewise.
27350         (linknamespace-libs-XOPEN2K): Likewise.
27351         (linknamespace-libs-POSIX2008): Likewise.
27352         (linknamespace-libs-XOPEN2K8): Likewise.
27353         ($(objpfx)symlist-stdlibs): Replace by
27354         $(linknamespace-symlist-stdlibs-tests).  Use
27355         $(linknamespace-libs-$*) as set of libraries.
27356         ($(linknamespace-header-tests)): Update dependencies.  Use
27357         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27358         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27359         * conform/linknamespace.pl: Remove comment about considering
27360         definitions of symbols from irrelevant libraries.
27362 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27364         [BZ #13862]
27365         * elf/dl-tls.c: Include <atomic.h>.
27366         (oom): Remove #ifdef SHARED/#endif.
27367         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27368         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27369         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27370         big enough.
27371         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27372         * nptl/Makefile (tests): Add tst-stack4.
27373         (modules-names): Add tst-stack4mod.
27374         ($(objpfx)tst-stack4): New.
27375         (tst-stack4mod.sos): Likewise.
27376         ($(objpfx)tst-stack4.out): Likewise.
27377         ($(tst-stack4mod.sos)): Likewise.
27378         (clean): Likewise.
27379         * nptl/tst-stack4.c: New file.
27380         * nptl/tst-stack4mod.c: Likewise.
27382 2014-11-27  J. Brown  <jb999@gmx.de>
27384         * sysdeps/x86/bits/string.h: Add recent CPUs.
27386 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27388         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27389         sigblock.
27391         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27392         feof.
27394         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27395         variable.
27397 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27399         * nscd/connections.c: Include libc-internal.h because of macro
27400         usage ignore_value.
27402 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27404         * string/bits/string3.h (__warn_memset_zero_len): Don't
27405         declare for gcc newer than 5.0.
27406         (memset): Don't test for zero-length __LEN for gcc newer than
27407         5.0.
27409 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27411         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27412         size_t for %zu format.
27414         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27415         difference, not %ju.
27417 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27419         * include/libc-internal.h (ignore_value): New macro.
27420         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27421         with ignore_value.
27423         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27424         definition.
27426         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27427         pthread_cleanup_push to void *.
27429         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27430         Undefine.
27432         [BZ #16619]
27433         [BZ #16740]
27434         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27435         instead of 1L << 52.
27437         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27438         * libio/bug-rewind2.c (do_test): Likewise.
27440         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27441         * debug/test-strcpy_chk-ifunc.c: Likewise.
27442         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27443         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27444         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27445         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27446         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27447         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27448         * Rules [$(multi-arch) = no] (tests): Do not filter out
27449         $(tests-ifunc).
27450         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27451         * debug/Makefile (tests-ifunc): Remove variable.
27452         (tests): Do not add $(tests-ifunc).
27453         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27454         (tests): Do not add $(tests-ifunc).
27455         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27456         [TEST_IFUNC]: Remove conditionals.
27457         * string/test-string.h (TEST_IFUNC): Remove macro.
27458         [TEST_IFUNC]: Remove conditionals.
27460         * string/test-strchr.c [!WIDE] (L): New macro.
27461         [WIDE] (L): Likewise.
27462         (check1): Use CHAR instead of char.  Use L on string and character
27463         constants.
27465 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27467         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27468         tests.
27469         * sysdeps/powerpc/bits/atomic.h
27470         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27471         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27472         (atomic_exchange_and_add_acq): Likewise.
27473         (atomic_exchange_and_add_rel): Likewise.
27474         * sysdeps/powerpc/powerpc32/bits/atomic.h
27475         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27476         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27477         * sysdeps/powerpc/powerpc64/bits/atomic.h
27478         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27479         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27481 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27483         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27484         Change synchronization of __sched_fifo_min_prio and
27485         __sched_fifo_max_prio.
27486         * nptl/pthread_mutexattr_getprioceiling.c
27487         (pthread_mutexattr_getprioceiling): Likewise.
27488         * nptl/pthread_mutexattr_setprioceiling.c
27489         (pthread_mutexattr_setprioceiling): Likewise.
27490         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27491         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27492         Likewise.
27494 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27496         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27497         void.
27499 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27501         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27502         third argument const.
27504 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27506         fnmatch: work around GCC compiler warning bug with uninit var
27507         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27508         This works around a bug with x86-64 GCC 4.9.2 and earlier
27509         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27510         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27511         used uninitialized in this function [-Wmaybe-uninitialized]".
27513 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27515         * posix/bug-regex31.c (main): Return RES not 0.
27517 2014-11-25  Anton Blanchard <anton@samba.org>
27519         * sysdeps/powerpc/bits/atomic.h
27520         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27522 2014-11-24  Sterling Augustine  <saugustine@google.com>
27524         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27526 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27528         [BZ #17608]
27529         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27531 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27533         [BZ #17633]
27534         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27535         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27536         variable.
27537         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27538         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27540 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27542         * string/strncpy.c (strncpy): Improve performance by using memset.
27544 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27546         * string/strcpy.c (strcpy):
27547         Improve performance by using strlen and memcpy.
27549 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27551         * string/strcoll_l.c (get_next_seq): __always_inline.
27552         * string/strcoll_l.c (do_compare): __always_inline.
27554 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27556         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27557         defined.
27558         * include/mqueue.h: Likewise.
27559         * include/stdlib.h: Likewise.
27561         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27562         (get_null_defines): Adjust.
27563         * sunrpc/Makefile: Adjust comment.
27564         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27565         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27566         (CFLAGS-interp.c): Likewise.
27567         (CFLAGS-ldconfig.c): Likewise.
27568         (CPPFLAGS-.os): Likewise.
27569         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27570         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27571         * extra-modules.mk (extra-modules.mk): Likewise.
27572         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
27573         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
27574         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
27575         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
27576         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
27577         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
27578         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
27579         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
27580         * iconvdata/Makefile (CPPFLAGS): Likewise.
27581         (cpp-srcs-left): Add libof for all iconvdata routines.
27582         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
27583         * include/assert.h: Likewise.
27584         * include/ctype.h: Likewise.
27585         * include/errno.h: Likewise.
27586         * include/libc-symbols.h: Likewise.
27587         * include/math.h: Likewise.
27588         * include/netdb.h: Likewise.
27589         * include/resolv.h: Likewise.
27590         * include/stdio.h: Likewise.
27591         * include/stdlib.h: Likewise.
27592         * include/string.h: Likewise.
27593         * include/sys/stat.h: Likewise.
27594         * include/wctype.h: Likewise.
27595         * intl/l10nflist.c: Likewise.
27596         * libidn/idn-stub.c: Likewise.
27597         * libio/libioP.h: Likewise.
27598         * nptl/libc_multiple_threads.c: Likewise.
27599         * nptl/pthreadP.h: Likewise.
27600         * posix/regex_internal.h: Likewise.
27601         * resolv/res_hconf.c: Likewise.
27602         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
27603         * sysdeps/arm/memmove.S: Likewise.
27604         * sysdeps/arm/sysdep.h: Likewise.
27605         * sysdeps/generic/_itoa.h: Likewise.
27606         * sysdeps/generic/symbol-hacks.h: Likewise.
27607         * sysdeps/gnu/errlist.awk: Likewise.
27608         * sysdeps/gnu/errlist.c: Likewise.
27609         * sysdeps/i386/i586/memcpy.S: Likewise.
27610         * sysdeps/i386/i586/memset.S: Likewise.
27611         * sysdeps/i386/i686/memcpy.S: Likewise.
27612         * sysdeps/i386/i686/memmove.S: Likewise.
27613         * sysdeps/i386/i686/mempcpy.S: Likewise.
27614         * sysdeps/i386/i686/memset.S: Likewise.
27615         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27616         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27617         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
27618         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
27619         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27620         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27621         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
27622         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27623         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27624         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27625         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27626         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27627         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27628         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27629         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27630         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27631         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
27632         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
27633         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
27634         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27635         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27636         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27637         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27638         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27639         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27640         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27641         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
27642         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27643         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
27644         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27645         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27646         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27647         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27648         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27649         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27650         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27651         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27652         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27653         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27654         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27655         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27656         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27657         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27658         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27659         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27660         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27661         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
27662         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
27663         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27664         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27665         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27666         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
27667         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
27668         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27669         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27670         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
27671         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27672         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
27673         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
27674         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27675         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27676         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27677         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
27678         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27679         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27680         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
27681         * sysdeps/posix/closedir.c: Likewise.
27682         * sysdeps/posix/opendir.c: Likewise.
27683         * sysdeps/posix/readdir.c: Likewise.
27684         * sysdeps/posix/rewinddir.c: Likewise.
27685         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
27686         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
27687         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27688         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27689         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27690         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
27691         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
27692         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
27693         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
27694         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
27695         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
27696         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
27697         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
27698         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
27699         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
27700         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
27701         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
27702         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
27703         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
27704         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
27705         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
27706         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
27707         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
27708         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
27709         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
27710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
27711         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
27712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
27713         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
27714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
27715         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
27716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
27717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
27718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
27719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
27720         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
27721         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27722         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27723         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
27724         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
27725         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
27726         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
27727         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
27728         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
27729         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
27730         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
27731         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
27732         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
27733         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
27734         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
27735         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
27736         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
27737         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27738         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
27739         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
27740         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
27741         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
27742         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
27743         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
27744         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
27745         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
27746         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
27747         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27748         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
27749         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
27750         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
27751         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
27752         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
27753         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
27754         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
27755         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
27756         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
27757         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27758         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27759         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27760         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27761         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27762         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27763         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27764         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27765         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27766         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27767         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27768         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27769         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27770         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27771         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27772         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27773         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27774         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27775         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27776         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27777         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27778         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27779         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27780         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27781         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27782         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27783         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27784         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27785         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27786         * sysdeps/unix/alpha/sysdep.S: Likewise.
27787         * sysdeps/unix/alpha/sysdep.h: Likewise.
27788         * sysdeps/unix/make-syscalls.sh: Likewise.
27789         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27790         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27791         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27792         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27793         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27794         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27795         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27796         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27797         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27798         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27799         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27800         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27801         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27802         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27803         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27804         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27805         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27806         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27807         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27808         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27809         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27810         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27811         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27812         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27813         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27814         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27815         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27818         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27819         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27821         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27822         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27823         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27824         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27825         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27826         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27827         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27828         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27829         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27830         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27831         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27832         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27833         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27834         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27835         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27836         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27837         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27838         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27839         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27840         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27841         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27842         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27843         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27844         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27845         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27847         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27848         * sysdeps/x86_64/memcpy.S: Likewise.
27849         * sysdeps/x86_64/memmove.c: Likewise.
27850         * sysdeps/x86_64/memset.S: Likewise.
27851         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27852         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27853         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27854         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27855         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27856         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27857         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27858         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27859         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27860         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27861         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27862         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27863         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27864         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27866         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27867         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27868         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27869         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27870         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27871         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27872         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27873         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27874         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27875         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27876         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27877         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27878         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27879         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27880         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27881         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27882         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27883         * sysdeps/x86_64/strcmp.S: Likewise.
27885         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27887         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27888         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27889         * elf/rtld-Rules: Likewise.
27890         * elf/setup-vdso.h: Likewise.
27891         * include/assert.h: Likewise.
27892         * include/bits/stdlib-float.h: Likewise.
27893         * include/errno.h: Likewise.
27894         * include/sys/stat.h: Likewise.
27895         * include/unistd.h: Likewise.
27896         * sysdeps/aarch64/setjmp.S: Likewise.
27897         * sysdeps/alpha/setjmp.S: Likewise.
27898         * sysdeps/arm/__longjmp.S: Likewise.
27899         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27900         * sysdeps/arm/setjmp.S: Likewise.
27901         * sysdeps/arm/sysdep.h: Likewise.
27902         * sysdeps/generic/_itoa.h: Likewise.
27903         * sysdeps/generic/dl-sysdep.h: Likewise.
27904         * sysdeps/generic/ldsodefs.h: Likewise.
27905         * sysdeps/i386/dl-tls.h: Likewise.
27906         * sysdeps/i386/setjmp.S: Likewise.
27907         * sysdeps/m68k/setjmp.c: Likewise.
27908         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27909         * sysdeps/mach/hurd/opendir.c: Likewise.
27910         * sysdeps/posix/getcwd.c: Likewise.
27911         * sysdeps/posix/opendir.c: Likewise.
27912         * sysdeps/posix/profil.c: Likewise.
27913         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27914         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27915         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27916         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27917         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27918         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27919         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27920         * sysdeps/s390/dl-tls.h: Likewise.
27921         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27922         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27923         * sysdeps/sh/sh3/setjmp.S: Likewise.
27924         * sysdeps/sh/sh4/setjmp.S: Likewise.
27925         * sysdeps/unix/alpha/sysdep.h: Likewise.
27926         * sysdeps/unix/arm/sysdep.S: Likewise.
27927         * sysdeps/unix/i386/sysdep.S: Likewise.
27928         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27929         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27930         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27931         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27932         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27933         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27934         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27935         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27936         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27937         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27938         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27939         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27940         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27943         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27944         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27946         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27947         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27948         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27949         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27950         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27951         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27952         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27953         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27955         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27956         * sysdeps/x86_64/setjmp.S: Likewise.
27958         * include/math.h: Use IS_IN instead of IS_IN_libm.
27959         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27960         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27961         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27962         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27963         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27964         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27965         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27966         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27967         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27968         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27969         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27970         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27971         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27972         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27973         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27974         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27975         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27976         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27977         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27978         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27979         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27980         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27981         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27982         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27983         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27984         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27985         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27986         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27987         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27988         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27989         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27990         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27991         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27993         Likewise.
27994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27995         Likewise.
27996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27997         Likewise.
27998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27999         Likewise.
28000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28001         Likewise.
28002         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28003         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28004         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28005         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28006         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28007         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28013         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28014         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28015         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28016         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28017         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28018         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28019         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28020         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28021         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28022         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28023         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28024         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28025         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28026         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28028         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28030         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28031         * nptl/pthreadP.h: Likewise.
28032         * nptl_db/structs.def: Likewise.
28033         * sysdeps/arm/sysdep.h: Likewise.
28034         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28035         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28036         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28037         * sysdeps/unix/alpha/sysdep.h: Likewise.
28038         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28039         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28040         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28041         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28042         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28043         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28044         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28045         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28046         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28047         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28048         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28049         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28050         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28051         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28054         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28055         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28056         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28057         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28058         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28059         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28060         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28061         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28062         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28063         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28065         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28066         * nptl/pthreadP.h: Likewise.
28067         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28068         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28069         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28070         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28071         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28072         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28073         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28074         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28075         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28076         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28077         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28078         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28080         Likewise.
28081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28082         Likewise.
28083         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28084         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28085         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28086         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28087         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28088         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28089         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28090         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28092         * dlfcn/dladdr.c: Use IS_IN.
28093         * dlfcn/dladdr1.c: Likewise.
28094         * dlfcn/dlclose.c: Likewise.
28095         * dlfcn/dlerror.c: Likewise.
28096         * dlfcn/dlinfo.c: Likewise.
28097         * dlfcn/dlmopen.c: Likewise.
28098         * dlfcn/dlopen.c: Likewise.
28099         * dlfcn/dlsym.c: Likewise.
28100         * dlfcn/dlvsym.c: Likewise.
28102         * include/ifaddrs.h: Use IS_IN.
28103         * inet/check_pf.c: Likewise.
28104         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28105         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28107         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28108         IS_IN_ldconfig.
28109         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28110         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28112         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28113         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28114         IS_IN (libc).
28116         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28118         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28119         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28120         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28121         * include/libc-symbols.h (IS_IN_LIB): New macro.
28122         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28123         * include/netdb.h: Likewise.
28124         * include/stap-probe.h: Remove all uses of IN_LIB.
28126         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28127         instead of IN_MODULE.
28128         * include/libc-symbols.h (IN_MODULE): Define using
28129         MODULE_NAME.
28130         (PASTE_NAME, PASTE_NAME1): New macros.
28131         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28132         of IN_LIB.
28133         (STAP_PROBE_ASM): Likewise.
28135 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28137         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28138         __mach_init in dlopened libc.
28140 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28142         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28143         * sysdeps/arm/preconfigure: Regenerate.
28145 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28147         * nptl/pthread_create.c (__pthread_create_2_1): Set
28148         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28149         when copying values from IATTR into PD.
28151 2014-11-21  Will Newton  <will.newton@linaro.org>
28152             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28154         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28155         Refactor inline-asm.  Also add comment.
28157         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28158         ElfW macro instead of hardcoded Elf64 types.
28159         (la_aarch64_gnu_pltenter): Likewise.
28160         * sysdeps/aarch64/dl-machine.h
28161         (elf_machine_runtime_setup): Use ElfW(Addr).
28163         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28164         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28165         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28166         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28167         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28168         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28169         (R_AARCH64_TLS_DTPMOD): This.
28170         (R_AARCH64_TLS_DTPREL64): Rename to ...
28171         (R_AARCH64_TLS_DTPREL): This.
28172         (R_AARCH64_TLS_TPREL64): Rename to ...
28173         (R_AARCH64_TLS_TPREL): This.
28174         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28175         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28176         R_AARCH64_TLS_TPREL64.
28177         (elf_machine_rela): Likewise.
28179 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28181         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28182         by setting it to 0.  64b atomics are not supported currently.
28184 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28186         [BZ #16469]
28187         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28188         search domain names.
28190 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28192         [BZ #16469]
28193         * NEWS: Update.
28194         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28195         trailing dot.
28196         * posix/tst-getaddrinfo5.c: New.
28197         * posix/Makefile (tests): Add it.
28199 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28201         [BZ #14498]
28202         * NEWS: Fixed.
28203         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28204         after parsing line but before break_if_match.
28205         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28206         if there is a protocol mismatch.
28208 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28210         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28211         because the potential race is on the user-supplied stream.
28213 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28215         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28216         string literal if not passed a buffer.
28217         * manual/job.texi (ctermid): Update reasoning, note deviation
28218         from posix, suggest mtasurace when not passed a buffer, for
28219         future non-preliminary safety notes.
28221 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28223         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28224         of not passing it a buffer.
28225         Reported by Peng Haitao.
28227 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28229         * manual/Makefile ($(objpfx)stamp-summary): Require
28230         check-safety.sh to pass.
28231         * manual/check-safety.sh: Wish for verification that every
28232         @deftypefn and @deftypefun is followed by a @safety remark.
28234 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28236         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28238         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28239         PTHREAD_CANCEL_ASYNCHRONOUS.
28240         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28241         send SIGCANCEL.
28243         * nptl/default-sched.h: New file.
28244         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28245         * nptl/pthread_create.c: Include it.
28246         (__pthread_create_2_1): Use collect_default_sched instead of making
28247         Linux syscalls here directly.
28249 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28251         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28252         __pthread_once): Use C11 atomics.
28254 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28256         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28258 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28260         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28261         atomic_thread_fence_acquire, atomic_thread_fence_release,
28262         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28263         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28264         atomic_compare_exchange_weak_relaxed,
28265         atomic_compare_exchange_weak_acquire,
28266         atomic_compare_exchange_weak_release,
28267         atomic_exchange_acquire, atomic_exchange_release,
28268         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28269         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28270         atomic_fetch_and_acquire,
28271         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28273 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28275         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28276         USE_ATOMIC_COMPILER_BUILTINS): Define.
28277         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28278         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28279         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28280         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28281         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28282         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28283         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28284         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28285         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28286         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28287         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28289         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28291         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28292         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28293         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28294         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28295         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28296         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28297         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28298         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28299         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28300         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28301         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28302         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28303         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28305         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28306         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28307         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28308         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28309         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28310         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28311         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28312         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28313         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28314         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28315         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28316         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28318 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28320         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28321         the sched_priority value here.  It was already checked when the user
28322         called pthread_attr_setschedparam.
28324         * nptl/tst-bad-schedattr.c: New file.
28325         * nptl/Makefile (tests): Add it.
28327 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28328             Florian Weimer  <fweimer@redhat.com>
28329             Joseph Myers  <joseph@codesourcery.com>
28330             Adam Conrad  <adconrad@0c3.net>
28331             Andreas Schwab  <schwab@suse.de>
28332             Brooks  <bmoses@google.com>
28334         [BZ #17625]
28335         * wordexp-test.c (__dso_handle): Add prototype.
28336         (__register_atfork): Likewise.
28337         (__app_register_atfork): New function.
28338         (registered_forks): New global.
28339         (register_fork): New function.
28340         (test_case): Add 3 new tests for WRDE_CMDSUB.
28341         (main): Call __app_register_atfork.
28342         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28343         fork count is non-zero fail the test.
28344         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28345         is set.
28346         (parse_dollars): Remove check for WRDE_NOCMD.
28347         (parse_dquote): Likewise.
28349 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28351         * Makeconfig (built-modules): List non-library modules to be
28352         built.
28353         (module-cppflags): Include libc-modules.h for
28354         everything except shlib-versions.v.i.
28355         (CPPFLAGS): Use it.
28356         (before-compile): Add libc-modules.h.
28357         ($(common-objpfx)libc-modules.h,
28358         $(common-objpfx)libc-modules.stmp): New targets.
28359         (common-generated): Add libc-modules.h and libc-modules.stmp.
28360         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28361         * include/libc-symbols.h: Don't include libc-modules.h.
28362         * include/libc-modules.h: Remove file.
28363         * scripts/gen-libc-modules.awk: New script to generate
28364         libc-modules.h.
28365         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28366         Depend on libc-modules.stmp.
28368         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28370         * Makeconfig (in-module): Get value of libof set for the
28371         translation unit.
28372         (CPPFLAGS): Use $(in-module).
28373         * Makerules: Don't suffix routine names for nonlib.
28374         * include/libc-modules.h: New file.
28375         * include/libc-symbols.h: Include libc-modules.h
28376         (IS_IN): New macro to replace IS_IN_* macros.
28377         * elf/Makefile: Set libof-* for each routine.
28378         * elf/rtld-Rules: Likewise.
28379         * extra-modules.mk: Likewise.
28380         * iconv/Makefile: Likewise.
28381         * iconvdata/Makefile: Likewise.
28382         * locale/Makefile: Likewise.
28383         * malloc/Makefile: Likewise.
28384         * nss/Makefile: Likewise.
28385         * sysdeps/gnu/Makefile: Likewise.
28386         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28387         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28388         * sysdeps/s390/s390-64/Makefile: Likewise.
28389         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28390         CPPFLAGS for nscd instead of nonlib.
28392 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28394         * nptl/createthread.c: New file.
28396         * nptl/createthread.c: Moved ...
28397         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28399         * nptl/createthread.c: Add proper top-line comment.
28400         (do_clone): Folded into ...
28401         (create_thread): ... here.  Take new arguments STOPPED_START and
28402         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28403         increment __nptl_threads, do event-reporting logic, do
28404         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28405         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28406         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28407         just send SIGCANCEL.
28408         * nptl/pthread_create.c: Forward-declare create_thread before
28409         including createthread.c.
28410         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28411         declaration, and new macro START_THREAD_SELF to replace argument.
28412         Remove return statement.
28413         (report_thread_creation): New function.
28414         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28415         synchronization logic, and __nptl_nthreads increment here, around
28416         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28417         PD->parent_cancelhandling here, before create_thread.  When
28418         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28419         __deallocate_stack, and ENOMEM translation here.
28421 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28423         [BZ #17616]
28424         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28425         (mptwo): Rename to __mptwo.
28426         (__inv): Use __mptwo instead of mptwo.
28427         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28428         (mptwo): Rename to __mptwo.
28429         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28430         of mpone and __mptwo instead of mptwo.
28431         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28432         instead of mpone.
28433         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28434         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28435         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28436         of mpone and __mptwo instead of mptwo.
28437         (__mpranred): Use __mpone instead of mpone.
28438         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28439         variable.
28440         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28441         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28442         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28443         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28444         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28445         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28446         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28447         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28448         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28449         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28450         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28451         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28452         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28453         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28454         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28455         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28456         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28457         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28458         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28460 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28462         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28463         replace BSD Handler xref with BSD Signal Handling.
28465 2014-11-17  Richard Henderson  <rth@redhat.com>
28467         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28468         (_FP_PACK_RAW_2): Remove.
28469         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28470         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28471         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28472         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28473         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28474         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28475         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28476         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28477         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28478         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28479         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28480         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28481         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28482         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28483         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28484         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28486 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28488         * signal/signal.h [__USE_MISC]
28489         (struct sigvec): Remove type.
28490         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28491         (sigvec): Remove declaration.
28492         * sysdeps/posix/sigvec.c: Moved ...
28493         * signal/sigvec.c: ... here, replacing old file.
28494         (struct sigvec): New type, copied from old signal.h definition.
28495         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28496         (__sigvec): Convert definition to prototype.
28497         (sigvec): Replace weak_alias with compat_symbol.
28498         * signal/Versions (libc: GLIBC_2.21): New version set.
28499         * include/signal.h: Remove __sigvec declaration.
28500         * sysdeps/unix/bsd/sigvec.c: Remove file.
28501         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28502         * manual/signal.texi (BSD Handler): Remove subsection.
28503         Move siginterrupt up to ...
28504         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28505         (Blocking in BSD): Fold subsection into its parent.
28506         * NEWS: Mention sigvec removal.
28508 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28510         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28511         (DLA_FMS): Make definition conditional only on [__FMA4__].
28512         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28513         definition.
28515         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28516         Make definition conditional only on [PROF].
28517         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28518         definition.
28519         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28520         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28522         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28523         !__GNUC__].
28524         * include/signal.h (__sigpause): Move declaration above call to
28525         libc_hidden_proto.
28526         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28527         variable.
28528         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28529         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28531 2014-11-14  David S. Miller  <davem@davemloft.net>
28533         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28534         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28536 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28538         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28539         * configure: Regenerated.
28540         * manual/install.texi (Tools for Compilation): Document a
28541         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28542         compiler verified to work.
28543         * INSTALL: Regenerated.
28545         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28546         redeclare with asm name.
28547         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28548         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28549         including <string.h>.
28550         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28551         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28552         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28553         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28554         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28555         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28556         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28558 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28560         * stdlib/strtol.c (__strtol): Use prototype definition.
28562         [BZ #17594]
28563         * stdlib/strtol.c (SYM__): New macro.
28564         (SYM__1): Likewise.
28565         (__strtol): Likewise.
28566         (strtol): Rename to __strtol and define as weak alias of
28567         __strtol.  Use libc_hidden_weak.
28569 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28571         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28572         Use numbered labels in inline assembly.
28574 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28576         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
28577         Add setjmp LIBC_PROBE.
28578         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
28579         Likewise.
28580         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
28581         Add longjmp, longjmp_target LIBC_PROBE.
28582         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
28583         Likewise.
28585 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28587         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28588         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
28589         to get rid of unused variable warning.
28591 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28593         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
28594         Check for unwind_backtrace ==  NULL only in SHARED case.
28595         (__backchain_backtrace): Compile only in SHARED case.
28596         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
28597         Likewise.
28598         (__backchain_backtrace): Declare as static.
28600 2014-11-12  Roland McGrath  <roland@hack.frob.com>
28602         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
28603         (__libc_multiple_threads_ptr): Variable moved ...
28604         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
28606 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
28608         * conform/GlibcConform.pm: New file.
28609         * conform/conformtest.pl: Use GlibcConform module.
28610         * conform/linknamespace.pl: New file.
28611         * conform/list-header-symbols.pl: Likewise.
28612         * conform/Makefile (linknamespace-symlists-base): New variable.
28613         (linknamespace-symlists-tests): Likewise.
28614         (linknamespace-header-base): Likewise.
28615         (linknamespace-header-tests): Likewise.
28616         (tests-special): Add new tests.
28617         ($(linknamespace-symlists-tests)): New rule.
28618         (linknamespace-libs): New variable.
28619         ($(objpfx)symlist-stdlibs): New rule.
28620         ($(linknamespace-header-tests)): Likewise.
28621         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
28622         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
28623         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
28624         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
28625         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
28626         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
28627         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
28628         (test-xfail-ISO/math.h/linknamespace): Likewise.
28629         (test-xfail-ISO/signal.h/linknamespace): Likewise.
28630         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
28631         (test-xfail-ISO/time.h/linknamespace): Likewise.
28632         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28633         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
28634         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28635         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28636         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28637         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28638         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28639         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28640         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28641         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28642         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28643         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28644         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28645         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
28646         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
28647         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28648         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
28649         (test-xfail-XPG3/search.h/linknamespace): Likewise.
28650         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
28651         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28652         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
28653         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28654         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28655         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
28656         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
28657         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28658         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
28659         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
28660         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28661         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
28662         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28663         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28664         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28665         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28666         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
28667         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
28668         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
28669         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
28670         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28671         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
28672         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28673         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
28674         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
28675         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
28676         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28677         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
28678         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
28679         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28680         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28681         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
28682         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28683         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28684         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
28685         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
28686         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28687         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28688         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28689         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
28690         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
28691         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28692         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28693         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28694         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
28695         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28696         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28697         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28698         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
28699         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28700         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28701         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
28702         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28703         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28704         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28705         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28706         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28707         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28708         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
28709         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
28710         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
28711         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
28712         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28713         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
28714         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28715         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
28716         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
28717         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
28718         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28719         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28720         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28721         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
28722         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
28723         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
28724         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28725         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
28726         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28727         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28728         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
28729         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
28730         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28731         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28732         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28733         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28734         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28735         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28736         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28737         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28738         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28739         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
28740         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
28741         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28742         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28743         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
28744         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28745         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28746         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28747         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28748         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28749         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28750         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28751         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
28752         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28753         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28754         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28755         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28756         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28757         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28758         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28759         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28760         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28761         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28762         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28763         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28764         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28765         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28766         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28767         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28768         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28769         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28770         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28771         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28772         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28773         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28774         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28775         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28776         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28777         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28778         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28779         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28780         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28781         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28783         [BZ #17589]
28784         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28785         of fgets_unlocked.
28787         [BZ #17585]
28788         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28789         (memmem): Rename to __memmem and define as weak alias of
28790         __memmem.  Use libc_hidden_weak.
28791         (__memmem): Use libc_hidden_def.
28792         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28793         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28794         memmem.
28796         [BZ #17582]
28797         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28798         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28799         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28800         and define as weak alias of __fgets_unlocked.  Use
28801         libc_hidden_weak.
28802         (__fgets_unlocked): Use libc_hidden_def.
28803         * include/stdio.h (__fgets_unlocked): Declare.  Use
28804         libc_hidden_proto.
28805         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28806         __fgets_unlocked instead of fgets_unlocked.
28807         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28808         (GET_NPROCS_CONF_PARSER): Likewise.
28809         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28810         (GET_NPROCS_CONF_PARSER): Likewise.
28812         [BZ #17574]
28813         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28814         weak alias of __wmemset.  Use libc_hidden_weak.
28815         (__wmemset): Use libc_hidden_def.
28816         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28817         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28818         of wmemset.
28820         [BZ #17573]
28821         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28822         with asm name __mempcpy.
28823         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28825         [BZ #17572]
28826         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28827         and define as weak alias of __rawmemchr.
28828         (__rawmemchr): Do not define as strong alias of rawmemchr.
28830         [BZ #17571]
28831         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28832         alias of __qsort_r.
28833         (qsort): Call __qsort_r instead of qsort_r.
28834         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28835         (__qsort_r): Declare.  Call libc_hidden_proto.
28836         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28837         instead of qsort_r.
28838         * nscd/gai.c (__qsort_r): Define to qsort_r.
28839         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28840         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28841         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28843         [BZ #17570]
28844         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28845         define as weak alias of __malloc_info.
28847         [BZ #17584]
28848         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28849         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28850         (__rewinddir): Use libc_hidden_def.
28851         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28852         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28853         (__rewinddir): Use libc_hidden_def.
28854         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28855         weak alias of __rewinddir.  Don't use libc_hidden_def.
28856         (__rewinddir): Use libc_hidden_def.
28857         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28858         (__rewinddir): Use libc_hidden_proto.
28859         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28860         rewinddir.
28861         (__getcwd): Use __rewinddir instead of rewinddir.
28863         [BZ #17583]
28864         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28865         alias of __fileno.  Use libc_hidden_weak.
28866         (__fileno): Use libc_hidden_def.
28867         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28868         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28869         alias of __ftello.
28870         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28871         __ftello.
28872         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28873         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28874         libc_hidden_def.
28875         (fread_unlocked): Don't use libc_hidden_ver.
28876         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28877         and define as weak alias of __fread_unlocked.  Don't use
28878         libc_hidden_def.
28879         (__fread_unlocked): Use libc_hidden_def.
28880         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28881         (ftello): Don't use libc_hidden_proto.
28882         (__ftello): Declare.  Use libc_hidden_proto.
28883         (fread_unlocked): Don't use libc_hidden_proto.
28884         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28885         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28886         and __ftello instead of fileno, fread_unlocked and ftello.
28888 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28890         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28891         GOT12.
28892         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28893         Likewise.
28894         (_dl_start_user): Likewise.
28895         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28897 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28898             Siddhesh Poyarekar  <siddhesh@redhat.com>
28900         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28901         Move argv and envp down instead of moving argc up.
28902         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28904 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28906         [BZ #17506]
28907         * test-skeleton.c (main): Return successful if one of
28908         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28909         * string/tst-strcoll-overflow.c: Define expected status.
28911 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28913         [BZ #17475]
28914         * locale/iso-639.def: Define Bhili and Tulu language codes.
28916 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28918         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28920 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28922         [BZ #17555]
28923         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28925 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28927         * configure.ac: Updated check of minimal required version to
28928         2.22.
28929         * manual/install.texi (Tools for Compilation): Updated version
28930         number.
28931         * configure: Regenerated.
28932         * INSTALL: Likewise.
28934 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28936         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28937         __tls_get_addr.
28939 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28941         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28942         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28943         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28944         libc_hidden_weak.
28945         (waitpid): Define as alias of __waitpid.
28946         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28947         __waitpid.
28948         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28949         libc_hidden_weak.
28950         (waitpid): Define as alias of __waitpid.
28951         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28952         __libc_waitpid alias.
28953         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28954         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28955         Likewise.
28956         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28957         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28958         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28959         alias.
28960         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28961         __waitpid.
28962         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28963         libc_hidden_weak.
28964         (waitpid): Define as alias of __waitpid.
28966 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28968         * manual/llio.texi: Add comment that write safety has been
28969         fixed in Linux.
28971         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28972         (localplt-build-dso): Add elf/ld.so.
28973         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28974         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28975         and free for ld.so.
28976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28977         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28979         Likewise.
28980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28981         Likewise.
28982         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28983         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28984         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28985         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28986         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28987         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28988         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28989         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28990         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28991         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28992         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28994 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28996         [BZ #14132]
28997         * include/libc-symbols.h (INTUSE): Remove macro.
28998         (INTDEF): Likewise.
28999         (INTVARDEF): Likewise.
29000         (_INTVARDEF): Likewise.
29001         (INTDEF2): Likewise.
29002         (INTVARDEF2): Likewise.
29003         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29004         rtld_hidden_def instead of INTVARDEF.
29005         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29006         (_dl_starting_up_internal): Remove declaration.
29007         (_dl_starting_up): Use rtld_hidden_proto.
29008         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29009         declaration.
29010         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29011         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29012         _dl_starting_up.
29013         * elf/dl-writev.h (_dl_writev): Likewise.
29014         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29015         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29016         _dl_starting_up_internal.
29018 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29020         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29021         test-skeleton.c.
29023 2014-11-05  Will Newton  <will.newton@linaro.org>
29025         * benchtests/Makefile: (bench-malloc): Add malloc thread
29026         scalability benchmark.
29027         * benchtests/bench-malloc-threads.c: New file.
29029 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29031         * sysdeps/aarch64/strchrnul.S: New file.
29033 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29035         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29036         definition.
29037         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29038         Likwise.
29039         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29040         Likewise.
29041         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29042         Likewise.
29043         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29044         Likewise.
29045         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29046         Likewise.
29048 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29050         * catgets/test-gencat.c: Use test-skeleton.c.
29051         * catgets/tst-catgets.c: Likewise.
29052         * csu/tst-empty.c: Likewise.
29053         * elf/tst-audit2.c: Likewise.
29054         * elf/tst-global1.c: Likewise.
29055         * elf/tst-pathopt.c: Likewise.
29056         * elf/tst-piemod1.c: Likewise.
29057         * elf/tst-tls10.c: Likewise.
29058         * elf/tst-tls11.c: Likewise.
29059         * elf/tst-tls12.c: Likewise.
29060         * gnulib/tst-gcc.c: Likewise.
29061         * iconvdata/tst-e2big.c: Likewise.
29062         * iconvdata/tst-loading.c: Likewise.
29063         * iconv/tst-iconv1.c: Likewise.
29064         * iconv/tst-iconv2.c: Likewise.
29065         * inet/test-inet6_opt.c: Likewise.
29066         * inet/tst-gethnm.c: Likewise.
29067         * inet/tst-network.c: Likewise.
29068         * inet/tst-ntoa.c: Likewise.
29069         * intl/tst-codeset.c: Likewise.
29070         * intl/tst-gettext2.c: Likewise.
29071         * intl/tst-gettext3.c: Likewise.
29072         * intl/tst-ngettext.c: Likewise.
29073         * intl/tst-translit.c: Likewise.
29074         * io/test-stat.c: Likewise.
29075         * libio/test-fmemopen.c: Likewise.
29076         * libio/tst-freopen.c: Likewise.
29077         * libio/tst-sscanf.c: Likewise.
29078         * libio/tst-ungetwc1.c: Likewise.
29079         * libio/tst-ungetwc2.c: Likewise.
29080         * libio/tst-widetext.c: Likewise.
29081         * localedata/tst-ctype.c: Likewise.
29082         * localedata/tst-digits.c: Likewise.
29083         * localedata/tst-leaks.c: Likewise.
29084         * localedata/tst-mbswcs1.c: Likewise.
29085         * localedata/tst-mbswcs2.c: Likewise.
29086         * localedata/tst-mbswcs3.c: Likewise.
29087         * localedata/tst-mbswcs4.c: Likewise.
29088         * localedata/tst-mbswcs5.c: Likewise.
29089         * localedata/tst-setlocale.c: Likewise.
29090         * localedata/tst-trans.c: Likewise.
29091         * localedata/tst-wctype.c: Likewise.
29092         * localedata/tst-xlocale1.c: Likewise.
29093         * login/tst-grantpt.c: Likewise.
29094         * malloc/tst-calloc.c: Likewise.
29095         * malloc/tst-malloc.c: Likewise.
29096         * malloc/tst-mallocstate.c: Likewise.
29097         * malloc/tst-mcheck.c: Likewise.
29098         * malloc/tst-mtrace.c: Likewise.
29099         * malloc/tst-obstack.c: Likewise.
29100         * math/atest-exp2.c: Likewise.
29101         * math/atest-exp.c: Likewise.
29102         * math/atest-sincos.c: Likewise.
29103         * math/test-matherr.c: Likewise.
29104         * math/test-misc.c: Likewise.
29105         * math/test-powl.c: Likewise.
29106         * math/tst-definitions.c: Likewise.
29107         * misc/tst-dirname.c: Likewise.
29108         * misc/tst-efgcvt.c: Likewise.
29109         * misc/tst-fdset.c: Likewise.
29110         * misc/tst-hsearch.c: Likewise.
29111         * misc/tst-mntent2.c: Likewise.
29112         * nptl/tst-sem7.c: Likewise.
29113         * nptl/tst-sem8.c: Likewise.
29114         * nptl/tst-sem9.c: Likewise.
29115         * nss/test-netdb.c: Likewise.
29116         * posix/tst-fnmatch.c: Likewise.
29117         * posix/tst-getlogin.c: Likewise.
29118         * posix/tst-gnuglob.c: Likewise.
29119         * posix/tst-mmap.c: Likewise.
29120         * pwd/tst-getpw.c: Likewise.
29121         * resolv/tst-inet_ntop.c: Likewise.
29122         * rt/tst-timer.c: Likewise.
29123         * stdio-common/test-fseek.c: Likewise.
29124         * stdio-common/test-popen.c: Likewise.
29125         * stdio-common/test-vfprintf.c: Likewise.
29126         * stdio-common/tst-cookie.c: Likewise.
29127         * stdio-common/tst-fileno.c: Likewise.
29128         * stdio-common/tst-gets.c: Likewise.
29129         * stdio-common/tst-obprintf.c: Likewise.
29130         * stdio-common/tst-perror.c: Likewise.
29131         * stdio-common/tst-sprintf2.c: Likewise.
29132         * stdio-common/tst-sprintf3.c: Likewise.
29133         * stdio-common/tst-sprintf.c: Likewise.
29134         * stdio-common/tst-swprintf.c: Likewise.
29135         * stdio-common/tst-tmpnam.c: Likewise.
29136         * stdio-common/tst-unbputc.c: Likewise.
29137         * stdio-common/tst-wc-printf.c: Likewise.
29138         * stdlib/tst-environ.c: Likewise.
29139         * stdlib/tst-fmtmsg.c: Likewise.
29140         * stdlib/tst-limits.c: Likewise.
29141         * stdlib/tst-rand48-2.c: Likewise.
29142         * stdlib/tst-rand48.c: Likewise.
29143         * stdlib/tst-random2.c: Likewise.
29144         * stdlib/tst-random.c: Likewise.
29145         * stdlib/tst-strtol.c: Likewise.
29146         * stdlib/tst-strtoll.c: Likewise.
29147         * stdlib/tst-tls-atexit.c: Likewise.
29148         * stdlib/tst-xpg-basename.c: Likewise.
29149         * string/test-ffs.c: Likewise.
29150         * string/tst-bswap.c: Likewise.
29151         * string/tst-inlcall.c: Likewise.
29152         * string/tst-strtok.c: Likewise.
29153         * string/tst-strxfrm.c: Likewise.
29154         * sysdeps/x86_64/tst-audit10.c: Likewise.
29155         * sysdeps/x86_64/tst-audit3.c: Likewise.
29156         * sysdeps/x86_64/tst-audit4.c: Likewise.
29157         * sysdeps/x86_64/tst-audit5.c: Likewise.
29158         * time/tst-ftime_l.c: Likewise.
29159         * time/tst-getdate.c: Likewise.
29160         * time/tst-mktime3.c: Likewise.
29161         * time/tst-mktime.c: Likewise.
29162         * time/tst-posixtz.c: Likewise.
29163         * time/tst-strptime2.c: Likewise.
29164         * time/tst-strptime3.c: Likewise.
29165         * wcsmbs/tst-btowc.c: Likewise.
29166         * wcsmbs/tst-mbrtowc.c: Likewise.
29167         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29168         * wcsmbs/tst-wchar-h.c: Likewise.
29169         * wcsmbs/tst-wcpncpy.c: Likewise.
29170         * wcsmbs/tst-wcrtomb.c: Likewise.
29171         * wcsmbs/tst-wcsnlen.c: Likewise.
29172         * wcsmbs/tst-wcstof.c: Likewise.
29174 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29176         [BZ #14132]
29177         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29178         INTDEF.
29179         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29180         declaration.
29181         (_dl_mcount): Use rtld_hidden_proto.
29182         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29183         _dl_mcount.
29184         * elf/rtld.c (_rtld_global_ro): Likewise.
29186         [BZ #14132]
29187         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29188         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29189         of _dl_init_internal.
29190         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29191         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29192         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29193         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29194         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29195         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29196         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29197         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29198         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29199         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29200         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29201         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29202         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29203         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29204         * sysdeps/tile/dl-start.S (_start): Likewise.
29205         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29206         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29208         [BZ #14132]
29209         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29210         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29211         (rtld_progname): Make macro definition unconditional.
29212         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29213         INTDEF.
29214         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29215         (dl_main): Likewise.
29216         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29217         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29218         instead of _dl_argv_internal.
29219         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29220         __GI__dl_argv instead of INTUSE(_dl_argv).
29221         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29222         __GI__dl_argv instead of _dl_argv_internal.
29224         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29225         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29226         macro.
29227         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29228         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29229         New macro.
29230         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29231         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29232         macro.
29233         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29234         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29236 2014-11-04  Andreas Schwab  <schwab@suse.de>
29238         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29240 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29242         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29243         mtvsrd instruction in binary form.
29245 2014-11-03  Andreas Schwab  <schwab@suse.de>
29247         [BZ #17522]
29248         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29249         for less than MB_LEN_MAX use a local buffer of that size.
29250         * libio/tst-fputws.c: New file.
29251         * libio/Makefile (tests): Add tst-fputws.
29253 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29255         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29256         the size of the fpu_fr.fpu_dregs[] array.
29258 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29260         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29261         (__nanosleep): Do not define as alias.
29262         (nanosleep): Define as alias of __nanosleep.
29263         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29264         __libc_nanosleep name.
29266 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29268         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29269         install.texi in comment.
29271 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29273         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29274         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29275         ... add here and use lwsync or sync ...
29276         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29277         ... and add here using lwsync.
29279 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29281         * elf/dl-machine-reject-phdr.h: New file.
29282         * elf/dl-load.c: #include that.
29283         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29284         if that returned true.
29286 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29288         [BZ #17496]
29289         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29290         gen-as-const-headers chunk.  Add a big scare comment after the last
29291         safe place to touch before-compile.
29293 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29295         * manual/install.texi (Tools for Compilation): Update autoconf
29296         version requirements.
29297         * INSTALL: Regenerated.
29299         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29300         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29301         (__libc_pselect): Likewise.
29303         [BZ #14138]
29304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29309 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29311         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29312         correct barrier instruction.
29313         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29314         Likewise.
29315         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29316         Likewise.
29318 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29320         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29321         after defining inlines.  Instead, just use parens to defeat macro
29322         expansion of __isctype in its declaration.
29324 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29326         * include/sys/uio.h (__libc_readv): Remove declaration.
29327         (__libc_writev): Likewise.
29328         * misc/readv.c (__libc_readv): Rename to __readv.
29329         (__readv): Do not define as alias.
29330         (readv): Define as alias of __readv.
29331         * misc/writev.c (__libc_writev): Rename to __writev.
29332         (__writev): Do not define as alias.
29333         (writev): Define as alias of __writev.
29334         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29335         (__readv): Do not define as alias.
29336         (readv): Define unconditionally as alias of __readv.
29337         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29338         (__writev): Do not define as alias.
29339         (writev): Define unconditionally as alias of __writev.
29340         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29341         name.
29342         (writev): Do not define __libc_writev name.
29344 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29346         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29347         (convert_charseq): New function, broken out of ...
29348         (use_from_charmap): ... here.  Call it.
29349         (use_to_charmap): Use convert_charseq and free instead of duplicating
29350         its code with a variable-length stack struct.
29352 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29354         * include/fcntl.h (__libc_creat): Remove declaration.
29355         * io/creat.c (__libc_creat): Rename to creat.
29356         (creat): Do not define as alias.
29357         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29358         of creat instead of __libc_creat.
29359         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29360         to creat.
29361         (creat): Do not define as alias.
29362         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29363         __libc_creat.
29364         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29365         __libc_creat name.
29366         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29367         Likewise.
29369 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29371         * manual/llio.texi: Add comments discussing why write() may be
29372         considered MT-unsafe on Linux.
29374 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29376         * dl-load.c (local_strdup): Remove.
29377         (expand_dynamic_string_token): Use __strdup.
29378         (decompose_rpath): Likewise.
29379         (_dl_map_object): Likewise.
29381 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29383         [BZ #14132]
29384         * sysdeps/generic/unwind-dw2-fde.c
29385         (__register_frame_info_bases_internal): Do not declare.
29386         (__register_frame_info_table_bases_internal): Likewise.
29387         (__deregister_frame_info_bases_internal): Likewise.
29388         (__register_frame_info_bases): Declare and use hidden_proto before
29389         definition.  Use hidden_def instead of INTDEF.
29390         (__register_frame_info_table_bases): Likewise.
29391         (__deregister_frame_info_bases): Likewise.
29392         (__register_frame_info): Do not use INTUSE.
29393         (__register_frame): Likewise.
29394         (__register_frame_info_table): Likewise.
29395         (__register_frame_table): Likewise.
29396         (__deregister_frame_info): Likewise.
29397         (__deregister_frame): Likewise.
29399 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29401         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29402         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29403         not undefine.
29404         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29405         Likewise.
29406         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29407         Likewise.
29409 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29411         [BZ #14138]
29412         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29413         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29414         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29415         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29416         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29417         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29418         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29419         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29420         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29421         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29422         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29423         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29424         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29425         syscall.
29426         (setfsuid): Likewise.
29427         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29428         (setfsuid): Likewise.
29429         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29430         (setfsuid): Likewise.
29431         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29432         Likewise.
29433         (setfsuid): Likewise.
29434         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29435         (setfsuid): Likewise.
29436         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29437         Likewise.
29438         (setfsuid): Likewise.
29440 2014-10-27  Andreas Schwab  <schwab@suse.de>
29442         [BZ #17501]
29443         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29444         check for Slow_SSE4_2 feature bit.
29445         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29446         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29447         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29448         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29450 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29452         * configure.ac: Validate compiler version with a empirical test of
29453         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29454         $CC -v output.
29455         * configure: Regenerated.
29457         * inet/htons.c (htons): Prototypify.
29458         * inet/htonl.c (htonl): Likewise.
29460 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29462         * string/strncat.c (strncat): Improve performance by using strlen.
29464 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29466         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29468 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29470         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29471         Call libc_fetestexcept_aarch64.
29473 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29475         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29476         Call libc_feholdexcept_aarch64.
29478 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29480         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29481         Call get_rounding_mode.
29483 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29485         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29486         Simplify logic.
29488 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29490         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29491         Simplify logic.
29493 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29495         [BZ #14138]
29496         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29497         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29498         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29499         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29500         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29501         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29502         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29503         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29504         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29505         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29506         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29507         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29508         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29509         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29510         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29511         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29512         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29513         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29514         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29515         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29516         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29517         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29518         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29519         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29520         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29521         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29522         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29523         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29524         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29525         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29526         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29527         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29528         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29529         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29530         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29531         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29532         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29533         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29534         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29535         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29536         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29537         syscall.
29538         (geteuid): Likewise.
29539         (getgid): Likewise.
29540         (getuid): Likewise.
29541         (getresgid): Likewise.
29542         (getresuid): Likewise.
29543         (getgroups): Likewise.
29544         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29545         (geteuid): Likewise.
29546         (getgid): Likewise.
29547         (getuid): Likewise.
29548         (getresgid): Likewise.
29549         (getresuid): Likewise.
29550         (getgroups): Likewise.
29551         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
29552         (geteuid): Likewise.
29553         (getgid): Likewise.
29554         (getuid): Likewise.
29555         (getresgid): Likewise.
29556         (getresuid): Likewise.
29557         (getgroups): Likewise.
29558         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
29559         Likewise.
29560         (geteuid): Likewise.
29561         (getgid): Likewise.
29562         (getuid): Likewise.
29563         (getresgid): Likewise.
29564         (getresuid): Likewise.
29565         (getgroups): Likewise.
29566         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29567         (geteuid): Likewise.
29568         (getgid): Likewise.
29569         (getuid): Likewise.
29570         (getresgid): Likewise.
29571         (getresuid): Likewise.
29572         (getgroups): Likewise.
29573         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
29574         Likewise.
29575         (geteuid): Likewise.
29576         (getgid): Likewise.
29577         (getuid): Likewise.
29578         (getgroups): Likewise.
29580         [BZ #14138]
29581         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
29582         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
29583         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
29584         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29585         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
29586         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
29587         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
29588         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
29589         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
29590         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
29591         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
29592         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
29593         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
29594         __chown.
29595         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
29596         (lchown): Likewise.
29597         (fchown): Likewise.
29598         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
29599         Likewise.
29600         (lchown): Likewise.
29601         (fchown): Likewise.
29602         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
29603         (lchown): Likewise.
29604         (fchown): Likewise.
29605         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
29606         Likewise.
29607         (lchown): Likewise.
29608         (fchown): Likewise.
29610 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29612         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
29613         Simplify logic.
29615 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29617         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29618         Cleanup logic.
29620 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29622         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
29623         Remove unused include.
29625 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
29627         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
29628         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
29629         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
29630         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
29632 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
29633             Helge Deller <deller@gmx.de>
29635         [BZ #17508]
29636         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
29637         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
29638         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
29640 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
29642         [BZ #14132]
29643         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
29644         Remove macro definition.
29645         (__ashrdi3_v_glibc20): Likewise.
29646         (__lshrdi3_v_glibc20): Likewise.
29647         (__cmpdi2_v_glibc20): Likewise.
29648         (__ucmpdi2_v_glibc20): Likewise.
29649         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
29650         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29651         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29652         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29653         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29654         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
29656 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29658         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
29659         old GNU extension [0] syntax.
29660         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
29661         alloca rather than an array member with variable length.
29662         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
29663         * nscd/nscd.c (invalidate_db): New function, broken out of ...
29664         (parse_opt): ... here.  Likewise use alloca there.
29665         Validate the -i argument before checking for rootness.
29666         (send_shutdown): New function, broken out of ...
29667         (parse_opt): ... here.
29669 2014-10-22  Roland McGrath  <roland@hack.frob.com>
29671         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
29672         macro to get at the _rt_local_ro field.
29673         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
29674         ([PIC] case) or _dl_hwcap ([!PIC] case).
29675         * sysdeps/arm/setjmp.S: Likewise.
29677         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
29678         * sysdeps/arm/configure.ac: New check to define it.
29679         * sysdeps/arm/configure: Regenerated.
29680         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
29681         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
29682         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
29683         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
29684         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
29685         Use move/movt pair instead of a load.
29686         (LDST_GLOBAL): Macro removed.
29687         (LDR_GLOBAL): New macro replaces it.
29688         (LDR_HIDDEN): New macro.
29689         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
29690         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
29692         * setjmp/tst-setjmp-static.c: New file.
29693         * setjmp/Makefile (tests): Add it.
29694         (tests-static): New variable.
29696 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
29698         [BZ #17485]
29699         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
29701 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
29703         [BZ #14132]
29704         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
29706 2014-10-21  Roland McGrath  <roland@hack.frob.com>
29708         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
29710 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29712         * io/fts.c (dirent_not_directory): New function.
29713         (fts_build): Call it.
29715 2014-10-20  Roland McGrath  <roland@hack.frob.com>
29717         * nptl/version.c (__nptl_main): Use normal __write rather than
29718         INTERNAL_SYSCALL.
29719         (banner): Update copyright years.
29721         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
29722         gettimeofday.
29723         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29724         * nptl/pthread_cond_timedwait.c: Likewise.
29725         * nptl/pthread_mutex_timedlock.c: Likewise.
29726         * nptl/sem_timedwait.c: Likewise.
29728         * sysdeps/nptl/bits/libc-lock.h
29729         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29730         (__libc_lock_init_recursive): Return void, not 0.
29731         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
29732         (__libc_rwlock_init): Likewise.
29733         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
29735 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29737         [BZ #15215]
29738         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
29739         (__pthread_once_slow): ... here.
29740         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
29741         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
29743 2014-10-20  Torvald Riegel  <triegel@redhat.com>
29745         [BZ #15215]
29746         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
29747         __PTHREAD_ONCE_FORK_GEN_INCR): New.
29748         * sysdeps/nptl/fork.c (__libc_fork): Use them.
29749         * nptl/pthread_once.c (__pthread_once): Likewise.
29750         Update comments.
29752 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
29754         [BZ #14138]
29755         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
29756         name.
29757         (writev): Use __libc_writev as strong name.
29758         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29759         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29761 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29763         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29765         * sysdeps/i386/nptl/tls.h
29766         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29767         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29768         New macros.
29769         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29770         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29771         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29772         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29773         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29774         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29776         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29777         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29778         on [__NR_futex].
29779         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29780         broken out of ...
29781         (__pthread_mutex_init): ... here.  Call it.
29782         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29783         Conditionalize PI cases on [__NR_futex].
29784         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29785         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29786         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29788         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29789         conditional on [SIGSETXID].
29790         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29791         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29792         is defined.  Likewise for SIGSETXID.
29793         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29794         Conditionalize definitions on [SIGSETXID].
29795         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29796         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29797         unblocking on [SIGCANCEL].
29799         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29800         [__NR_set_robust_list].
29802 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29804         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29805         (do_compare): Likewise.
29807 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29809         [BZ #15884]
29810         * string/strcoll_l.c: Don't include stdio.h.
29811         (coll_seq): Remove members idxarr and rulearr.
29812         (get_next_seq_cached): Remove function.
29813         (get_next_seq): Likewise.
29814         (get_next_seq_nocache): Rename to get_next_seq.
29815         (do_compare): Remove function.
29816         (do_compare_nocache): Rename to do_compare.
29817         (STRCOLL): Remove weight and rules cache.
29819 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29821         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29822         * sysdeps/arm/sfp-machine.h: ... to here.
29823         * sysdeps/arm/Implies: Remove arm/soft-fp.
29825 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29827         * conform/data/sys/utsname.h-data (*_t): Allow.
29828         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29829         [POSIX] (WEXITED): Do not expect constant.
29830         [POSIX] (WSTOPPED): Likewise.
29831         [POSIX] (WNOHANG): Likewise.
29832         [POSIX] (WNOWAIT): Likewise.
29833         [POSIX] (siginfo_t): Do not expect type or elements.
29834         [POSIX] (pid_t): Do not expect type.
29835         [POSIX] (signal.h): Do not allow header.
29836         [POSIX] (sys/resource.h): Likewise.
29837         [POSIX] (si_*): Do not allow pattern.
29838         [POSIX] (W*): Likewise.
29839         [POSIX] (P_*): Likewise.
29840         [POSIX] (BUS_*): Likewise.
29841         [POSIX] (CLD_*): Likewise.
29842         [POSIX] (FPE_*): Likewise.
29843         [POSIX] (ILL_*): Likewise.
29844         [POSIX] (POLL_*): Likewise.
29845         [POSIX] (SEGV_*): Likewise.
29846         [POSIX] (SI_*): Likewise.
29847         [POSIX] (TRAP_*): Likewise.
29848         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29849         variable.
29851 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29853         [BZ #12926]
29854         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29855         infinite loop when __recvmsg returns 0.
29857 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29859         * CANCEL-FCT-WAIVE: Remove file.
29860         * CANCEL-FILE-WAIVE: Likewise.
29862         [BZ #14132]
29863         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29864         instead of INTVARDEF.
29865         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29866         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29867         rtld_hidden_data_def instead of INTVARDEF.
29868         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29869         * elf/dl-deps.c (expand_dst): Likewise.
29870         * elf/dl-load.c (_dl_dst_count): Likewise.
29871         (_dl_dst_substitute): Likewise.
29872         (decompose_rpath): Likewise.
29873         (_dl_init_paths): Likewise.
29874         (open_path): Likewise.
29875         (_dl_map_object): Likewise.
29876         * elf/rtld.c (dl_main): Likewise.
29877         (process_dl_audit): Likewise.
29878         (process_envvars): Likewise.
29879         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29880         Remove declaration.
29881         (__libc_enable_secure): Use rtld_hidden_proto.
29883 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29885         * elf/dl-load.c
29886         (add_path): New function broken out of _dl_rtld_di_serinfo.
29887         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29889 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29891         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29892         parentheses around macro arguments.
29893         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29896         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29897         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29898         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29899         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29900         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29901         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29902         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29903         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29904         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29905         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29906         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29907         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29908         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29909         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29910         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29911         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29912         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29913         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29914         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29915         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29916         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29917         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29918         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29919         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29920         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29921         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29922         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29923         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29924         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29925         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29926         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29927         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29928         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29929         Likewise.
29930         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29931         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29932         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29933         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29934         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29935         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29936         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29937         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29938         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29939         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29940         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29941         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29942         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29945         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29946         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29949         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29950         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29951         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29952         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29953         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29954         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29955         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29956         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29957         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29958         (_FP_FRAC_SRS_1): Likewise.
29959         (_FP_FRAC_CLZ_1): Likewise.
29960         (_FP_MUL_MEAT_1_imm): Likewise.
29961         (_FP_MUL_MEAT_1_wide): Likewise.
29962         (_FP_MUL_MEAT_1_hard): Likewise.
29963         (_FP_SQRT_MEAT_1): Likewise.
29964         (_FP_FRAC_ASSEMBLE_1): Likewise.
29965         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29966         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29967         (__FP_CLZ_2): Likewise.
29968         (_FP_MUL_MEAT_2_wide): Likewise.
29969         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29970         (_FP_MUL_MEAT_2_gmp): Likewise.
29971         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29972         (_FP_SQRT_MEAT_2): Likewise.
29973         (_FP_FRAC_ASSEMBLE_2): Likewise.
29974         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29975         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29976         (_FP_FRAC_CLZ_4): Likewise.
29977         (_FP_MUL_MEAT_4_wide): Likewise.
29978         (_FP_MUL_MEAT_4_gmp): Likewise.
29979         (_FP_SQRT_MEAT_4): Likewise.
29980         (_FP_FRAC_ASSEMBLE_4): Likewise.
29981         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29982         * soft-fp/op-common.h (_FP_CMP): Likewise.
29983         (_FP_CMP_EQ): Likewise.
29984         (_FP_CMP_UNORD): Likewise.
29985         (_FP_TO_INT): Likewise.
29986         (_FP_FROM_INT): Likewise.
29987         [!__FP_CLZ] (__FP_CLZ): Likewise.
29988         (_FP_DIV_HELP_imm): Likewise.
29989         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29990         Likewise.
29991         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29992         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29993         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29994         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29995         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29996         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29997         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29998         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29999         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30000         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30001         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30002         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30003         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30004         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30005         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30006         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30007         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30008         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30009         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30010         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30011         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30012         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30013         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30014         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30015         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30016         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30017         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30018         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30019         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30020         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30021         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30022         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30023         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30024         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30025         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30026         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30027         (FP_UNPACK_RAW_SP): Likewise.
30028         (FP_PACK_RAW_S): Likewise.
30029         (FP_PACK_RAW_SP): Likewise.
30030         (FP_UNPACK_S): Likewise.
30031         (FP_UNPACK_SP): Likewise.
30032         (FP_UNPACK_SEMIRAW_S): Likewise.
30033         (FP_UNPACK_SEMIRAW_SP): Likewise.
30034         (FP_PACK_S): Likewise.
30035         (FP_PACK_SP): Likewise.
30036         (FP_PACK_SEMIRAW_S): Likewise.
30037         (FP_PACK_SEMIRAW_SP): Likewise.
30038         (_FP_SQRT_MEAT_S): Likewise.
30039         (FP_CMP_S): Likewise.
30040         (FP_CMP_EQ_S): Likewise.
30041         (FP_CMP_UNORD_S): Likewise.
30042         (FP_TO_INT_S): Likewise.
30043         (FP_FROM_INT_S): Likewise.
30045         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30047         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30048         (FP_EX_INVALID_IMZ): Likewise.
30049         (FP_EX_INVALID_IMZ_FMA): Likewise.
30050         (FP_EX_INVALID_ISI): Likewise.
30051         (FP_EX_INVALID_ZDZ): Likewise.
30052         (FP_EX_INVALID_IDI): Likewise.
30053         (FP_EX_INVALID_SQRT): Likewise.
30054         (FP_EX_INVALID_CVI): Likewise.
30055         (FP_EX_INVALID_VC): Likewise.
30056         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30057         "invalid" exceptions.
30058         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30059         (_FP_ADD_INTERNAL): Likewise.
30060         (_FP_MUL): Likewise.
30061         (_FP_FMA): Likewise.
30062         (_FP_DIV): Likewise.
30063         (_FP_CMP_CHECK_NAN): Likewise.
30064         (_FP_SQRT): Likewise.
30065         (_FP_TO_INT): Likewise.
30066         (FP_EXTEND): Likewise.
30068 2014-10-09  Allan McRae  <allan@archlinux.org>
30070         * po/fr.po: Update French translation from translation project.
30072 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30074         [BZ #14132]
30075         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30076         of INTDEF.
30077         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30078         (__cxa_atexit): Use libc_hidden_proto.
30079         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30081         [BZ #14132]
30082         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30083         declaration.
30084         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30085         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30086         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30087         [!_ISOMAC] (__iswctype_internal): Likewise.
30088         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30089         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30090         alias.
30091         (fcntl): Remove __fcntl_internal alias.
30092         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30093         __connect_internal alias.
30094         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30095         Likewise.
30097         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30098         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30099         FP_DENORM_ZERO.
30100         (_FP_CHECK_FLUSH_ZERO): New macro.
30101         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30102         (_FP_CMP): Likewise.
30103         (_FP_CMP_EQ): Likewise.
30104         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30105         FP_DENORM_ZERO.
30106         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30107         (FP_TRUNC): Likewise.
30109         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30110         treated as invalid conversion, not as normal exponent.
30112         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30113         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30114         (_FP_CMP_EQ): Likewise.
30115         (_FP_CMP_UNORD): Likewise.
30116         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30117         (FP_CMP_EQ_D): Likewise.
30118         (FP_CMP_UNORD_D): Likewise.
30119         * soft-fp/extended.h (FP_CMP_E): Likewise.
30120         (FP_CMP_EQ_E): Likewise.
30121         (FP_CMP_UNORD_E): Likewise.
30122         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30123         (FP_CMP_EQ_Q): Likewise.
30124         (FP_CMP_UNORD_Q): Likewise.
30125         * soft-fp/single.h (FP_CMP_S): Likewise.
30126         (FP_CMP_EQ_S): Likewise.
30127         (FP_CMP_UNORD_S): Likewise.
30128         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30129         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30130         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30131         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30132         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30133         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30134         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30135         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30136         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30137         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30138         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30139         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30140         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30141         to FP_CMP_Q.
30142         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30143         FP_CMP_Q.
30144         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30145         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30146         FP_CMP_EQ_Q.
30147         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30148         FP_CMP_Q.
30149         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30150         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30151         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30152         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30153         FP_CMP_EQ_Q.
30154         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30155         FP_CMP_Q.
30156         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30157         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30158         FP_CMP_EQ_Q.
30159         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30160         FP_CMP_Q.
30161         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30162         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30163         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30164         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30165         FP_CMP_EQ_Q.
30167         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30168         a subnormal result, set the underflow exception if trapping on
30169         underflow is enabled.
30170         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30171         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30172         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30173         redefine to 0.
30174         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30175         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30176         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30177         * soft-fp/extendxftf2.c (__extendxftf2): Use
30178         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30180         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30181         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30182         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30183         FP_HANDLE_EXCEPTIONS.
30184         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30185         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30186         FP_HANDLE_EXCEPTIONS.
30187         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30188         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30189         FP_HANDLE_EXCEPTIONS.
30190         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30191         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30192         FP_HANDLE_EXCEPTIONS.
30194 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30196         [BZ #14132]
30197         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30198         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30199         use INTUSE.
30200         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30201         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30202         Remove alias.
30203         (__adjtimex): Define using libc_hidden_ver.
30204         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30205         Remove declaration.
30206         (ntp_gettime): Call __adjtimex directly.
30207         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30208         Remove declaration.
30209         (ntp_gettimex): Call __adjtimex directly.
30210         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30211         __adjtimex_internal alias.
30213 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30215         [BZ #17460]
30216         * nscd/nscd.c (more_help): Rewrite list of tables collection
30217         using xstrdup and asprintf.
30219         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30221 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30222             Roland McGrath  <roland@hack.frob.com>
30224         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30225         (do_lookup_unique): ... local function 'enter' here; update callers.
30227 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30229         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30230         compat_symbol calls on [SHARED].
30231         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30232         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30233         Remove.
30234         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30235         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30236         (oldsetrlimit): Remove.
30237         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30239         (lchown): New syscall entry.
30240         (oldsetrlimit): Remove.
30241         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30242         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30243         (oldsetrlimit): Remove.
30244         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30246         [BZ #14138]
30247         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30248         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30249         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30250         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30251         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30252         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30253         (fchown): Likewise.
30254         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30255         (fchown): Likewise.
30256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30257         Likewise.
30259 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30261         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30262         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30263         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30264         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30265         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30266         Likewise.
30267         (__old_sem_post): Likewise.
30269 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30271         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30272         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30273         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30274         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30275         Use INLINE_VSYSCALL macro.
30276         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30277         __vdso_clock_gettime.
30278         * sysdeps/unix/sysv/linux/tile/init-first.c
30279         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30280         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30281         __vdso_clock_gettime.
30283         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30284         to set up frame more cleanly.
30286         * sysdeps/tile/memcmp.c: New file.
30288         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30290         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30291         * sysdeps/tile/tilegx/strcasestr.c: New file.
30292         * sysdeps/tile/tilegx/strnlen.c: New file.
30293         * sysdeps/tile/tilegx/strstr.c: New file.
30295         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30297 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30299         * nptl/tst-setuid3.c: Write errors to stdout.
30301 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30303         * elf/dl-deps.c
30304         (preload): New functions broken out of _dl_map_object_deps.
30305         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30307 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30309         [BZ #14138]
30310         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30311         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30313 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30315         * sysdeps/mips/strcmp.S: New.
30317 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30319         [BZ #14138]
30320         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30321         (linkat): Likewise.
30322         (mkdirat): Likewise.
30323         (readlinkat): Likewise.
30324         (renameat): Likewise.
30325         (symlinkat): Likewise.
30326         (unlinkat): Likewise.
30327         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30328         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30329         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30330         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30331         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30332         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30333         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30335 2014-09-30  Will Newton  <will.newton@linaro.org>
30337         * math/math.h: Define long double math functions if
30338         _LIBC_TEST is defined.
30339         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30341         * localedata/Makefile: Move assignment to tests-special
30342         into an ifdef testing run-built-tests.
30343         * timezone/Makefile: Likewise.
30345 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30347         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30348         with $(BASH) not $(SHELL).
30350 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30351             Matthew LeGendre  <legendre1@llnl.gov>
30353         [BZ #17411]
30354         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30355         l_reloc_result.
30357 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30359         * stdio-common/printf_fp.c
30360         (hack_digit): New function, broken out of ...
30361         (__printf_fp): ... local function here.  Update call sites.
30362         hack_digit now takes an additional parameter that is a pointer
30363         to a struct of the referenced locals.  Those locals moved inside
30364         the struct and references updated.
30366 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30368         * aclocal.m4: Require autoconf 2.69.
30369         * configure: Regenerated.
30370         * sysdeps/aarch64/configure: Likewise.
30371         * sysdeps/alpha/configure: Likewise.
30372         * sysdeps/arm/armv7/configure: Likewise.
30373         * sysdeps/arm/configure: Likewise.
30374         * sysdeps/ia64/configure: Likewise.
30375         * sysdeps/mach/configure: Likewise.
30376         * sysdeps/mips/configure: Likewise.
30377         * sysdeps/s390/configure: Likewise.
30378         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30381         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30382         file.
30383         * sysdeps/ia64/configure.ac: Likewise.
30385 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30388         specify symbol version for ld.so.  Do not include entry for
30389         libpthread.
30390         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30391         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30392         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30394         [BZ #14171]
30395         * Makeconfig [$(build-shared) = yes]
30396         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30397         makefiles.
30398         [$(build-shared) = yes && $(soversions.mk-done) = t]
30399         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30400         [$(build-shared) = yes && $(soversions.mk-done) = t]
30401         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30402         to Makerules.
30403         [$(build-shared) = yes && $(soversions.mk-done) = t]
30404         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30405         here.
30406         [$(build-shared) = yes && $(soversions.mk-done) = t]
30407         (common-generated): Don't append gnu/lib-names.h and
30408         gnu/lib-names.stmp here.
30409         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30410         (lib-names-h-abi): New variable.
30411         [$(build-shared) = yes && $(soversions.mk-done) = t]
30412         (lib-names-stmp-abi): Likewise.
30413         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30414         abi-variants] (before-compile): Append
30415         $(common-objpfx)$(lib-names-h-abi).
30416         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30417         abi-variants] (common-generated): Append gnu/lib-names.h.
30418         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30419         abi-variants] (install-others-nosubdir): Depend on
30420         $(inst_includedir)/$(lib-names-h-abi).
30421         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30422         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30423         [$(build-shared) = yes && $(soversions.mk-done) = t]
30424         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30425         [$(build-shared) = yes && $(soversions.mk-done) = t]
30426         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30427         [$(build-shared) = yes && $(soversions.mk-done) = t]
30428         (common-generated): Append $(lib-names-h-abi) and
30429         $(lib-names-stmp-abi).
30430         * scripts/lib-names.awk: Do not handle multi being set.
30431         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30432         Remove variable.
30433         (abi-lp64_be-ld-soname): Likewise.
30434         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30435         Likewise.
30436         (abi-hard-ld-soname): Likewise.
30437         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30438         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30439         Remove variable.
30440         (abi-o32_hard-ld-soname): Likewise.
30441         (abi-o32_soft_2008-ld-soname): Likewise.
30442         (abi-o32_hard_2008-ld-soname): Likewise.
30443         (abi-n32_soft-ld-soname): Likewise.
30444         (abi-n32_hard-ld-soname): Likewise.
30445         (abi-n32_soft_2008-ld-soname): Likewise.
30446         (abi-n32_hard_2008-ld-soname): Likewise.
30447         (abi-n64_soft-ld-soname): Likewise.
30448         (abi-n64_hard-ld-soname): Likewise.
30449         (abi-n64_soft_2008-ld-soname): Likewise.
30450         (abi-n64_hard_2008-ld-soname): Likewise.
30451         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30452         Likewise.
30453         (abi-64-v2-ld-soname): Likewise.
30454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30455         ld.so entries.
30456         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30457         variable.
30458         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30459         entry.
30460         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30461         variable.
30462         (abi-64-ld-soname): Likewise.
30463         (abi-x32-ld-soname): Likewise.
30464         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30465         entry.
30466         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30468 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30470         [BZ #14138]
30471         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30472         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30473         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30474         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30475         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30476         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30477         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30478         syscall entry for GLIBC_2.2 symbol version.
30479         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30480         Likewise.
30481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30482         (setrlimit): Likewise.
30483         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30484         Likewise.
30486 2014-09-23  Will Newton  <will.newton@linaro.org>
30488         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30489         _LINUX_ARM_SYSDEP_H include guard too.
30490         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30491         define.
30493 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30495         * sysdeps/unix/sysv/linux/eventfd.c:
30496         Make first argument unsigned.
30497         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30498         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30500 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30502         [BZ #16852]
30503         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30504         * socket/sys/socket.h: Likewise.
30505         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30507 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30509         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30511 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30513         * time/tst-ftime.c: New test.
30514         * time/Makefile (tests): Add tst-ftime.
30516 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30518         * soft-fp/extended.h: Fix comment formatting.
30519         * soft-fp/op-1.h: Likewise.
30520         * soft-fp/op-2.h: Likewise.
30521         * soft-fp/op-4.h: Likewise.
30522         * soft-fp/op-8.h: Likewise.
30523         * soft-fp/op-common.h: Likewise.
30524         * soft-fp/soft-fp.h: Likewise.
30526         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30528 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30530         [BZ #6652]
30531         * Makeconfig (soversions-default-setname): Remove variable.
30532         ($(common-objpfx)soversions.i): Don't pass default_setname to
30533         soversions.awk.
30534         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30535         oldest_abi to abi-versions.awk.
30536         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30537         * config.make.in (oldest-abi): Remove variable.
30538         * configure.ac (--enable-oldest-abi): Remove configure option.
30539         * configure: Regenerated.
30540         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30541         text.
30542         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30543         * scripts/soversions.awk: Do not handle default_setname variable.
30544         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30545         variable.
30546         * sysdeps/mach/hurd/configure: Regenerated.
30547         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30548         variable.
30549         * sysdeps/unix/sysv/linux/configure: Regenerated.
30551 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30553         * elf/Makefile (CFLAGS-interp.c): Remove.
30554         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30555         path string.
30556         * elf/interp.c: Include generated runtime-linker.h
30558         * Makerules (lib%.so): Don't include $(+interp) in
30559         prerequisites.
30560         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30561         * dlfcn/eval.c: Remove file.
30563         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30564         macros.
30566         [BZ #17266]
30567         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30568         4.2 and newer.
30570         [BZ #17370]
30571         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
30573 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30574             Jakub Jelinek  <jakub@redhat.com>
30576         [BZ #17266]
30577         * libio/stdio.h: Check definition of __fortify_function
30578         instead of __extern_always_inline to include bits/stdio2.h.
30579         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
30580         check if __extern_always_inline is defined.
30581         [__USE_MISC || __USE_XOPEN]: Likewise.
30582         [__USE_ISOC99] Likewise.
30583         * misc/sys/cdefs.h (__fortify_function): Define only if
30584         __extern_always_inline is defined.
30585         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
30586         __extern_always_inline and __extern_inline only for g++-4.3
30587         and newer or a compatible gcc.
30589 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
30591         [BZ #17371]
30592         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30593         last change to handle zero prefix length.
30595 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30597         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
30598         _SC_REGEX_VERSION.
30600         * posix/getconf.c (vars): Add _POSIX_IPV6 and
30601         _POSIX_RAW_SOCKETS.
30603 2014-09-13  Allan McRae  <allan@archlinux.org>
30605         * po/ru.po: Update Russian translation from translation project.
30607 2014-09-12  Roland McGrath  <roland@hack.frob.com>
30609         * locale/programs/locale.c (show_locale_vars): Inline local function
30610         into its sole call site.  Clean up some style nits.
30611         (print_item): New function, broken out of ...
30612         (show_info): ... local function here.  Clean up style nits.
30614         * locale/programs/ld-ctype.c (set_one_default): New function, broken
30615         out of ...
30616         (set_class_defaults): ... local function set_default here.
30617         Define set_default as a macro locally to pass constant parameters.
30618         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
30619         rather than a shared local.
30621         * stdlib/rpmatch.c (try): New function, broken out of ...
30622         (rpmatch): ... local function here.  Also, prototypify definition.
30624 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
30626         * scripts/soversions.awk: Do not handle configuration names.
30627         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
30628         vendor and os variables to soversions.awk.
30629         * configure.ac: Do not modify gnu-* host_os.
30630         * configure: Regenerated
30631         * shlib-versions: Remove first column with configuration names.
30632         * nptl/shlib-versions: Likewise.
30633         * nptl_db/shlib-versions: Likewise.
30634         * sysdeps/hppa/shlib-versions: Likewise.
30635         * sysdeps/m68k/shlib-versions: Likewise.
30636         * sysdeps/mach/hurd/shlib-versions: Likewise.
30637         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
30638         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
30639         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
30640         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
30641         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
30642         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
30643         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
30644         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
30645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30646         Likewise.
30647         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30648         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30649         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30650         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30651         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30652         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
30653         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30654         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30657         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
30658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30659         Regenerated.
30660         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
30661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
30662         Condition symbol version definitions on [HAVE_ELFV2_ABI].
30664         * shlib-versions: Remove OS-specific entries.  Moved to files in
30665         sysdeps.
30666         * sysdeps/mach/hurd/shlib-versions: New file.
30667         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
30669         * nptl/shlib-versions: Remove architecture-specific entries.
30670         Moved to files in sysdeps.
30671         * shlib-versions: Likewise.
30672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
30673         file.
30674         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30675         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
30676         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
30677         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
30679         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
30680         (UDP_NO_CHECK6_RX): Likewise.
30682 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30684         * sysdeps/posix/sysconf.c (__sysconf): Spell
30685         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
30687 2014-08-12  Florian Weimer  <fweimer@redhat.com>
30689         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
30690         loading.
30691         * iconv/Versions (__gconv_transliterate): Export for use from
30692         gconv modules.
30693         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
30694         (struct __gconv_trans_data, __gconv_trans_fct,
30695         __gconv_trans_context_fct, __gconv_trans_query_fct,
30696         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
30697         definitions.
30698         (struct __gconv_step_data): Remove __trans member.
30699         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
30700         longer hidden.  Remove unused trans_data argument.
30701         * iconv/gconv_int.h (struct trans_struct): Remove definition.
30702         (__gconv_translit_find): Remove declaration.
30703         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
30704         prototype.
30705         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
30706         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
30707         trans_data argument.  Add hidden definition.
30708         (__gconv_translit_find): Remove.
30709         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
30710         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
30711         * iconv/skeleton.c: Remove transliteration initialization.
30712         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
30713         __gconv_step_data initialization.
30714         * libio/iofwide.c (__libio_translit_): Remove.
30715         (_IO_fwide): Adjust struct __gconv_step_data initialization.
30716         * wcsmbs/btowc.c (__btowc): Likewise.
30717         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30718         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
30719         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
30720         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
30721         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
30722         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
30723         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
30724         * wcsmbs/wctob.c (wctob): Likewise.
30726 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30728         [BZ #16194]
30729         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
30730         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
30731         register usage.
30732         * sysdeps/x86/Makefile: Adjust.
30734 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30735             Roland McGrath  <roland@hack.frob.com>
30737         * locale/weight.h: Add include guard.
30738         (findidx): Make static rather than auto; take new parameters
30739         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
30740         * locale/weightwc.h: Likewise.
30741         * posix/fnmatch_loop.c
30742         (FCT): Change type of EXTRA from int32_t to wint_t.
30743         Don't include either header inside the function.
30744         Call FINDIDX rather than findidx, and pass new arguments.
30745         #undef FINDIDX at the end of the file.
30746         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
30747         FINDIDX before including fnmatch_loop.c for the non-wide version.
30748         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
30749         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
30750         for the wide version.
30751         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
30752         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
30753         Pass new arguments to findidx.
30754         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
30755         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
30756         Don't #include it inside the function.  Pass new arguments to findidx.
30757         * posix/regex_internal.h
30758         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30759         (re_string_elem_size_at): Don't #include it inside the function.
30760         Pass new arguments to findidx.
30761         * string/strcoll_l.c: #include WEIGHT_H at top level.
30762         (get_next_seq): Don't #include it inside the function.
30763         Pass new arguments to findidx.
30764         (get_next_seq_nocache): Likewise.
30765         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30766         (STRXFRM): Don't #include it inside the function.
30767         Pass new arguments to findidx.
30769 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30771         [BZ #17344]
30772         * malloc/malloc.c (unlink): Turn asserts into a call to
30773         malloc_printerr.
30775 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30777         [BZ #17370]
30778         * libio/wfileops (do_ftell_wide): Free OUT.
30780 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30782         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30784 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30786         [BZ #17363]
30787         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30788         group if the current group is empty.
30790 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30792         * benchtests/bench-memset.c (test_main): Add more test from size
30793         from 32 to 512 bytes.
30794         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30795         Add POWER8 memset object.
30796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30797         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30798         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30799         implementation.
30800         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30801         Likewise.
30802         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30803         multiarch POWER8 memset optimization.
30804         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30805         POWER8 memset optimization.
30807         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30808         Remove bzero multiarch objects.
30809         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30810         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30811         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30812         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30813         Remove define.
30814         [__bzero]: Redefine to specific name.
30815         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30816         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30817         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30818         define.
30819         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30820         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30822 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30824         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30825         warnings into errors.
30827         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30828         __cxa_thread_atexit_impl prototype.
30830 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30832         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30833         Fix capitalization of error message.
30835 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30837         * sysdeps/mips/preconfigure: Modify ABI tests.
30839 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30841         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30843 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30844             Carlos O'Donell  <carlos@systemhalted.org>
30846         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30847         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30848         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30849         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30850         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30851         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30852         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30853         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30854         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30855         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30856         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30857         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30858         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30859         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30860         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30861         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30862         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30863         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30864         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30865         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30866         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30867         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30868         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30869         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30870         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30871         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30872         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30873         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30874         Deconditionalize the code that was previously under [RESET_PID].
30875         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30876         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30877         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30878         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30879         include sysdep.h.
30881 2014-09-08  Allan McRae  <allan@archlinux.org>
30883         * version.h (RELEASE): Set to "development".
30884         (VERSION): Set to "2.20.90"
30886 2014-09-07  Allan McRae  <allan@archlinux.org
30888         * version.h (RELEASE): Set to "stable".
30889         (VERSION): Set to "2.20"
30890         * include/features.h (__GLIBC_MINOR__): Set to 20.
30892         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30893         Liebler.
30895         * po/ko.po: Update Korean translation from translation project.
30897 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30899         [BZ #17354]
30900         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30901         macro for handling signed relocations.
30903 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30905         [BZ #17325]
30906         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30907         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30908         assert.
30909         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30910         * iconvdata/ibm935.c (BODY): Likewise.
30911         * iconvdata/ibm937.c (BODY): Likewise.
30912         * iconvdata/ibm939.c (BODY): Likewise.
30913         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30914         assert.
30915         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30916         script.
30917         * iconvdata/run-iconv-test.sh: New test loop for checking for
30918         decoder crashers.
30920 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30922         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30923         libm_hidden_ver.
30925 2014-09-01  Allan McRae  <allan@archlinux.org>
30927         * po/eo.po: Update Esperanto translation from translation project.
30929         * po/ca.po: Update Catalan translation from translation project.
30931 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30933         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30934         __proc_dostop call.
30936 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30938         [BZ #17319]
30939         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30940         to call set_thread_area instead of hand written asm.
30941         (__NR_set_thread_area): Removed define.
30942         (TLS_FLAG_WRITABLE): Likewise.
30943         (__ASSUME_SET_THREAD_AREA): Remove check.
30944         (TLS_EBX_ARG): Remove define.
30945         (TLS_LOAD_EBX): Likewise.
30947 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30949         Simplify atomicity of socket creation in bind.
30951         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30952         looking up the name after linking the file.
30954 2014-08-27  Allan McRae  <allan@archlinux.org>
30956         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30958 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30960         [BZ #17187]
30961         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30962         trans_compare, open_translit, __gconv_translit_find):
30963         Remove module loading code.
30965 2014-08-26  Allan McRae  <allan@archlinux.org>
30967         * po/vi.po: Update Vietnamese translation from translation project.
30969         * po/uk.po: Update Ukrainian translation from translation project.
30971         * po/fr.po: Update French translation from translation project.
30973         * po/ru.po: Update Russian translation from translation project.
30975         * po/pl.po: Update Polish translation from translation project.
30977         * po/cs.po: Update Czech translation from translation project.
30979         * po/de.po: Update German translation from translation project.
30981         * po/bg.po: Update Bulgarian translation from translation project.
30983         * po/sv.po: Update Sweedish translation from translation project.
30985         * po/nl.po: Update Dutch translation from translation project.
30987         * po/es.po: Update Spanish translation from translation project.
30989 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30991         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30993         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30994         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30995         (CPPFLAGS-iconvconfig): Likewise.
30996         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30998         * include/libc-symbols.h: Remove unnecessary check for
30999         NOT_IN_libc.
31000         * nptl/pthreadP.h: Likewise.
31001         * sysdeps/aarch64/setjmp.S: Likewise.
31002         * sysdeps/alpha/setjmp.S: Likewise.
31003         * sysdeps/arm/sysdep.h: Likewise.
31004         * sysdeps/i386/setjmp.S: Likewise.
31005         * sysdeps/m68k/setjmp.c: Likewise.
31006         * sysdeps/posix/getcwd.c: Likewise.
31007         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31008         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31009         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31010         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31011         * sysdeps/sh/sh3/setjmp.S: Likewise.
31012         * sysdeps/sh/sh4/setjmp.S: Likewise.
31013         * sysdeps/unix/alpha/sysdep.h: Likewise.
31014         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31015         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31016         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31017         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31020         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31021         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31022         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31023         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31024         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31025         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31026         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31027         * sysdeps/x86_64/setjmp.S: Likewise.
31029 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31031         [BZ #17263]
31032         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31033         <stdint.h>.
31034         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31035         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31037 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31039         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31041         [BZ #17262]
31042         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31043         and __x86_64__ when disabling x87 inline functions.
31045 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31047         [BZ #17259]
31048         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31049         asm statement with __cpuid_count.
31051 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31053         * configure.ac: Change __ehdr_start code to dereference the struct.
31054         Run readelf on the output to look for relocations.
31055         * configure: Regenerated.
31057 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31059         [BZ #17261]
31060         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31061         value to 0.
31062         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31064 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31066         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31068 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31070         [BZ #16892]
31071         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31072         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31074 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31076         * malloc/malloc.c: Fix typo in comment.
31078 2014-08-09  Allan McRae  <allan@archlinux.org>
31080         * Regenerate libc.po.
31082 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31084         * intl/tst-gettext2.sh: Check every lang file for creation.
31086 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31088         * sysdeps/aarch64/fpu/math_private.h
31089         (libc_feholdsetround_noex_aarch64_ctx): New function.
31091 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31093         * sysdeps/arm/armv6/strcpy.S (strcpy):
31094         Fix performance issue in misaligned cases.
31096 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31098         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31099         Move definition from termios.h.
31100         (struct termio): Likewise.
31101         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31102         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31103         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31104         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31105         Likewise.
31106         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31107         Move definition to ioctl-types.h
31108         (struct termio): Likewise.
31109         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31110         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31111         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31112         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31113         Likewise.
31115 2014-08-05  Richard Henderson  <rth@redhat.com>
31117         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31118         exceptions.
31119         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31120         Add fraiseexcpt.
31121         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31122         Use __feraiseexcept.
31123         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31124         Protect libm symbols with IS_IN_libm.
31126         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31128 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31130         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31132 2014-08-04  Will Newton  <will.newton@linaro.org>
31134         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31135         file.
31137 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31139         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31140         variants for each function.
31142 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31144         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31145         appended ...
31146         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31147         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31148         appended ...
31149         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31150         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31151         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31152         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31153         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31154         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31155         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31156         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31157         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31158         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31159         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31160         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31161         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31162         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31163         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31164         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31165         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31166         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31167         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31168         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31169         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31170         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31171         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31172         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31173         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31174         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31175         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31176         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31177         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31178         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31179         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31180         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31181         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31182         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31183         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31184         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31185         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31186         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31187         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31188         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31189         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31190         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31191         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31192         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31193         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31194         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31195         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31196         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31197         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31198         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31199         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31200         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31201         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31202         Update #include.
31203         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31204         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31206 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31208         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31209         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31210         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31211         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31212         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31213         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31215 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31217         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31218         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31219         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31220         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31222 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31224         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31225         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31226         (__libc_vfork): Define function under this name.
31227         (__vfork): Define as an alias.
31228         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31229         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31231 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31233         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31234         that was previously under [RESET_PID].
31235         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31237 2014-08-04  Andreas Schwab  <schwab@suse.de>
31239         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31241 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31243         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31244         (main): Likewise.
31246 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31248         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31250 2014-08-01  Richard Henderon  <rth@redhat.com>
31252         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31253         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31254         typo in exact zero test.
31255         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31256         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31257         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31259 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31261         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31262         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31263         * sysdeps/arm/sysdep.h: ... here.
31264         [!__ASSEMBLER__]: Include <stdint.h>.
31266 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31268         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31269         (HAVE_WCTYPE_H): Likewise.
31270         (HAVE_ISWCTYPE): Likewise.
31271         (ENABLE_NLS): Likewise.
31272         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31273         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31275         * posix/regex_internal.c: Check if DEBUG is defined and is
31276         set.
31278         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31279         (HAVE_MBSRTOWCS): Likewise.
31280         * posix/fnmatch.c: Include string.h unconditionally.
31282 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31284         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31285         reversal.
31287 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31289         * sysdeps/generic/safe-fatal.h: New file.
31290         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31291         * nptl/forward.c: Include it.
31292         (__pthread_unwind): Use __safe_fatal as default action, rather
31293         than a bogus use of INTERNAL_SYSCALL that could never work.
31295         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31296         * configure.ac (libc_cv_builtin_trap): New test.
31297         * configure: Regenerated.
31298         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31299         (ABORT_INSTRUCTION): Define using __builtin_trap.
31301         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31302         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31303         * sysdeps/nptl/nptl-signals.h: New file.
31304         * nptl/pthreadP.h: Include <nptl-signals.h>.
31306 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31308         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31309         (ONE_DIRECTION): Define.
31310         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31311         (ONE_DIRECTION): Define.
31312         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31313         (ONE_DIRECTION): Define.
31315 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31317         * sysdeps/s390/Makefile: Delete file.
31318         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31319         * sysdeps/s390/__longjmp.c: Delete file.
31320         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31321         Remove fields __flags and __reserved.
31322         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31323         and add versioning.
31324         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31325         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31326         * sysdeps/s390/rtld-setjmp.S: Likewise.
31327         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31328         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31329         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31330         * sysdeps/s390/s390-32/setjmp.S: ... here.
31331         Add versioning.
31332         (__sigsetjmp): Remove setting __flags field.
31333         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31334         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31335         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31336         * sysdeps/s390/s390-64/setjmp.S: ... here.
31337         Add versioning.
31338         (__sigsetjmp): Remove setting __flags field.
31339         * sysdeps/s390/setjmp.S: Delete file.
31340         * sysdeps/s390/sigjmp.c: Likewise.
31341         * sysdeps/s390/v1-longjmp.c: Likewise.
31342         * sysdeps/s390/v1-setjmp.h: Likewise.
31343         * sysdeps/s390/v1-sigjmp.c: Likewise.
31344         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31345         Remove v1-longjmp_chk.
31346         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31347         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31348         Include debug/longjmp_chk.c and add versioning.
31349         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31350         Include nptl/pt-longjmp.c and add versioning.
31351         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31352         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31353         Include __longjmp.c.
31354         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31355         Move to ...
31356         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31357         (__getcontext): Remove setting __flags field.
31358         Add versioning.
31359         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31360         Don't restore upper high grps.
31361         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31362         Likewise.
31363         (__swapcontext): Remove setting uc_flags field.
31364         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31365         Delete file.
31366         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31367         Include __longjmp.c.
31368         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31369         Move to ...
31370         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31371         (__getcontext): Remove setting __flags field.
31372         Add versioning.
31373         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31374         (__swapcontext): Remove setting uc_flags field.
31375         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31376         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31377         Remove fields uc_high_gprs and __reserved.
31378         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31379         New file with reverted content.
31380         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31381         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31382         Regenerated.
31383         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31384         Regenerated.
31386 2014-07-31  Andreas Schwab  <schwab@suse.de>
31388         * config.h.in (HAVE_IFUNC): Define to 0.
31389         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31390         definedness.
31392 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31395         memmove-avx-unaligned, memcpy-avx-unaligned and
31396         mempcpy-avx-unaligned.
31397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31398         Add tests for AVX memcpy functions.
31399         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31400         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31401         memcpy_chk.
31402         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31403         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31404         memmove_chk.
31405         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31406         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31407         mempcpy_chk.
31408         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31409         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31410         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31412 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31414         [BZ #17213]
31415         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31416         powerpc64le.
31418 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31420         [BZ #16839]
31421         * manual/llio.texi: Add section about open file description locks.
31422         * manual/examples/ofdlocks.c: Example of open file description
31423         lock usage.
31424         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31425         F_OFD_SETLK, and F_OFD_SETLKW.
31427 2014-07-23  Allan McRae  <allan@archlinux.org>
31429         * po/es.po: Update Spanish translation from translation project.
31431 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31433         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31435 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31437         [BZ #17078]
31438         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31439         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31440         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31442 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31444         [BZ #17088]
31445         * math/fesetenv.c (__fesetenv)
31446         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31447         * math/feupdateenv.c (__feupdateenv)
31448         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31450         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31451         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31452         (__ASSUME_SOCKETCALL): Do not define.
31454         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31455         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31456         (__ASSUME_SOCKETCALL): Do not define.
31457         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31458         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31459         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31460         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31461         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31462         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31463         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31464         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31466         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31467         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31468         (__ASSUME_SOCKETCALL): Do not define.
31469         (__ASSUME_IPC64): Define unconditionally.
31470         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31471         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31472         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31473         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31474         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31475         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31476         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31477         Likewise.
31479         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31480         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31481         (__ASSUME_SOCKETCALL): Do not define.
31482         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31483         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31484         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31485         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31486         (__ASSUME_REQUEUE_PI): Define unconditionally.
31487         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31488         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31489         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31490         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31491         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31492         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31494         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31495         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31496         (__ASSUME_SOCKETCALL): Do not define.
31497         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31498         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31499         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31500         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31501         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31502         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31504         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31505         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31506         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31507         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31508         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31509         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31511         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31512         (__ASSUME_GETCPU_SYSCALL): Likewise.
31514         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31515         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31516         cases for individual architectures.
31517         * sysdeps/gnu/configure: Regenerated.
31518         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31519         LIBC_SLIBDIR_RTLDDIR.
31520         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31521         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31522         LIBC_SLIBDIR_RTLDDIR.
31523         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31525         LIBC_SLIBDIR_RTLDDIR.
31526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31527         Regenerated.
31528         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31529         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31530         file.
31531         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31532         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31533         file.
31534         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31535         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31536         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31537         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31539         * sysdeps/aarch64/shlib-versions: Move to ...
31540         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31541         * sysdeps/alpha/shlib-versions: Move to ...
31542         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31543         * sysdeps/arm/shlib-versions: Move to ...
31544         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31545         * sysdeps/hppa/shlib-versions: Move all contents except for
31546         libgcc_s entry to ...
31547         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31548         entry from ...
31549         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31550         * sysdeps/ia64/shlib-versions: Move to ...
31551         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31552         entry from ...
31553         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31554         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31555         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31556         * sysdeps/microblaze/shlib-versions: Move to ...
31557         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31558         * sysdeps/mips/shlib-versions: Move to ...
31559         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31560         entry from ...
31561         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31562         * sysdeps/tile/shlib-versions: Move to ...
31563         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31564         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31565         from ...
31566         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31567         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31568         entry from ...
31569         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31571 2014-07-17  Will Newton  <will.newton@linaro.org>
31573         * sysdeps/arm/bits/atomic.h
31574         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
31575         (__arch_compare_and_exchange_bool_16_int): Likewise.
31576         (__arch_compare_and_exchange_bool_64_int): Likewise.
31578         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
31579         into an #else block.
31581 2014-07-16  Roland McGrath  <roland@hack.frob.com>
31583         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
31584         just Linux configurations.  Test empirically that the compiler sets
31585         __ARM_EABI__, rather than using the tuple to decide.
31586         * sysdeps/arm/preconfigure: Regenerated.
31587         * sysdeps/unix/sysv/linux/arm/configure: File removed.
31588         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
31589         contents appended ...
31590         * sysdeps/arm/configure.ac: ... here.
31591         * sysdeps/arm/configure: Regenerated.
31593 2014-07-15  Roland McGrath  <roland@hack.frob.com>
31595         * nptl/pthread_kill.c: New file.
31596         * nptl/pthread_sigmask.c: New file.
31597         * nptl/pthread_sigqueue.c: New file.
31599         * sysdeps/nptl/lowlevellock.h: New file.
31600         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
31601         * sysdeps/nptl/lowlevellock-futex.h: New file.
31603         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
31604         Remove dead declarations.
31606 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
31608         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
31609         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
31610         config-cflags-avx2.
31611         * sysdeps/x86_64/configure.ac: Likewise.
31612         * sysdeps/i386/configure: Regenerated.
31613         * sysdeps/x86_64/configure: Likewise.
31614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31615         memset-avx2 only if config-cflags-avx2 is yes.
31616         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31617         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
31618         defined.
31619         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
31620         only if HAVE_AVX2_SUPPORT is defined.
31621         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31623 2014-07-14  Alan Modra  <amodra@gmail.com>
31625         [BZ #17153]
31626         * elf/elf.h (DT_PPC64_NUM): Correct value.
31627         * NEWS: Add to fixed bug list.
31629 2014-07-13  Jim Meyering  <meyering@fb.com>
31631         [BZ 17150]
31632         regex: don't deref NULL upon heap allocation failure
31633         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
31634         failure in one more place.
31635         To trigger the segfault, configure grep -with-included-regex,
31636         build it, and run these commands:
31637         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
31639 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
31641         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31643 2014-07-11  Richard Henderson  <rth@redhat.com>
31645         * sysdeps/aarch64/libm-test-ulps: Update.
31647 2014-07-10  Florian Weimer  <fweimer@redhat.com>
31649         [BZ #17135]
31650         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
31651         * nptl/allocatestack.c (__nptl_setxid_error): New function.
31652         (__nptl_setxid): Initialize error member.  Call
31653         __nptl_setxid_error.
31654         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
31655         * nptl/descr.h (struct xid_command): Add error member.
31656         * nptl/tst-setuid3.c: New file.
31657         * nptl/Makefile (tests): Add it.
31659 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31661         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
31662         New define.
31663         (__lll_trylock): Use __lll_base_trylock.
31664         (__lll_cond_trylock): Likewise.
31666 2014-07-10  Roland McGrath  <roland@hack.frob.com>
31668         * nptl/pthread_create.c (start_thread): Use atomic_or and
31669         lll_futex_wake directly rather than lll_robust_dead.
31670         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31671         (lll_robust_dead): Macro removed.
31672         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
31673         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31674         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31675         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31676         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31677         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31678         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31679         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31680         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31681         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31682         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31683         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31684         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31685         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31686         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31688         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
31689         Use atomic_compare_and_exchange_val_acq directly rather than
31690         lll_robust_trylock.
31691         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
31692         (__lll_robust_trylock, lll_robust_trylock): Removed.
31693         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
31694         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
31695         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
31696         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
31697         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
31698         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
31699         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
31700         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
31701         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
31702         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
31703         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31704         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
31705         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
31706         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
31708 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31710         * manual/locale.texi (Locale Names): New section documenting
31711         locale name syntax.  Adjust menu and node chaining accordingly.
31712         (Choosing Locale): Reference Locale Names, Locale Categories.
31713         Mention setting LC_ALL=C.  Reflect that name syntax is now
31714         documented.
31715         (Locale Categories): New section title.  Reference Locale Names.
31716         LC_ALL is an environment variable, but not a category.
31717         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
31718         description, now in Locale Name.  Reference that section.  Locale
31719         name syntax is now documented.
31721 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31723         [BZ #17137]
31724         * locale/findlocale.c (name_present, valid_locale_name): New
31725         functions.
31726         (_nl_find_locale): Use the loc_name variable to store name
31727         candidates.  Call name_present and valid_locale_name to check and
31728         validate locale names.  Return an error if the locale is invalid.
31730 2014-07-02  Florian Weimer  <fweimer@redhat.com>
31732         * locale/setlocale.c (setlocale): Use strdup for allocating
31733         composite name copy.
31735 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31737         Sync up with gnulib.
31738         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
31739         [!_LIBC && ENABLE_NLS]: Include gettext.h.
31740         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
31741         and _GL_ARG_NONNULL.
31742         [USE_UNLOCKED_IO]: Include unlocked-io.h.
31743         [!_LIBC]: Include code for Windows and Cygwin.
31744         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
31745         Include prototype for int strerror_r.
31746         [!_LIBC] (is_open): New function.
31747         (flush_stdout): New function.
31748         (print_errno_message): Use it.
31749         (error): Likewise.
31750         (error_at_line): Likewise.
31751         (error_tail) Add function attribute macros.  Use
31752         __builtin_expect.
31754         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
31756         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31758         * io/ftw.c: Include sys/param.h unconditionally.
31760         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31762         [BZ #17125]
31763         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31764         libc_freeres_ptr.
31765         (freecache): New function to free CACHE on exit.
31767         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31768         initialization.
31770 2014-07-09  David S. Miller  <davem@davemloft.net>
31772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31774         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31775         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31776         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31777         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31778         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31779         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31780         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31781         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31782         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31783         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31784         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31785         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31786         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31788 2014-07-09  Andreas Schwab  <schwab@suse.de>
31790         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31791         output.
31792         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31793         (do_test): Likewise.
31795         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31797 2014-07-09  Will Newton  <will.newton@linaro.org>
31799         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31800         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31801         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31802         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31803         * sysdeps/hppa/start.S (_start): Likewise.
31805 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31807         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31809         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31810         defined.
31812 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31814         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31815         after checking that it is non-NULL.
31817         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31819 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31821         * sysdeps/powerpc/memmove.c: Remove file.
31822         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31823         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31824         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31825         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31826         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31827         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31828         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31829         string memmove instead of removed powerpc one.
31831         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31832         [weak_alias]: Fix compiler warning due trailing data.
31833         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31834         [weak_alias]: Likewise.
31835         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31836         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31839         (__libc_ifunc_impl_list): Add memmove functions.
31841 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31843         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31844         Remove code.
31845         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31846         Likewise.
31847         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31848         Likewise.
31849         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31850         Likewise.
31851         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31852         Likewise.
31853         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31854         Likewise.
31855         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31856         Likewise.
31857         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31858         Likewise.
31859         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31860         Likewise.
31861         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31862         Likewise.
31863         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31864         Likewise.
31865         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31866         Likewise.
31867         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31868         Likewise.
31869         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31870         Likewise.
31871         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31872         Likewise.
31873         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31874         Likewise.
31875         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31876         Likewise.
31878 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31880         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31881         to avoid alignment traps in non-cacheable memory.
31882         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31884         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31885         multiarch objects.
31886         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31887         file: multiarch power7 memmove.
31888         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31889         multiarch default memmove.
31890         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31891         multiarch memove for powerpc32/power4.
31893         * string/bcopy.c: Use full path to include memmove.c.
31894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31895         multiarch objects.
31896         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31897         bcopy for powerpc64.
31898         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31899         bcopy for powerpc64.
31900         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31901         and memmove implementations.
31902         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31903         optimized multiarch memmove for POWER7/powerpc64.
31904         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31905         default multiarch memmove for powerpc64.
31906         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31907         multiarch for powerpc64.
31908         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31909         for POWER7/powerpc64.
31910         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31911         memmove for POWER7/powerpc64.
31913         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31914         glibc default one.
31916         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31917         __ELF_NATIVE_CLASS equal to 64.
31919 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31921         * sysdeps/nptl/lowlevellock.h: File removed.
31923         * NEWS: NPTL is no longer an add-on!
31924         * nptl/internaltypes.h: Moved ...
31925         * sysdeps/nptl/internaltypes.h: ... here.
31926         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31927         * sysdeps/nptl/fork.c: Likewise.
31928         * sysdeps/nptl/gai_misc.h: Likewise.
31929         * sysdeps/nptl/librt-cancellation.c: Likewise.
31930         * sysdeps/nptl/jmp-unwind.c: Likewise.
31931         * sysdeps/nptl/setxid.h: Likewise.
31932         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31933         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31934         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31935         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31936         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31937         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31938         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31939         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31940         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31941         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31942         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31943         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31944         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31945         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31946         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31947         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31948         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31949         * nptl/Makeconfig: Moved ...
31950         * sysdeps/nptl/Makeconfig: ... here.
31951         * nptl/configure: File removed.
31952         * nptl/ANNOUNCE: File removed.
31953         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31954         * sysdeps/unix/sysv/linux/configure: Regenerated.
31956         * nptl/Makefile (routines): Add libc_pthread_init,
31957         libc_multiple_threads, register-atfork and unregister-atfork.
31958         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31959         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31960         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31961         pthread-pi-defines.sym, structsem.sym.
31962         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31963         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31964         [$(subdir) = nptl] (tests): Add tst-setgetname.
31965         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31966         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31967         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31968         [!LIBC_SIGACTION]: Remove aliases.
31969         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31970         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31971         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31972         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31973         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31974         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31975         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31976         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31977         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31978         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31979         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31980         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31981         __libc_allocate_rtsig_private.
31982         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31983         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31984         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31985         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31986         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31987         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31988         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31989         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31990         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31991         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31992         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31993         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31994         * nptl/internaltypes.h: ... here.
31995         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31996         * sysdeps/nptl/jmp-unwind.c: ... here.
31997         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31998         * nptl/libc-lowlevellock.c: ... here.
31999         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32000         * nptl/libc_multiple_threads.c: ... here.
32001         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32002         * nptl/libc_pthread_init.c: ... here.
32003         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32004         * nptl/lowlevelbarrier.sym: ... here.
32005         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32006         * nptl/lowlevelcond.sym: ... here.
32007         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32008         * nptl/lowlevellock.c: ... here.
32009         * nptl/lowlevellock.h: Moved ...
32010         * sysdeps/nptl/lowlevellock.h: ... here.
32011         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32012         * nptl/lowlevelrobustlock.c: ... here.
32013         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32014         * nptl/lowlevelrobustlock.sym: ... here.
32015         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32016         * nptl/lowlevelrwlock.sym: ... here.
32017         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32018         * nptl/pt-fork.c: ... here.
32019         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32020         * nptl/pthread-pi-defines.sym: ... here.
32021         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32022         * nptl/pthread_attr_getaffinity.c: ... here.
32023         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32024         * nptl/pthread_attr_setaffinity.c: ... here.
32025         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32026         * nptl/pthread_mutex_cond_lock.c: ... here.
32027         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32028         Update #include.
32029         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32030         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32031         * nptl/pthread_once.c: ... here, replacing old file.
32032         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32033         * nptl/pthread_yield.c: ... here.
32034         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32035         * nptl/register-atfork.c: ... here.
32036         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32037         * nptl/sem_post.c: ... here.
32038         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32039         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32040         * nptl/sem_timedwait.c: ... here.
32041         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32042         * nptl/sem_trywait.c: ... here.
32043         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32044         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32045         * nptl/sem_wait.c: ... here.
32046         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32047         * nptl/structsem.sym: ... here.
32048         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32049         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32050         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32051         * nptl/unregister-atfork.c: ... here.
32052         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32053         * nptl/unwindbuf.sym: ... here.
32054         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32055         * sysdeps/nptl/fork.c: ... here.
32056         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32057         * sysdeps/nptl/fork.h: ... here.
32058         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32059         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32060         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32061         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32062         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32063         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32064         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32065         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32066         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32067         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32068         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32069         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32070         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32071         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32072         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32073         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32074         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32075         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32076         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32077         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32078         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32079         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32080         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32081         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32082         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32083         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32084         * sysdeps/unix/sysv/linux/raise.c: ... here.
32085         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32086         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32087         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32088         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32089         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32090         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32091         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32092         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32093         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32094         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32095         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32096         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32097         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32098         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32099         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32101 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32103         * sysdeps/generic/memcopy.h: Add comment for
32104         MEMCPY_OK_FOR_FWD_MEMMOVE.
32106 2014-07-04  Will Newton  <will.newton@linaro.org>
32108         * string/memchr.c: Merge from gnulib.
32109         [_LIBC]: Remove conditionals.
32110         (__ptr_t): Remove define.
32111         (LONG_MAX_32_BITS): Likewise.
32112         (LONG_MAX): Likewise.
32113         (MEMCHR): Use ANSI prototype and optimize algorithm.
32115         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32117 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32119         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32120         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32122         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32123         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32124         in a bare environment with no <stdlib.h> installed.
32125         * sysdeps/nptl/configure: Regenerated.
32127         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32129         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32130         AC_EGREP_CPP for kernel header checks, so they only succeed if
32131         including <linux/version.h> actually works right.
32132         * sysdeps/unix/sysv/linux/configure: Regenerated.
32134         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32135         value so it's not diagnosed as unused.
32137         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32138         thing) with "ifeq ($(subdir),rt)".
32140 2014-07-03  Richard Henderson  <rth@redhat.com>
32142         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32143         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32144         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32146         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32147         (math_force_eval): New.
32149         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32150         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32152         * sysdeps/alpha/fpu/s_round.c: Remove file.
32153         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32155         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32156         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32157         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32158         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32159         (_dl_start, print_statistics): Likewise.
32160         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32161         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32163         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32164         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32165         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32166         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32167         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32168         (HP_SMALL_TIMING_AVAIL): Define.
32169         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32170         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32171         (HP_SMALL_TIMING_AVAIL): Define.
32172         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32173         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32175         * sysdeps/aarch64/hp-timing.h: New file.
32177         * sysdeps/generic/hp-timing.h: Remove dead comment.
32178         * sysdeps/generic/hp-timing-common.h: New file.
32179         * sysdeps/alpha/hp-timing.h: Include it.
32180         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32181         * sysdeps/i386/i686/hp-timing.h: Likewise.
32182         * sysdeps/ia64/hp-timing.h: Likewise.
32183         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32184         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32185         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32186         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32187         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32188         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32189         (hp_timing_t): New.
32191         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32192         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32193         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32194         * elf/rtld.c (_dl_start_final): Likewise.
32195         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32196         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32197         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32198         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32199         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32200         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32201         (HP_TIMING_DIFF_INIT): Remove.
32202         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32203         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32204         (HP_TIMING_DIFF_INIT): Remove.
32205         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32206         * sysdeps/i386/i686/hp-timing.c: Remove file.
32207         * sysdeps/x86_64/hp-timing.c: Remove file.
32208         * sysdeps/ia64/hp-timing.c: Remove file.
32209         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32210         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32211         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32212         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32214         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32215         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32216         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32217         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32218         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32219         (HP_TIMING_ACCUM): Remove.
32220         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32221         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32222         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32224         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32225         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32226         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32227         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32228         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32229         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32230         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32231         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32233         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32235 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32237         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32239 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32241         Sync up with gettext.
32242         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32243         [_MSC_VER]: Include malloc.h
32244         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32245         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32246         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32247         TEMP_FAILURE_RETRY.  Cast return of alloca.
32248         [!_LIBC] Call gl_rwlock_init.
32249         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32251 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32253         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32254         before checking its value.
32256 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32258         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32260         * debug/memcpy_chk.c: Don't include pagecopy.h.
32261         * debug/mempcpy_chk.c: Likewise.
32262         * string/memcpy.c: Likewise.
32263         * string/memmove.c: Likewise.
32264         * sysdeps/powerpc/memmove.c: Likewise.
32265         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32266         definition of PAGE_COPY_FWD_MAYBE here...
32267         * sysdeps/generic/pagecopy.h: ... from here.
32268         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32270 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32271             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32273         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32275         optimizations.
32276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32277         (__libc_ifunc_impl_list): Likewise.
32278         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32279         multiarch strcat for PPC64.
32280         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32281         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32283 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32285         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32287 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32289         * intl/loadmsgcat.c: Remove declaration of
32290         get_sysdep_segment_value.
32291         (get_sysdep_segment_value): Use ISO C style.
32292         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32293         semicolon.  Fix typo and formatting in comment.
32294         (_nl_unload_domain): Use ISO C style.
32296         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32298 2014-07-02  Will Newton  <will.newton@linaro.org>
32300         * malloc/obstack.c: Merge from gnulib master.
32301         [HAVE_CONFIG_H]: Remove conditional code.
32302         [!_LIBC]: Include config.h.
32303         [!ELIDE_CODE]: Don't include inttypes.h, include
32304         stdint.h unconditionally.
32305         (print_and_abort): Mark as _Noreturn.
32306         (_obstack_allocated_p): Mark as __attribute_pure__.
32307         (obstack_free): Rename to __obstack_free.
32308         [!__attribute__]: Remove conditional code.
32309         * malloc/obstack.h: Merge from gnulib master.
32310         [__cplusplus]: Move conditional down.
32311         [!__attribute_pure__]: Define __attribute_pure__ here
32312         if it is not already defined.
32313         (_obstack_memory_used): Mark as __attribute_pure__.
32314         [!__obstack_free]: Define as obstack_free.
32315         [__GNUC__]: Remove check for ancient NeXT gcc.
32317 2014-07-02  Will Newton  <will.newton@linaro.org>
32318             Paul Eggert  <eggert@cs.ucla.edu>
32320         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32322 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32324         * resolv/gethnamaddr.c: Add comment warning that the file is
32325         not maintained.
32327 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32329         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32330         entries.
32332         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32333         entry for aio_cancel and aio_cancel64.
32334         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32335         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32336         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32337         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32338         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32339         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32340         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32341         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32342         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32343         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32344         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32345         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32346         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32348 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32350         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32351         * nptl/pthread_mutex_lock.c: Likewise.
32352         * nptl/pthread_mutex_timedlock.c: Likewise.
32353         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32355 2014-07-01  Richard henderson  <rth@redhat.com>
32357         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32358         (__isnan, __isnanl): Remove.
32359         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32361         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32363 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32365         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32367 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32369         * resolv/nss_dns/dns-host.c (getanswer_r)
32370         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32372 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32374         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32375         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32376         undefine.
32377         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32378         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32380 2014-07-01  Roland McGrath <roland@hack.frob.com>
32382         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32383         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32385         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32386         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32388         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32389         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32390         ... here.
32391         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32392         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32394         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32395         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32396         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32397         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32399         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32400         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32401         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32402         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32403         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32404         Moved ...
32405         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32406         ... here.
32407         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32408         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32409         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32410         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32411         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32412         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32413         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32414         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32415         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32416         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32417         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32418         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32419         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32420         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32421         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32422         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32423         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32424         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32425         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32426         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32427         ... here.
32428         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32429         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32430         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32431         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32432         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32433         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32434         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32435         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32437 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32439         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32440         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32441         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32442         Add sysdep.
32444 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32448 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32450         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32451         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32453         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32455         * sysdeps/arm/libm-test-ulps: Regenerated.
32457 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32458             Roland McGrath <roland@hack.frob.com>
32460         * test-skeleton.c (signal_handler): Kill the whole process group
32461         before killing the child individually.
32462         (main): Report any failure on `setpgid'.
32464 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32466         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32467         from _TLS_H to _ARM_NPTL_TLS_H.
32468         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32469         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32471 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32473         [BZ #16539]
32474         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32475         (__expm1l): Return argument unchanged when small but not
32476         subnormal.
32478         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32479         include macro name.
32480         (_FP_UNPACK_RAW_1_P): Likewise.
32481         (_FP_PACK_RAW_1): Likewise.
32482         (_FP_PACK_RAW_1_P): Likewise.
32483         (_FP_MUL_MEAT_1_wide): Likewise.
32484         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32485         (_FP_MUL_MEAT_1_hard): Likewise.
32486         (_FP_DIV_MEAT_1_imm): Likewise.
32487         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32488         (_FP_DIV_MEAT_1_udiv): Likewise.
32489         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32490         (_FP_UNPACK_RAW_2): Likewise.
32491         (_FP_UNPACK_RAW_2_P): Likewise.
32492         (_FP_PACK_RAW_2): Likewise.
32493         (_FP_PACK_RAW_2_P): Likewise.
32494         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32495         (_FP_MUL_MEAT_2_wide): Likewise.
32496         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32497         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32498         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32499         (_FP_MUL_MEAT_2_gmp): Likewise.
32500         (_FP_DIV_MEAT_2_udiv): Likewise.
32501         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32502         (_FP_FRAC_SRL_4): Likewise.
32503         (_FP_FRAC_SRST_4): Likewise.
32504         (_FP_FRAC_SRS_4): Likewise.
32505         (_FP_UNPACK_RAW_4): Likewise.
32506         (_FP_UNPACK_RAW_4_P): Likewise.
32507         (_FP_PACK_RAW_4): Likewise.
32508         (_FP_PACK_RAW_4_P): Likewise.
32509         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32510         (_FP_MUL_MEAT_4_wide): Likewise.
32511         (_FP_MUL_MEAT_4_gmp): Likewise.
32512         (umul_ppppmnnn): Likewise.
32513         (_FP_DIV_MEAT_4_udiv): Likewise.
32514         (__FP_FRAC_ADD_4): Likewise.
32515         (__FP_FRAC_SUB_3): Likewise.
32516         (__FP_FRAC_SUB_4): Likewise.
32517         (__FP_FRAC_DEC_3): Likewise.
32518         (__FP_FRAC_DEC_4): Likewise.
32519         (__FP_FRAC_ADDI_4): Likewise.
32520         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32521         (_FP_FRAC_SRL_8): Likewise.
32522         (_FP_FRAC_SRS_8): Likewise.
32524         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32525         include macro name.
32526         (FP_UNPACK_RAW_EP): Likewise.
32527         (FP_PACK_RAW_E): Likewise.
32528         (FP_PACK_RAW_EP): Likewise.
32529         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32530         (_FP_ISSIGNAN): Likewise.
32531         (_FP_ADD_INTERNAL): Likewise.
32532         (_FP_FMA): Likewise.
32533         (_FP_CMP): Likewise.
32534         (_FP_SQRT): Likewise.
32535         (_FP_TO_INT): Likewise.
32536         (_FP_FROM_INT): Likewise.
32537         (FP_EXTEND): Likewise.
32538         (_FP_DIV_MEAT_N_loop): Likewise.
32540 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32542         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32543         throughout.
32545 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32547         [BZ #17097]
32548         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32549         result with correct sign in case of exponents that produce
32550         overflow except for X very close to 1.
32552 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32554         mktime: merge #if/#ifdef usage from glibc
32555         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32556         as that works with both Glibc's and Gnulib's style.
32557         See thread starting at Siddhesh Poyarekar's bug report at:
32558         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32560 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32562         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32563         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32564         * sysdeps/tile/tilegx/memmove.c: Remove file.
32566 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32568         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32569         abi-name definition.
32570         * scripts/soversions.awk: Do not handle or generate ABI lines.
32571         * shlib-versions: Remove ABI entries.
32572         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
32573         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
32575 2014-06-27  Roland McGrath  <roland@hack.frob.com>
32577         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
32578         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
32579         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
32580         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
32581         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
32582         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
32583         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
32584         Moved ...
32585         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
32586         ... here.
32587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
32588         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
32589         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
32590         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
32591         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
32592         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
32593         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
32594         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
32595         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
32596         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
32597         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
32598         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
32599         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
32600         Moved ...
32601         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
32602         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
32603         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
32604         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
32605         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
32606         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
32607         Moved ...
32608         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
32609         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
32610         Moved ...
32611         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
32612         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
32613         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
32614         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
32615         Moved ...
32616         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
32617         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
32618         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
32619         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
32620         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
32621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
32622         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
32623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
32624         Moved ...
32625         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
32626         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
32627         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
32628         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
32629         Moved ...
32630         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
32631         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
32632         Moved ...
32633         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
32634         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
32635         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
32636         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
32637         Moved ...
32638         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
32639         ... here.
32640         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
32641         Identical file removed.
32642         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
32643         Moved ...
32644         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
32645         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
32646         Identical file removed.
32647         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
32648         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
32649         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
32650         Moved ...
32651         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
32652         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
32653         Identical file removed.
32654         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
32655         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
32656         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
32657         Identical file removed.
32658         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
32659         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
32660         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
32661         Identical file removed.
32662         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
32663         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
32664         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
32665         Identical file removed.
32666         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
32667         Moved ...
32668         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
32669         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
32670         Identical file removed.
32671         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
32672         Moved ...
32673         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
32674         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
32675         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
32676         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
32677         Identical file removed.
32678         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
32679         Moved ...
32680         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
32681         ... here.
32682         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
32683         Identical file removed.
32684         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
32685         Moved ...
32686         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
32687         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
32688         Identical file removed.
32689         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
32690         Moved ...
32691         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
32692         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
32693         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
32694         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
32695         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
32696         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
32697         Moved ...
32698         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
32699         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
32700         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
32702         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
32703         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
32704         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
32705         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
32706         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
32708 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
32710         [BZ #17092]
32711         * nscd/nscd.c (monitor_child): Return exit status of child
32712         instead of return value from wait syscall.
32714 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32716         * configure.ac (libc_commonpagesize): Remove variable.
32717         (libc_relro_required): Likewise.
32718         (libc_cv_z_relro): Remove configure test.
32719         * configure: Regenerated.
32720         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
32721         variable.
32722         (libc_relro_required): Likewise.
32723         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
32724         (libc_relro_required): Likewise.
32725         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
32726         (libc_relro_required): Likewise.
32727         * sysdeps/arm/preconfigure: Regenerated.
32728         * sysdeps/ia64/preconfigure: Remove file.
32729         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
32730         variable.
32731         (libc_relro_required): Likewise.
32733         [BZ #16561]
32734         [BZ #16562]
32735         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
32736         (__ieee754_yn): Set FE_TONEAREST mode internally and then
32737         recompute overflowing results in original rounding mode.
32738         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
32739         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
32740         recompute overflowing results in original rounding mode.
32741         * sysdeps/ieee754/ldbl-128/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/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
32745         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32746         recompute overflowing results in original rounding mode.
32747         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
32748         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
32749         recompute overflowing results in original rounding mode.
32750         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
32751         (libc_feholdsetround_ctx): New macro.
32752         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
32753         * sysdeps/i386/fpu/libm-test-ulps: Update.
32754         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
32756 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32758         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32759         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32760         corresponding .cpsetup call.
32762 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32764         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32765         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32766         * sysdeps/arm/Makefile [$(subdir) = csu]
32767         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32768         (static-only-routines): Add aeabi_read_tp here.
32769         (shared-only-routines): Add libc-aeabi_read_tp here.
32770         (CFLAGS-libc-start.c): Add -fexceptions here.
32771         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32772         (sysdep_routines, static-only-routines, shared-only-routines):
32773         Don't add to these here.
32774         (CFLAGS-libc-start.c): Likewise.
32776         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32777         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32778         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32779         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32780         * sysdeps/arm/Makefile [$(subdir) = rt]
32781         (librt-sysdep_routines, librt-shared-only-routines):
32782         Append rt-aeabi_unwind_cpp_pr1 here.
32783         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32784         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32785         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32786         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32787         Append nptl-aeabi_unwind_cpp_pr1 here.
32788         (tests): Filter out tst-cleanupx4 here.
32789         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32790         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32791         Don't do those here.
32793 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32795         * scripts/list-sources.sh: Do not handle ports specially.
32797 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32799         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32800         * sysdeps/arm/feupdateenv.c: Likewise.
32802         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32804 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32806         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32807         trailing whitespace removed.
32808         * scripts/config.guess: Update to version 2014-03-23.
32809         * scripts/config.sub: Update to version 2014-05-01
32810         * scripts/install-sh: Update to version 2013-12-25.23.
32811         * scripts/move-if-change: Update from gnulib.
32813 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32815         * debug/memmove_chk.c: Remove pagecopy.h include.
32817 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32819         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32820         identical to gnulib mktime.
32822 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32824         * configure.ac: Do not test for machine being rs6000.  Do not test
32825         for powerpc*-*soft.
32826         * configure: Regenerated.
32828         [BZ #11505]
32829         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32830         test.
32831         * configure: Regenerated.
32832         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32833         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32834         Remove configure test.
32835         * sysdeps/arm/configure: Regenerated.
32836         * sysdeps/nptl/configure.ac: Do not check
32837         libc_cv_asm_cfi_directives.
32838         * sysdeps/nptl/configure: Regenerated.
32839         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32840         * sysdeps/x86_64/nptl/configure: Remove generated file.
32841         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32842         unconditional.
32843         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32845 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32847         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32848         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32849         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32850         it is defined.
32852         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32853         instead of whether it is defined.
32854         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32855         * sysdeps/hppa/dl-machine.h: Likewise.
32856         * sysdeps/ia64/dl-machine.h: Likewise.
32857         * sysdeps/m68k/dl-machine.h: Likewise.
32858         * sysdeps/microblaze/dl-machine.h: Likewise.
32859         * sysdeps/mips/dl-machine.: Likewise.
32860         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32861         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32862         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32863         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32864         * sysdeps/sh/dl-machine.h: Likewise.
32865         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32866         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32867         * sysdeps/tile/dl-machine.h: Likewise.
32868         * sysdeps/x86_64/dl-machine.h: Likewise.
32870         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32871         code.
32872         (verify_persistent_db): Likewise.
32874 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32877         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32879         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32881         Moved ...
32882         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32883         ... here.
32884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32885         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32887         Identical file removed.
32888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32889         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32891         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32893         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32895         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32897         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32899         Moved ...
32900         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32902         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32904         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32906         Moved ...
32907         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32909         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32911         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32913         Identical file removed.
32914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32915         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32917         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32919         Moved ...
32920         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32921         ... here.
32922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32923         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32925         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32927         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32929         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32931         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32933         Moved ...
32934         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32936         Moved ...
32937         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32939         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32941         Moved ...
32942         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32944         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32946         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32947         folded into ...
32948         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32949         * sysdeps/unix/sysv/linux/s390/Versions
32950         (libpthread: GLIBC_2.19): New version set.
32951         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32952         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32953         (librt: GLIBC_2.3.3): New version set.
32954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32955         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32956         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32957         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32958         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32959         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32960         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32961         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32962         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32963         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32964         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32965         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32966         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32967         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32968         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32969         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32970         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32971         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32972         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32973         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32974         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32975         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32976         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32977         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32978         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32979         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32980         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32981         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32982         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32983         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32984         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32985         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32986         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32988         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32989         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32990         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32991         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32992         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32994         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32996         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32997         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32998         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33000         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33001         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33002         (__libc_vfork): Define the function under this name.
33003         [!NOT_IN_libc] (__vfork): Make this an alias.
33004         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33005         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33006         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33007         (__libc_vfork): Define the function under this name.
33008         [!NOT_IN_libc] (__vfork): Make this an alias.
33009         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33010         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33011         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33012         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33013         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33014         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33016         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33017         code that was previously under [RESET_PID].
33018         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33019         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33022         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33023         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33024         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33025         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33026         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33027         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33028         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33029         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33030         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33031         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33032         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33033         Moved ...
33034         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33035         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33036         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33037         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33038         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33039         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33040         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33041         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33042         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33043         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33044         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33045         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33046         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33047         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33048         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33049         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33050         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33051         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33052         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33053         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33054         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33055         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33056         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33057         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33058         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33059         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33060         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33061         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33062         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33064 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33066         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33067         that was previously under [RESET_PID].
33068         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33070 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33072         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33073         not undefine and redefine.
33074         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33075         [O_CLOEXEC]: Make code unconditional.
33076         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33077         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33078         <kernel-features.h>.
33079         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33080         conditional variable definition.
33081         (shm_open) [O_CLOEXEC]: Make code unconditional.
33082         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33083         code.
33085         * configure.ac (USE_REGPARMS): Don't define here.
33086         * configure: Regenerated.
33087         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33088         * sysdeps/i386/configure: Regenerated.
33090         * nptl/createthread.c: Don't include kernel-features.h.
33091         * nptl/pthread_cancel.c: Likewise.
33092         * nptl/pthread_condattr_setclock.c: Likewise.
33093         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33094         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33095         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33096         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33097         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33098         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33099         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33100         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33101         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33102         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33103         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33104         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33105         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33106         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33107         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33108         * nscd/gai.c: Likewise.
33109         * nss/nss_db/db-open.c: Likewise.
33110         * sysdeps/generic/ldsodefs.h: Likewise.
33111         * sysdeps/sh/nptl/tls.h: Likewise.
33112         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33113         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33114         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33115         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33116         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33117         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33118         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33119         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33120         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33121         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33122         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33123         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33124         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33125         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33126         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33127         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33128         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33129         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33130         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33131         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33132         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33133         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33134         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33135         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33136         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33138         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33139         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33140         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33141         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33142         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33143         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33144         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33145         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33146         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33147         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33148         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33149         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33150         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33151         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33152         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33153         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33154         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33155         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33156         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33157         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33158         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33159         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33160         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33161         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33162         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33163         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33164         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33165         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33166         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33167         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33168         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33169         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33192         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33193         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33194         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33195         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33196         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33197         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33198         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33199         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33200         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33201         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33202         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33203         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33204         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33205         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33206         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33207         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33208         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33209         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33210         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33211         * sysdeps/unix/sysv/linux/system.c: Likewise.
33212         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33213         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33214         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33215         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33216         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33217         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33218         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33220         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33221         * configure: Regenerated.
33222         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33224         * configure.ac (base_machine): Do not set specially for particular
33225         machines here.
33226         * configure: Regenerated.
33227         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33228         settings from configure.ac.
33229         * sysdeps/i386/preconfigure: New file.
33230         * sysdeps/s390/preconfigure: Likewise.
33231         * sysdeps/sh/preconfigure: Likewise.
33232         * sysdeps/sparc/preconfigure: Likewise.
33234 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33236         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33237         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33238         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33239         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33240         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33241         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33242         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33243         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33244         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33245         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33246         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33247         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33248         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33249         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33250         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33251         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33252         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33253         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33254         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33256         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33257         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33258         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33259         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33260         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33261         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33262         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33263         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33264         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33265         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33266         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33267         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33268         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33269         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33270         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33271         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33272         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33273         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33274         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33275         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33276         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33277         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33278         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33279         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33280         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33281         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33282         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33283         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33284         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33285         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33286         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33287         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33288         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33289         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33290         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33291         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33292         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33293         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33296         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33298         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33300         Moved ...
33301         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33302         ... here.
33303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33304         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33306         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33308         Moved ...
33309         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33311         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33313         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33315         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33317         Moved ...
33318         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33319         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33320         Moved ...
33321         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33323         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33325         Moved ...
33326         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33328         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33330         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33332         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33334         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33336         Moved ...
33337         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33338         ... here.
33339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33340         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33342         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33344         Moved ...
33345         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33346         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33347         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33349         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33351         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33353         Moved ...
33354         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33356         Moved ...
33357         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33359         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33361         Moved ...
33362         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33364         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33365         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33366         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33368 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33370         * timezone/checktab.awk: Update from tzcode 2014e.
33371         * timezone/private.h: Likewise.
33372         * timezone/tzfile.h: Likewise.
33373         * timezone/zdump.c: Likewise.
33374         * timezone/zic.c: Likewise.
33376         * sysdeps/unix/sysv/linux/kernel-features.h
33377         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33378         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33379         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33380         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33381         Remove conditional code.
33383 2014-06-25  Will Newton  <will.newton@linaro.org>
33385         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33386         (_dl_arm_cap_flags): Add HWCAP2 values.
33387         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33388         (_DL_HWCAP_COUNT): Increase to 37.
33389         (_DL_HWCAP_LAST): New define.
33390         (_DL_HWCAP2_LAST): New define.
33391         (_dl_procinfo): Add support for printing
33392         AT_HWCAP2 entries.
33393         (_dl_string_hwcap): Use _dl_hwcap_string.
33395 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33399 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33401         * README: Do not mention ports directory.
33403         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33404         Remove macro.
33405         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33406         <kernel-features.h>.
33407         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33408         conditional variable definition.
33409         (__futimes): Update comment.
33410         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33411         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33413         [BZ #16560]
33414         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33415         arguments close to 0.
33416         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33417         Likewise.
33418         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33419         Likewise.
33420         * math/auto-libm-test-in: Add more tests of exp10.
33421         * math/auto-libm-test-out: Regenerated.
33422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33424         * sysdeps/unix/sysv/linux/kernel-features.h
33425         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33426         * sysdeps/unix/sysv/linux/readv.c: Do not include
33427         <kernel-features.h>.
33428         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33429         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33430         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33431         unconditional.
33432         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33433         conditional code.
33434         * sysdeps/unix/sysv/linux/writev.c: Do not include
33435         <kernel-features.h>.
33436         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33437         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33438         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33439         unconditional.
33440         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33441         conditional code.
33443 2014-06-25  Will Newton  <will.newton@linaro.org>
33445         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33446         comment changes throughout the file.  Remove checks
33447         for HAVE_*_H definitions that are not required.
33448         (__gen_tempname): Call abort if an unknown kind value is
33449         passed.
33451 2014-06-25  Andreas Schwab  <schwab@suse.de>
33453         [BZ #17086]
33454         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33455         scalbln, scalblnf, scalblnl in libc.
33457 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33459         [BZ #17086]
33460         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33461         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33462         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33464 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33466         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33467         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33468         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33469         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33470         Update #include.
33471         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33472         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33473         Update #include.
33474         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33475         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33476         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33477         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33478         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33479         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33480         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33481         * sysdeps/x86/bits/semaphore.h: ... here.
33482         * sysdeps/x86/nptl/elide.h: Moved ...
33483         * sysdeps/x86/elide.h: ... here.
33484         * sysdeps/x86_64/nptl/Implies: File removed.
33485         * sysdeps/i386/nptl/Implies: File removed.
33487 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33489         [BZ #16539]
33490         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33491         return the argument for normal arguments with exponent below -64.
33492         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33493         Likewise.
33494         * math/auto-libm-test-in: Add another test of expm1.
33495         * math/auto-libm-test-out: Regenerated.
33497         [BZ #16287]
33498         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33499         calling __erfcl for arguments at least 16.
33500         * math/auto-libm-test-in: Add more tests of erf.
33501         * math/auto-libm-test-out: Regenerated.
33503         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33504         individual architectures.
33505         * sysdeps/unix/sysv/linux/configure: Regenerated.
33506         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33507         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33508         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33509         (ldd_rewrite_script): Define variable.
33510         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33512         file.
33513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33514         generated file.
33515         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33516         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33517         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33518         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33519         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33520         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33521         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33522         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33524 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33526         [BZ #17084]
33527         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33528         Rename member __data.d to __data.__elision_data.
33530 2014-06-24  Wilco  <wdijkstr@arm.com>
33532         * NEWS: Add 16918 to fixed bug list.
33534 2014-06-24  Wilco  <wdijkstr@arm.com>
33536         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33538 2014-06-24  Wilco  <wdijkstr@arm.com>
33540         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33541         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33542         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33543         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33544         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33545         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33546         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33547         Use _FPU_MASK_RM.
33549 2014-06-24  Wilco  <wdijkstr@arm.com>
33551         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33553 2014-06-24  Wilco  <wdijkstr@arm.com>
33555         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33556         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33557         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33558         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33560 2014-06-24  Wilco  <wdijkstr@arm.com>
33562         [BZ #16918]
33563         * sysdeps/arm/feupdateenv.c (feupdateenv):
33564         Rewrite to reduce FPSCR accesses and fix return value.
33566 2014-06-24  Wilco  <wdijkstr@arm.com>
33568         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33569         Optimize to avoid unnecessary FPSCR writes.
33570         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33571         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33572         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
33573         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
33575 2014-06-24  Wilco  <wdijkstr@arm.com>
33577         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
33578         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
33579         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
33580         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
33581         Call libc_fetestexcept_vfp.
33582         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
33583         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
33584         __SOFTFP__ ifdef so that they can be built for softfp.
33586 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33588         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
33589         argument type signed char.
33591         * Makerules (check-abi): Dump diff of symlist if the test
33592         fails.
33594 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33596         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
33597         using abort.
33599         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33600         Remove unused variable ST.
33602 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33604         [BZ #16354]
33605         [BZ #17061]
33606         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
33607         small arguments before calling __expm1.
33608         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
33609         small arguments before calling __expm1f.
33610         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
33611         small arguments before calling __expm1l.
33612         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33613         Likewise.
33614         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
33615         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
33616         spurious underflow for some cosh tests.
33617         * math/auto-libm-test-out: Regenerated.
33618         * sysdeps/i386/fpu/libm-test-ulps: Update.
33620         [BZ #17050]
33621         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
33622         (__ieee754_y1): Set errno if return value overflows.
33623         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
33624         (__ieee754_y1f): Set errno if return value overflows.
33625         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
33626         (__ieee754_y1l): Set errno if return value overflows.
33627         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
33628         (__ieee754_y1l): Set errno if return value overflows.
33629         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
33630         * math/auto-libm-test-out: Regenerated.
33632         * math/gen-auto-libm-tests.c: Document use of
33633         ignore-zero-inf-sign.
33634         (input_flag_type): Add value flag_ignore_zero_inf_sign.
33635         (input_flags): Add ignore-zero-inf-sign.
33636         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
33637         * math/gen-libm-test.pl (generate_testfile): Handle
33638         ignore-zero-inf-sign.
33639         * math/auto-libm-test-in: Mark some cpow tests with
33640         ignore-zero-inf-sign and some with xfail-rounding.
33641         * math/auto-libm-test-out: Regenerated.
33642         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
33643         * sysdeps/i386/fpu/libm-test-ulps: Update.
33644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33646         [BZ #16315]
33647         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
33648         overflowing or underflowing operations take place with sign of
33649         result.
33650         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33651         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
33652         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
33653         (__ieee754_pow): Recompute overflowing and underflowing results in
33654         original rounding mode.
33655         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
33656         (__powl_helper): Allow negative argument X and scale negated value
33657         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
33658         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
33659         overflowing or underflowing operations take place with sign of
33660         result.
33661         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
33662         Include <math.h>.
33663         * math/auto-libm-test-in: Add more tests of pow.
33664         * math/auto-libm-test-out: Regenerated.
33665         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
33666         (pow_tonearest_test_data): Remove.
33667         (pow_test_tonearest): Likewise.
33668         (pow_towardzero_test_data): Likewise.
33669         (pow_test_towardzero): Likewise.
33670         (pow_downward_test_data): Likewise.
33671         (pow_test_downward): Likewise.
33672         (pow_upward_test_data): Likewise.
33673         (pow_test_upward): Likewise.
33674         (main): Don't call removed functions.
33675         * sysdeps/i386/fpu/libm-test-ulps: Update.
33676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33678 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
33681         Moved ...
33682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
33683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33684         Moved ...
33685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
33686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33687         Moved ...
33688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
33689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33690         Moved ...
33691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
33692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33693         File removed.
33694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33695         File removed.
33696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
33697         File removed.
33698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
33699         File removed.
33700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
33701         File removed.
33702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
33703         File removed.
33704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
33705         File removed.
33706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33707         File removed.
33708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
33709         File removed.
33710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33711         File removed.
33712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
33713         File removed.
33714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
33715         File removed.
33716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
33717         Moved ...
33718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
33719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
33720         Moved ...
33721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
33722         ... here.
33723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
33724         Moved ...
33725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
33726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
33727         Moved ...
33728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
33729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
33730         Moved ...
33731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
33732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
33733         Moved ...
33734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
33735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
33736         Moved ...
33737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
33738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
33739         Moved ...
33740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
33741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
33742         Moved ...
33743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
33744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
33745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
33746         ... here.
33747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
33748         Moved ...
33749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
33750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
33751         Moved ...
33752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
33753         ... here.
33754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
33755         Moved ...
33756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
33757         ... here.
33758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33759         Moved ...
33760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33761         ... here.
33762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33763         Moved ...
33764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33766         Moved ...
33767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33771         Moved ...
33772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33773         ... here.
33774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33775         Moved ...
33776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33777         ... here.
33778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33779         Moved ...
33780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33782         Moved ...
33783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33785         Moved ...
33786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33788         Moved ...
33789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33791         Moved ...
33792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33793         ... here.
33794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33795         Moved ...
33796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33798         Moved ...
33799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33801         Moved ...
33802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33804         Moved ...
33805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33809         Moved ...
33810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33812         Moved ...
33813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33815         Moved ...
33816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33817         ... here.
33818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33819         Moved ...
33820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33821         ... here.
33822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33823         Moved ...
33824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33825         ... here.
33826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33827         Moved ...
33828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33830         Moved ...
33831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33833         Moved ...
33834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33836         Moved ...
33837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33838         ... here.
33839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33840         Moved ...
33841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33842         ... here.
33843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33844         Moved ...
33845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33846         ... here.
33847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33848         Moved ...
33849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33851         Moved ...
33852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33854 2014-06-23  Will Newton  <will.newton@linaro.org>
33855             Wilco  <wdijkstr@arm.com>
33857         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33858         implementation.  Include get-rounding-mode.h.
33859         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33860         [!libc_feholdsetround_noex_ctx]: Define
33861         libc_feholdsetround_noex_ctx.
33862         [!libc_feholdsetround_noexf_ctx]: Define
33863         libc_feholdsetround_noexf_ctx.
33864         [!libc_feholdsetround_noexl_ctx]: Define
33865         libc_feholdsetround_noexl_ctx.
33866         (libc_feholdsetround_ctx): New function.
33867         (libc_feresetround_ctx): New function.
33868         (libc_feholdsetround_noex_ctx): New function.
33869         (libc_feresetround_noex_ctx): New function.
33871 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33873         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33874         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33875         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33876         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33877         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33878         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33880         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33881         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33882         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33883         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33884         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33885         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33886         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33887         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33888         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33889         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33890         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33891         Moved ...
33892         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33893         ... here.
33894         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33895         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33896         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33897         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33898         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33899         Moved ...
33900         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33901         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33902         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33903         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33904         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33905         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33906         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33907         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33908         Moved ...
33909         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33910         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33911         Moved ...
33912         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33913         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33914         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33915         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33916         Moved ...
33917         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33918         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33919         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33920         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33921         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33922         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33923         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33924         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33925         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33926         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33927         Moved ...
33928         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33929         ... here.
33930         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33931         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33932         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33933         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33934         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33935         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33936         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33937         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33938         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33939         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33940         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33941         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33942         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33943         Moved ...
33944         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33945         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33946         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33947         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33948         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33949         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33950         Moved ...
33951         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33952         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33953         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33954         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33955         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33957         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33958         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33959         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33960         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33961         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33962         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33963         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33964         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33965         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33966         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33967         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33968         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33969         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33970         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33971         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33972         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33973         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33974         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33975         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33976         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33977         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33978         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33979         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33980         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33981         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33982         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33983         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33984         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33986 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33988         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33989         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33990         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33991         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33992         (IPV6_PMTUDISC_INTERFACE): Likewise.
33993         (IPV6_PMTUDISC_OMIT): Likewise.
33995 2014-06-23  Andreas Schwab  <schwab@suse.de>
33997         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33998         Remove unused errout label.
34000 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34002         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34003         macro: hardware supports Vector Crypto instructions.
34005 2014-06-23  Will Newton  <will.newton@linaro.org>
34007         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34008         rather than __builtin_expect.
34010         * elf/dl-lookup.c (undefined_msg): Remove variable.
34011         (_dl_lookup_symbol_x): Replace undefined_msg with string
34012         literal.
34014         * elf/dl-lookup.c (do_lookup_unique): New function.
34015         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34016         to a separate function.
34018 2014-06-23  Andreas Schwab  <schwab@suse.de>
34020         [BZ #17079]
34021         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34022         before reading the next line.
34024 2014-06-23  Will Newton  <will.newton@linaro.org>
34026         * test-skeleton.c (signal_handler): Use printf and %m
34027         rather than perror.  Use printf rather than fprintf to
34028         stderr.  Use puts rather than fputs to stderr.
34029         (main): Likewise.
34031 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34033         * nscd/nscd.c (thread_info_t): Remove typedef.
34034         (thread_info): Remove variable.
34036 2014-06-21  Allan McRae  <allan@archlinux.org>
34038         * NEWS: Mention CVE-2014-4043.
34040 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34042         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34043         * nptl/smp.h: ... here.
34045         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34047         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34048         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34049         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34050         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34052         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34053         * nptl/stack-aliasing.h: New file.
34054         * sysdeps/i386/i686/stack-aliasing.h: New file.
34055         * sysdeps/i386/i686/nptl/Makefile: File removed.
34056         * sysdeps/x86_64/stack-aliasing.h: New file.
34057         * sysdeps/x86_64/nptl/Makefile
34058         (CFLAGS-pthread_create.c): Variable removed.
34060         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34061         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34062         old file.
34063         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34064         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34065         old file.
34067 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34069         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34070         (__ASSUME_SIGFRAME_V2): Remove macro.
34071         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34072         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34073         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34074         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34075         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34076         Declare as function.  Remove conditional macro definitions.
34077         (__default_rt_sa_restorer): Likewise.
34078         (__default_sa_restorer_v1): Remove declaration.
34079         (__default_sa_restorer_v2): Likewise.
34080         (__default_rt_sa_restorer_v1): Likewise.
34081         (__default_rt_sa_restorer_v2): Likewise.
34082         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34083         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34084         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34086 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34088         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34089         (libpthread-routines): Add sysdep.
34090         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34091         * sysdeps/unix/sysv/linux/sparc/Versions
34092         (libpthread: GLIBC_2.3.3): New version set.
34093         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34094         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34095         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34096         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34097         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34098         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34099         Moved ...
34100         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34101         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34102         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34103         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34104         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34105         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34106         * sysdeps/sparc/nptl/sem_init.c: ... here.
34107         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34108         * sysdeps/sparc/nptl/sem_post.c: ... here.
34109         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34110         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34111         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34112         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34113         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34114         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34115         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34116         (libpthread-routines): Add cpu_relax.
34117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34118         File removed.
34119         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34120         (librt: GLIBC_2.3.3): New version set.
34121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34122         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34123         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34124         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34127         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34129         Moved ...
34130         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34132         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34134         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34136         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34138         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34140         Moved ...
34141         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34142         Update #include.
34143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34144         Moved ...
34145         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34146         Update #include.
34147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34148         Moved ...
34149         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34150         Update #include.
34151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34152         Moved ...
34153         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34154         Update #include.
34155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34156         Moved ...
34157         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34158         Update #include.
34159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34160         Moved ...
34161         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34162         Update #include.
34163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34164         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34166         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34168         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34170         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34172         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34174         Moved ...
34175         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34176         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34177         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34179         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34181 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34183         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34184         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34185         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34186         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34187         * nscd/nscd.c: Likewise.
34188         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34189         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34190         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34191         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34193         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34194         <kernel-features.h>.
34195         (init_mq_netlink): Remove conditional have_sock_cloexec
34196         definitions.  Remove code conditional on have_sock_cloexec < 0.
34197         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34198         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34199         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34200         <kernel-features.h>.
34201         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34202         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34204 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34206         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34207         Add tests for memset_chk and memset.
34209         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34210         with AVX2_Usable.
34212 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34214         [BZ #16046]
34215         * elf/tst-dl-iter-static.c: New file.
34216         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34218         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34219         error.
34221 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34223         * sysdeps/unix/sysv/linux/kernel-features.h
34224         (__ASSUME_F_GETOWN_EX): Remove macro.
34225         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34226         <kernel-features.h>.
34227         (miss_F_GETOWN_EX): Remove variable or macro.
34228         (do_fcntl): Do not check miss_F_GETOWN_EX.
34229         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34231         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34232         Remove macro.
34233         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34234         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34235         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34237         * sysdeps/unix/sysv/linux/kernel-features.h
34238         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34239         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34240         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34241         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34243 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34245         [BZ #17075]
34246         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34247         Fix calculation of the symbol's value.
34248         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34249         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34250         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34251         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34252         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34253         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34254         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34255         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34256         (modules-names): Add `tst-armtlsdescmod',
34257         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34258         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34259         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34260         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34261         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34262         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34263         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34264         ($(objpfx)tst-armtlsdescloc): New dependency.
34265         ($(objpfx)tst-armtlsdescextnow): Likewise.
34266         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34267         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34268         TLS scheme support.
34269         * sysdeps/arm/configure: Regenerate.
34271 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34273         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34274         (__atfct_seterrno_2): Likewise.
34275         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34276         <kernel-features.h>.
34277         (__ASSUME_ATFCTS): Do not undefine and redefine.
34278         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34279         (__have_atfcts): Remove conditional definition.
34280         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34281         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34282         unreachable if [__ASSUME_ATFCTS].
34283         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34284         not undefine and redefine.
34285         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34286         <kernel-features.h>.
34287         (faccessat) [__NR_faccessat]: Make code unconditional.
34288         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34289         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34290         <kernel-features.h>.
34291         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34292         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34293         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34294         <kernel-features.h>.
34295         (fchownat) [__NR_fchownat]: Make code unconditional.
34296         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34297         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34298         <kernel-features.h>.
34299         (futimesat) [__NR_futimesat]: Make code unconditional.
34300         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34301         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34302         <kernel-features.h>.
34303         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34304         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34305         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34306         <kernel-features.h>.
34307         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34308         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34309         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34310         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34311         <kernel-features.h>.
34312         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34313         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34314         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34315         <kernel-features.h>.
34316         (linkat) [__NR_linkat]: Make code unconditional.
34317         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34318         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34319         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34320         <kernel-features.h>.
34321         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34322         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34323         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34324         <kernel-features.h>.
34325         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34326         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34327         * sysdeps/unix/sysv/linux/openat.c: Do not include
34328         <kernel-features.h>.
34329         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34330         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34331         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34332         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34333         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34334         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34335         <kernel-features.h>.
34336         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34337         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34338         result of INLINE_SYSCALL directly, not via int variable.
34339         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34340         <kernel-features.h>.
34341         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34342         (renameat) [__NR_renameat]: Make code unconditional.
34343         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34344         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34345         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34346         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34347         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34348         (__ASSUME_ATFCTS): Do not undefine and redefine.
34349         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34350         <kernel-features.h>.
34351         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34352         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34353         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34354         <kernel-features.h>.
34355         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34356         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34357         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34358         (__ASSUME_ATFCTS): Do not undefine and redefine.
34359         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34360         <kernel-features.h>.
34361         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34362         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34363         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34364         <kernel-features.h>.
34365         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34366         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34368 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34370         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34372 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34374         [BZ #17069]
34375         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34376         constructed tree before returning error.
34377         * posix/bug-regexp36.c: Expand test case.
34379 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34381         [BZ #6803]
34382         * math/libm-test.inc (scalbln_test_date):
34383         Add errno expectations.
34384         * math/w_scalblnf.c: New File.
34385         Add wrapper which checks for setting errno to ERANGE.
34386         Add weak_alias for corresponding scalbln function.
34387         * math/w_scalbln.c: Likewise.
34388         * math/w_scalblnl.c: Likewise.
34389         * math/Makefile (libm-calls): Add w_scalbln.
34390         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34391         Remove weak_alias for corresponding scalbln function.
34392         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34393         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34394         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34395         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34396         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34397         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34398         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34399         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34400         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34401         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34402         Remove long_double_symbol for scalblnl function in libm, libc.
34403         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34404         Add wrapper which checks for setting errno to ERANGE.
34405         Add long_double_symbol for scalblnl function in libm, libc.
34406         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34407         Remove long_double_symbol for scalblnl in libm.
34408         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34409         Add wrapper which checks for setting errno to ERANGE.
34410         Add long_double_symbol for scalblnl function in libm.
34411         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34412         Do not use wrapper because of own implementation.
34414 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34416         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34417         3 bytes for __pad1 for x32.
34418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34420 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34421             H.J. Lu  <hongjiu.lu@intel.com>
34423         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34424         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34425         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34426         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34427         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34429 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34431         [BZ #17069]
34432         * posix/regcomp.c (parse_expression): Deallocate partially
34433         constructed tree before returning error.
34434         * posix/Makefile.c (tests): Add bug-regex36.
34435         (generated): Add bug-regex36.mtrace.
34436         (tests-special): Add $(objpfx)bug-regex36-mem.out
34437         (bug-regex36-ENV): New variable.
34438         ($(objpfx)bug-regex36-mem.out): New rule.
34439         * posix/bug-regex36.c: New file.
34441 2014-06-19  Will Newton  <will.newton@linaro.org>
34443         * malloc/malloc.c (systrim): If extra is zero then return
34444         early.
34446 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34448         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34450 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34452         * sysdeps/aarch64/strchr.S: New file.
34454 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34456         [BZ #17022]
34457         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34458         from arguments -2 or below.
34459         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34460         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34462 2014-06-18  Andreas Schwab  <schwab@suse.de>
34464         [BZ #17062]
34465         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34466         of a bracket expr not to run off the end of the string.
34467         * posix/Makefile (tests): Add tst-fnmatch3.
34468         * posix/tst-fnmatch3.c: New file.
34470 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34472         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34473         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34474         [$(cross-compiling) = no]: Likewise.
34475         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34476         [$(cross-compiling) = no]: Likewise.
34478 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34480         [BZ #17031]
34481         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34482         double, adjusted for any remainder from the high double.
34483         * math/libm-test.inc (nearbyint): Add tests.
34484         (rint): Likewise.
34486 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34488         * nptl/sysdeps/powerpc/Makefile: Moved ...
34489         * sysdeps/powerpc/nptl/Makefile: ... here.
34490         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34491         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34492         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34493         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34494         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34495         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34496         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34497         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34498         * nptl/sysdeps/powerpc/tls.h: Moved ...
34499         * sysdeps/powerpc/nptl/tls.h: ... here.
34501 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34503         [BZ #16681]
34504         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34505         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34506         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34507         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34508         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34509         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34510         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34511         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34512         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34514 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34516         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34518 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34520         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34521         defined operator.
34523         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34524         $TIMEOUTFACTOR.
34526 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34528         [BZ #17058]
34529         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34530         non-executed part of the test.
34532 2014-06-16  Andreas Schwab  <schwab@suse.de>
34534         * string/bits/string2.h (strdup, strndup): Update feature guard.
34536 2014-06-14  David S. Miller  <davem@davemloft.net>
34538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34540 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34542         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34543         that was previously under [RESET_PID].
34544         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34546         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34547         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34548         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34549         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34550         (__libc_vfork): New strong alias.
34551         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34553 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34555         * sysdeps/generic/elide.h: New file.
34557 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34559         * Makefile (installed-headers): Adjust path of pthread.h header.
34561 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34563         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34564         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34565         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34566         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34568         * nptl/sysdeps/s390/Makefile: Moved ...
34569         * sysdeps/s390/nptl/Makefile: ... here.
34570         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34571         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34572         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
34573         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
34574         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
34575         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
34576         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
34577         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
34578         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
34579         * sysdeps/s390/nptl/pthreaddef.h: ... here.
34580         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
34581         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
34582         * nptl/sysdeps/s390/tls.h: Moved ...
34583         * sysdeps/s390/nptl/tls.h: ... here.
34585         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34586         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
34588 2014-06-13  David S. Miller  <davem@davemloft.net>
34590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
34591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
34592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
34593         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
34595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
34596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
34597         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
34598         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
34599         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
34600         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
34601         Remove RESET_PID cpp guards.
34602         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
34603         Remove RESET_PID cpp guards.
34604         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
34606 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
34608         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
34609         __sp to uintptr_t.
34611 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34613         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
34614         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
34615         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
34616         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
34617         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
34618         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
34619         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
34620         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
34621         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
34622         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
34623         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
34624         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
34625         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
34626         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
34627         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
34628         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
34629         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
34630         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
34631         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
34632         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
34634         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
34635         (pthread_rwlock_rdlock): Add elision.
34636         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34637         (pthread_rwlock_wrlock): Add elision.
34638         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
34639         (pthread_rwlock_trywrlock): Add elision.
34640         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
34641         (pthread_rwlock_tryrdlock): Add elision.
34642         * nptl/pthread_rwlock_unlock.c: Include elide.h.
34643         (pthread_rwlock_tryrdlock): Add elision unlock.
34644         * nptl/sysdeps/pthread/pthread.h:
34645         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
34646         (PTHREAD_RWLOCK_INITIALIZER,
34647         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
34648         Handle new elision field.
34649         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
34650         * sysdeps/arm/nptl/bits/pthreadtypes.h
34651         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34652         * sysdeps/sh/nptl/bits/pthreadtypes.h
34653         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34654         * sysdeps/tile/nptl/bits/pthreadtypes.h
34655         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34656         * sysdeps/a/nptl/bits/pthreadtypes.h
34657         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34658         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
34659         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34660         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
34661         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34662         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
34663         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34664         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
34665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34666         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
34667         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34668         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
34669         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34670         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
34671         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34672         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
34673         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34674         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
34675         (elision_init): Set try_xbegin to zero when no RTM.
34676         * sysdeps/x86/nptl/bits/pthreadtypes.h
34677         (pthread_rwlock_t): Change __pad1 to __rwelision.
34678         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
34680 2014-06-13  Andi Kleen  <ak@linux.intel.com>
34682         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
34683         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
34684         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
34685         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
34687 2014-06-13  Meador Inge  <meadori@codesourcery.com>
34689         [BZ #16996]
34690         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
34691         that the cached result has been set before returning it.
34693 2014-06-12  Roland McGrath  <roland@hack.frob.com>
34695         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
34696         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
34697         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
34698         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
34699         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
34700         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
34702         * nptl/sysdeps/sparc/Makefile: Moved ...
34703         * sysdeps/sparc/nptl/Makefile: ... here.
34704         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
34705         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
34706         * nptl/sysdeps/sparc/tls.h: Moved ...
34707         * sysdeps/sparc/nptl/tls.h: ... here.
34708         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
34709         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
34710         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
34711         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
34712         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
34713         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
34714         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
34715         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
34716         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
34717         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
34718         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
34719         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
34720         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
34721         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
34722         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
34723         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
34724         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
34725         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
34726         Update #include.
34727         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
34728         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
34729         Update #include.
34730         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
34731         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34732         Update #include.
34733         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
34734         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
34735         Update #include.
34737         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34739         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
34740         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
34742         * sysdeps/pthread/posix-timer.h: Include <list.h>.
34743         (struct list_links): Type removed.
34744         (struct thread_node, struct timer_node): Replace struct list_links
34745         with struct list_head.
34746         (list_unlink_ip): Likewise.
34747         * sysdeps/pthread/timer_routines.c
34748         (timer_free_list, thread_free_list, thread_active_list): Likewise.
34749         (list_append, list_insbefore): Likewise.
34750         (list_init): Function removed.
34751         (thread_init, init_module): Use INIT_LIST_HEAD instead.
34752         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
34753         * sysdeps/pthread/Makefile: ... here, new file.
34755         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
34756         * sysdeps/nptl/Implies: ... here.
34757         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34758         * nptl/sysdeps/pthread/list.h: Moved ...
34759         * include/list.h: ... here.
34760         * nptl/sysdeps/pthread/createthread.c: Moved ...
34761         * nptl/createthread.c: ... here.
34762         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34763         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34764         * nptl/pt-longjmp.c: ... here.
34765         * nptl/sysdeps/pthread/Makefile: Moved ...
34766         * sysdeps/nptl/Makefile: ... here.
34767         * nptl/sysdeps/pthread/Subdirs: Moved ...
34768         * sysdeps/nptl/Subdirs: ... here.
34769         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34770         * sysdeps/nptl/aio_misc.h: ... here.
34771         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34772         * sysdeps/nptl/bits/libc-lock.h: ... here.
34773         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34774         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34775         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34776         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34777         * nptl/sysdeps/pthread/configure: Moved ...
34778         * sysdeps/nptl/configure: ... here.
34779         * nptl/sysdeps/pthread/configure.ac: Moved ...
34780         * sysdeps/nptl/configure.ac: ... here.
34781         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34782         * sysdeps/nptl/gai_misc.h: ... here.
34783         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34784         * sysdeps/nptl/librt-cancellation.c: ... here.
34785         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34786         * sysdeps/nptl/malloc-machine.h: ... here.
34787         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34788         * sysdeps/nptl/pthread-functions.h: ... here.
34789         * nptl/sysdeps/pthread/pthread.h: Moved ...
34790         * sysdeps/nptl/pthread.h: ... here.
34791         * nptl/sysdeps/pthread/setxid.h: Moved ...
34792         * sysdeps/nptl/setxid.h: ... here.
34793         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34794         * sysdeps/nptl/sigfillset.c: ... here.
34795         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34796         * sysdeps/nptl/tcb-offsets.h: ... here.
34797         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34798         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34799         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34800         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34801         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34802         * sysdeps/pthread/allocalim.h: ... here.
34803         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34804         * sysdeps/pthread/bits/sigthread.h: ... here.
34805         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34806         * sysdeps/pthread/flockfile.c: ... here.
34807         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34808         * sysdeps/pthread/ftrylockfile.c: ... here.
34809         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34810         * sysdeps/pthread/funlockfile.c: ... here.
34811         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34812         * sysdeps/pthread/posix-timer.h: ... here.
34813         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34814         * sysdeps/pthread/timer_create.c: ... here.
34815         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34816         * sysdeps/pthread/timer_delete.c: ... here.
34817         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34818         * sysdeps/pthread/timer_getoverr.c: ... here.
34819         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34820         * sysdeps/pthread/timer_gettime.c: ... here.
34821         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34822         * sysdeps/pthread/timer_routines.c: ... here.
34823         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34824         * sysdeps/pthread/timer_settime.c: ... here.
34825         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34826         * sysdeps/pthread/tst-timer.c: ... here.
34827         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34828         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34830         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34831         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34833         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34834         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34835         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34836         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34837         Update #include target.
34838         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34839         * sysdeps/i386/i686/nptl/Makefile: ... here.
34840         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34841         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34842         Update #include target.
34843         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34844         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34845         * nptl/sysdeps/i386/Makefile: Moved ...
34846         * sysdeps/i386/nptl/Makefile: ... here.
34847         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34848         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34849         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34850         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34851         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34852         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34853         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34854         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34855         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34856         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34857         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34858         * nptl/sysdeps/i386/tls.h: Moved ...
34859         * sysdeps/i386/nptl/tls.h: ... here.
34861         * sysdeps/sh/Makefile [$(subdir) = csu]
34862         (gen-as-const-headers): Add tcb-offsets.sym.
34863         * nptl/sysdeps/sh/Makefile: File removed.
34864         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34865         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34866         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34867         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34868         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34869         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34870         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34871         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34872         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34873         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34874         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34875         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34876         * nptl/sysdeps/sh/tls.h: Moved ...
34877         * sysdeps/sh/nptl/tls.h: ... here.
34878         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34879         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34880         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34881         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34882         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34883         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34884         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34885         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34886         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34887         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34888         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34889         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34890         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34891         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34892         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34893         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34894         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34895         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34896         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34897         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34898         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34899         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34900         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34901         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34902         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34903         Moved ...
34904         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34905         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34906         Moved ...
34907         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34908         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34909         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34910         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34911         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34912         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34913         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34914         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34915         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34916         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34917         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34918         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34919         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34920         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34921         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34922         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34923         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34924         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34925         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34927 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34929         * posix/spawn_faction_addopen.c: Include string.h.
34931 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34933         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34934         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34935         * nptl/sysdeps/x86_64/Makefile: Moved ...
34936         * sysdeps/x86_64/nptl/Makefile: ... here.
34937         * nptl/sysdeps/x86_64/configure: Moved ...
34938         * sysdeps/x86_64/nptl/configure: ... here.
34939         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34940         * sysdeps/x86_64/nptl/configure.ac: ... here.
34941         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34942         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34943         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34944         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34945         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34946         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34947         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34948         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34949         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34950         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34951         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34952         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34953         * nptl/sysdeps/x86_64/tls.h: Moved ...
34954         * sysdeps/x86_64/nptl/tls.h: ... here.
34955         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34956         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34957         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34958         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34960         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34962 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34966 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34968         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34969         type.
34970         [POSIX] (off_t): Likewise.
34971         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34972         [POSIX] (S_ISBLK): Require macro.
34973         [POSIX] (S_ISCHR): Likewise.
34974         [POSIX] (S_ISDIR): Likewise.
34975         [POSIX] (S_ISFIFO): Likewise.
34976         [POSIX] (S_ISREG): Likewise.
34977         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34978         optional-macro.
34979         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34980         type.
34981         [POSIX] (time_t): Likewise.
34982         [POSIX] (timer_t): Likewise.
34984 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34986         [BZ #17048]
34987         * posix/spawn_int.h (struct __spawn_action): Make the path string
34988         non-const to support deallocation.
34989         * posix/spawn_faction_addopen.c
34990         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34991         * posix/spawn_faction_destroy.c
34992         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34993         path in all spawn_do_open actions.
34994         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34995         posix_spawn_file_actions_addopen.
34997 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34999         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35000         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35001         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35002         conditional code always true.
35003         (__libc_vfork): New alias.
35005 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35007         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35008         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35010         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35012         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35013         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35015         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35016         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35018         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35019         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35021 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35023         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35024         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35025         multiarch strcmp for PPC64.
35026         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35027         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35029         multiarch optimizations.
35030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35031         (__libc_ifunc_impl_list): Likewise.
35033 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35035         * benchtests/scripts/validate_benchout.py: New script.
35036         * benchtests/Makefile (bench-func): Call it.
35037         * benchtests/scripts/benchout.schema.json: New file.
35039 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35041         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35042         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35043         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35044         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35045         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35046         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35047         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35048         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35049         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35050         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35051         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35052         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35053         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35054         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35055         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35056         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35058         Moved ...
35059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35060         ... here.
35061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35062         Moved ...
35063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35065         Moved ...
35066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35067         ... here.
35068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35069         Moved ...
35070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35071         ... here.
35072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35073         Moved ...
35074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35076         Moved ...
35077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35078         ... here.
35079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35080         Moved ...
35081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35082         ... here.
35083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35084         Moved ...
35085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35087         Moved ...
35088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35089         ... here.
35090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35091         Moved ...
35092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35093         ... here.
35094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35095         Moved ...
35096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35097         ... here.
35098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35099         Moved ...
35100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35102         Moved ...
35103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35104         ... here.
35105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35106         Moved ...
35107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35108         ... here.
35109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35110         Moved ...
35111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35112         ... here.
35113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35114         Moved ...
35115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35117         Moved ...
35118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35119         ... here.
35120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35121         Moved ...
35122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35123         ... here.
35124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35125         Moved ...
35126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35128         Moved ...
35129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35130         ... here.
35131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35132         Moved ...
35133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35135         Moved ...
35136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35138         Moved ...
35139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35140         ... here.
35141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35142         Moved ...
35143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35144         ... here.
35145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35146         Moved ...
35147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35148         ... here.
35149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35150         Moved ...
35151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35153         Moved ...
35154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35155         ... here.
35156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35157         Moved ...
35158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35159         ... here.
35160         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35161         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35162         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35163         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35164         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35165         Moved ...
35166         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35167         ... here.
35168         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35169         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35171         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35172         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35173         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35174         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35175         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35176         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35177         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35178         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35179         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35180         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35181         Moved ...
35182         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35183         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35184         Moved ...
35185         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35186         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35187         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35188         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35189         Moved ...
35190         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35191         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35192         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35193         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35194         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35195         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35196         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35198 2014-06-10  Wilco  <wdijkstr@arm.com>
35200         * math/test-fenv-return.c: New file.
35201         * math/Makefile: Add new test test-fenv-return.
35203 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35205         [BZ #17042]
35206         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35207         when x - 1 is zero.
35208         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35209         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35210         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35211         0.0L for an argument of 1.0L.
35212         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35213         Likewise.
35214         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35215         value when x - 1 is zero.
35216         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35217         * sysdeps/i386/fpu/libm-test-ulps: Update.
35218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35220 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35222         [BZ #15119]
35223         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35225 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35227         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35228         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35230 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35232         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35233         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35235         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35236         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35238         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35239         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35241         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35242         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35244         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35245         if not already defined.
35246         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35247         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35248         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35249         (TLS_INIT_TP): Use it.
35250         (TLS_DEFINE_INIT_TP): New macro.
35251         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35253 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35255         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35256         constant.
35257         [POSIX] (IXANY): Likewise.
35258         [POSIX] (OLCUC): Likewise.
35259         [POSIX || POSIX2008] (CBAUD): Do not allow.
35260         [POSIX || POSIX2008] (DEFECHO): Likewise.
35261         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35262         [POSIX || POSIX2008] (ECHOKE): Likewise.
35263         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35264         [POSIX || POSIX2008] (EXTA): Likewise.
35265         [POSIX || POSIX2008] (EXTB): Likewise.
35266         [POSIX || POSIX2008] (FLUSHO): Likewise.
35267         [POSIX || POSIX2008] (LOBLK): Likewise.
35268         [POSIX || POSIX2008] (PENDIN): Likewise.
35269         [POSIX || POSIX2008] (SWTCH): Likewise.
35270         [POSIX || POSIX2008] (VDISCARD): Likewise.
35271         [POSIX || POSIX2008] (VDSUSP): Likewise.
35272         [POSIX || POSIX2008] (VLNEXT): Likewise.
35273         [POSIX || POSIX2008] (VREPRINT): Likewise.
35274         [POSIX || POSIX2008] (VSTATUS): Likewise.
35275         [POSIX || POSIX2008] (VWERASE): Likewise.
35276         (B*): Change to B[0123456789]*.
35277         * conform/data/time.h-data [POSIX || UNIX98]
35278         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35279         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35280         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35281         [POSIX] (tm_*): Do not allow.
35283 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35285         * Makefile (install): Don't set LANGUAGE.
35286         * Makefile.in (install): Likewise.
35287         * assert/Makefile (test-assert-ENV): Remove variable.
35288         (test-assert-perr-ENV): Likewise.
35289         * elf/Makefile (neededtest4-ENV): Likewise.
35290         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35291         [$(cross-compiling) = no]: Don't set LANGUAGE.
35292         * io/ftwtest-sh (LANG): Remove variable.
35293         * libio/Makefile (tst-widetext-ENV): Likewise.
35294         * manual/install.texi (Running make install): Don't refer to
35295         environment settings for make install.
35296         * INSTALL: Regenerated.
35297         * nptl/tst-tls6.sh: Don't set LANG.
35298         * posix/globtest.sh (LANG): Remove variable.
35299         * string/Makefile (tester-ENV): Likewise.
35300         (inl-tester-ENV): Likewise.
35301         (noinl-tester-ENV): Likewise.
35302         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35303         [$(cross-compiling) = no]: Don't set LANGUAGE.
35304         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35305         without explicit environment settings.
35307 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35309         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35310         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35311         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35312         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35314 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35316         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35317         other files in the crypt directory.
35318         * crypt/crypt.c: Remove duplicate includes.
35319         * crypt/crypt-entry.c: Likewise.
35320         * crypt/crypt_util.c: Likewise.
35322 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35324         * Makeconfig (run-program-env): New variable.
35325         (run-program-prefix-before-env): Likewise.
35326         (run-program-prefix-after-env): Likewise.
35327         (run-program-prefix): Define in terms of new variables.
35328         (built-program-cmd-before-env): New variable.
35329         (built-program-cmd-after-env): Likewise.
35330         (built-program-cmd): Define in terms of new variables.
35331         (test-program-prefix-before-env): New variable.
35332         (test-program-prefix-after-env): Likewise.
35333         (test-program-prefix): Define in terms of new variables.
35334         (test-program-cmd-before-env): New variable.
35335         (test-program-cmd-after-env): Likewise.
35336         (test-program-cmd): Define in terms of new variables.
35337         * Rules (make-test-out): Use $(run-program-env).
35338         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35339         (help): Do not mention environment variables.  Mention
35340         --timeoutfactor option.
35341         (timeoutfactor): New variable.
35342         (blacklist_exports): Remove function.
35343         (exports): Remove variable.
35344         (command): Do not include ${exports}.
35345         * manual/install.texi (Configuring and compiling): Do not mention
35346         test wrappers preserving environment variables.  Mention that last
35347         assignment to a variable must take precedence.
35348         * INSTALL: Regenerated.
35349         * benchtests/Makefile (run-bench): Use $(run-program-env).
35350         * catgets/Makefile ($(objpfx)test1.cat): Use
35351         $(built-program-cmd-before-env), $(run-program-env) and
35352         $(built-program-cmd-after-env).
35353         ($(objpfx)test2.cat): Do not specify environment variables
35354         explicitly.
35355         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35356         $(run-program-env) and $(built-program-cmd-after-env).
35357         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35358         $(run-program-env) and $(test-program-cmd-after-env).
35359         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35360         explicitly.
35361         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35362         run_program_env and test_program_cmd_after_env arguments.
35363         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35364         * elf/tst-pathopt.sh: Use run_program_env argument.
35365         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35366         $(test-wrapper-env) and $(run-program-env).
35367         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35368         run_program_env arguments.
35369         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35370         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35371         $(test-program-prefix-before-env), $(run-program-env) and
35372         $(test-program-prefix-after-env).
35373         ($(objpfx)tst-gettext2.out): Likewise.
35374         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35375         run_program_env and test_program_prefix_after_env arguments.
35376         * intl/tst-gettext2.sh: Likewise.
35377         * intl/tst-gettext4.sh: Do not set environment variables
35378         explicitly.
35379         * intl/tst-gettext6.sh: Likewise.
35380         * intl/tst-translit.sh: Likewise.
35381         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35382         $(test-program-prefix-before-env), $(run-program-env) and
35383         $(test-program-prefix-after-env).
35384         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35385         run_program_env and test_program_prefix_after_env arguments.
35386         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35387         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35388         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35389         explicitly with each use of ${test_wrapper_env}.
35390         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35391         $(test-program-prefix-before-env), $(run-program-env) and
35392         $(test-program-prefix-after-env).
35393         * posix/tst-getconf.sh: Do not set environment variables
35394         explicitly.
35395         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35396         run_program_env and test_program_prefix_after_env arguments.
35397         * stdio-common/tst-printf.sh: Do not set environment variables
35398         explicitly.
35399         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35400         $(test-program-prefix-before-env), $(run-program-env) and
35401         $(test-program-prefix-after-env).
35402         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35403         run_program_env and test_program_prefix_after_env arguments.
35404         Split $test calls into $test_pre and $test.
35405         * timezone/Makefile (build-testdata): Use
35406         $(built-program-cmd-before-env), $(run-program-env) and
35407         $(built-program-cmd-after-env).
35409 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35411         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35412         strlen for non SHARED builds.
35414 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35416         * nptl/allocatestack.c (check_list): Inlined function...
35417         (__reclaim_stacks): ... here.
35419 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35421         [BZ #15698]
35422         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35423         memory overrun.
35425 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35427         * Rules (make-test-out): Include
35428         LOCPATH=$(common-objpfx)localedata in default environment.
35429         * debug/Makefile (tst-chk1-ENV): Remove variable.
35430         (tst-chk2-ENV): Likewise.
35431         (tst-chk3-ENV): Likewise.
35432         (tst-chk4-ENV): Likewise.
35433         (tst-chk5-ENV): Likewise.
35434         (tst-chk6-ENV): Likewise.
35435         (tst-lfschk1-ENV): Likewise.
35436         (tst-lfschk2-ENV): Likewise.
35437         (tst-lfschk3-ENV): Likewise.
35438         (tst-lfschk4-ENV): Likewise.
35439         (tst-lfschk5-ENV): Likewise.
35440         (tst-lfschk6-ENV): Likewise.
35441         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35442         (tst-iconv7-ENV): Likewise.
35443         * intl/Makefile (LOCPATH-ENV): Likewise.
35444         (tst-codeset-ENV): Likewise.
35445         (tst-gettext3-ENV): Likewise.
35446         (tst-gettext5-ENV): Likewise.
35447         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35448         (tst-fopenloc-ENV): Likewise.
35449         (tst-fgetws-ENV): Remove variable.
35450         (tst-ungetwc1-ENV): Likewise.
35451         (tst-ungetwc2-ENV): Likewise.
35452         (bug-ungetwc2-ENV): Likewise.
35453         (tst-swscanf-ENV): Likewise.
35454         (bug-ftell-ENV): Likewise.
35455         (tst-fgetwc-ENV): Likewise.
35456         (tst-fseek-ENV): Likewise.
35457         (tst-ftell-partial-wide-ENV): Likewise.
35458         (tst-ftell-active-handler-ENV): Likewise.
35459         (tst-ftell-append-ENV): Likewise.
35460         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35461         (tst-regexloc-ENV): Likewise.
35462         (bug-regex1-ENV): Likewise.
35463         (tst-regex-ENV): Likewise.
35464         (tst-regex2-ENV): Likewise.
35465         (bug-regex5-ENV): Likewise.
35466         (bug-regex6-ENV): Likewise.
35467         (bug-regex17-ENV): Likewise.
35468         (bug-regex18-ENV): Likewise.
35469         (bug-regex19-ENV): Likewise.
35470         (bug-regex20-ENV): Likewise.
35471         (bug-regex22-ENV): Likewise.
35472         (bug-regex23-ENV): Likewise.
35473         (bug-regex25-ENV): Likewise.
35474         (bug-regex26-ENV): Likewise.
35475         (bug-regex30-ENV): Likewise.
35476         (bug-regex32-ENV): Likewise.
35477         (bug-regex33-ENV): Likewise.
35478         (bug-regex34-ENV): Likewise.
35479         (bug-regex35-ENV): Likewise.
35480         (tst-rxspencer-ENV): Likewise.
35481         (tst-rxspencer-no-utf8-ENV): Likewise.
35482         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35483         (tst-sscanf-ENV): Likewise.
35484         (tst-swprintf-ENV): Likewise.
35485         (tst-swscanf-ENV): Likewise.
35486         (test-vfprintf-ENV): Likewise.
35487         (scanf13-ENV): Likewise.
35488         (bug14-ENV): Likewise.
35489         (tst-grouping-ENV): Likewise.
35490         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35491         (tst-strtod3-ENV): Likewise.
35492         (tst-strtod4-ENV): Likewise.
35493         (tst-strtod5-ENV): Likewise.
35494         (testmb2-ENV): Likewise./
35495         * string/Makefile (tst-strxfrm-ENV): Likewise.
35496         (tst-strxfrm2-ENV): Likewise.
35497         (bug-strcoll1-ENV): Likewise.
35498         (test-strcasecmp-ENV): Likewise.
35499         (test-strncasecmp-ENV): Likewise.
35500         * time/Makefile (tst-strptime-ENV): Likewise.
35501         (tst-ftime_l-ENV): Likewise.
35502         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35503         (tst-mbrtowc-ENV): Likewise.
35504         (tst-wcrtomb-ENV): Likewise.
35505         (tst-mbrtowc2-ENV): Likewise.
35506         (tst-c16c32-1-ENV): Likewise.
35507         (tst-mbsnrtowcs-ENV): Likewise.
35509 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35511         * manual/resource.texi (How to get information about the memory
35512         subsystem?): Fix typo.
35513         Reported by Peon de la Parra Ivan <peon@keba.com>
35515 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35517         [BZ #16882]
35518         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35519         (pthread_spin_lock): Branch out of spin loop to proper location.
35520         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35521         (pthread_spin_lock): Likewise.
35523         * nptl/tst-spin4.c: New test.
35524         * nptl/Makefile (tests): Add tst-spin4.
35526 2014-06-03  Andreas Schwab  <schwab@suse.de>
35528         [BZ #15946]
35529         * resolv/res_send.c (send_dg): Reload file descriptor after
35530         calling reopen.
35532 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35534         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35536 2014-06-03  Richard Henderson  <rth@redhat.com>
35538         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35539         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35540         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35541         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35542         in the SAVE_PID block.
35543         (__libc_vfork): New alias.
35544         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35546         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35547         child in registers, not on the stack.  Remove RESET_PID conditionals.
35548         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35550 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35552         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35554 2014-06-03  Wilco  <wdijkstr@arm.com>
35556         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35557         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35558         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35559         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35560         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35561         Likewise.
35563 2014-06-03  Wilco  <wdijkstr@arm.com>
35565         * sysdeps/aarch64/fpu/math_private.h
35566         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35567         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35568         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35569         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35570         Fix declarations.
35572 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35574         * crypt/crypt-private.h: Include ufc-crypt.h.
35575         (__b64_from_24bit): Declare extern.
35576         * crypt/crypt_util.c(__b64_from_24bit): New function.
35577         (b64t): New static const variable.
35578         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
35579         (b64t): Remove variable.
35580         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
35581         * crypt/sha256-crypt.c: Include crypt-private.h.
35582         (b64t): Remove variable.
35583         (__sha256_crypt_r): Remove b64_from_24bit and replace
35584         with __b64_from_24bit.
35585         * crypt/sha512-crypt.c: Likewise.
35587 2014-06-02  Roland McGrath  <roland@hack.frob.com>
35589         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
35590         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
35591         Label the code __libc_vfork rather than __vfork.
35592         [!NOT_IN_libc] (vfork): Define as weak alias.
35593         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
35594         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
35595         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
35597 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35599         * malloc/malloc.c (malloc_info): Fix format specifier for
35600         n_mmaps.
35602 2014-06-02  Wilco  <wdijkstr@arm.com>
35604         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
35605         FPCR write.
35607 2014-06-02  Wilco  <wdijkstr@arm.com>
35609         [BZ #17009]
35610         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
35611         Rewrite to reduce FPCR/FPSR accesses.
35613 2014-06-01  David S. Miller  <davem@davemloft.net>
35615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35617 2014-05-31  David S. Miller  <davem@davemloft.net>
35619         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
35620         to occur in round to nearest mode when |x| >= 2.0
35622 2014-05-30  Richard Henderson  <rth@twiddle.net>
35624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
35625         (PSEUDO_RET_NOERRNO): Remove.
35626         (ret): Don't redefine.
35627         (ret_NOERRNO): Define in terms of ret.
35628         (ret_ERRVAL): Likewise.
35630         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
35631         use of PSEUDO_RET; perform the error check directly.
35633 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
35635         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
35636         with __int128_t.
35638 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35640         * malloc/malloc (malloc_info): Fix formatting.
35642 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35643             Roland McGrath  <roland@hack.frob.com>
35645         * malloc/malloc (malloc_info): Also print mmapped statistics.
35647 2014-05-30  Roland McGrath  <roland@hack.frob.com>
35649         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
35650         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
35652 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
35654         * malloc/malloc.c (malloc_info): Inline mi_arena.
35656 2014-05-29  Richard Henderson  <rth@twiddle.net>
35658         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
35659         Remove comma before expanding ASM_ARGS_##nr.
35660         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
35661         Make _x0 a strict output; make _x8 a strict input; adjust expansion
35662         of ASM_ARGS_##nr.
35663         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
35664         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
35665         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
35666         (ASM_ARGS_1): Add leading comma.
35668         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
35669         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
35670         to __errno_location.
35671         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
35672         Remove the expected plt for __errno_location.
35674         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35675         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
35676         call to __read_tp.
35678         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35679         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
35680         it and break it down.
35681         (DOCARGS_0, DOCARGS_1): Do nothing.
35682         (DOCARGS_2): Update to store into the new stack frame.
35683         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
35684         (UNDOCARGS_1): Update to restore from the new stack frame.
35685         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
35686         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
35688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35689         (SINGLE_THREAD_P): New parameter for result regno.
35690         (PSEUDO): Update to match; use cbz instead of beq.
35692         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35693         Use ENTRY to define the _nocancel entry point.  Share the syscall
35694         and syscall error check paths with the cancel path.
35695         (PSEUDO_END): New.
35697         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
35698         whitespace; tabs before and after asm mnemonics.
35700 2014-05-29  Eric Wong  <normalperson@yhbt.net>
35702         [BZ #15132]
35703         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35704         Call fstat64 or stat64 internally, depending on arguments passed.
35705         Replace stat buffer argument with file descriptor argument.
35706         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
35707         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35708         Pass fd to __internal_statvfs instead of calling fstat64.
35709         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
35710         Pass fd to __internal_statvfs64 instead of calling fstat64.
35711         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
35712         Pass -1 to __internal_statvfs instead of calling stat64.
35713         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
35714         Pass -1 to __internal_statvfs64 instead of calling stat64.
35716 2014-05-28  Roland McGrath  <roland@hack.frob.com>
35718         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
35719         that was previously under [RESET_PID].
35720         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
35722         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
35723         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
35725 2014-05-27  Roland McGrath  <roland@hack.frob.com>
35727         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
35729         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
35730         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
35732 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
35734         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
35736 2014-05-27  Andreas Schwab  <schwab@suse.de>
35738         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
35739         TLS_INIT_TP macro.
35740         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
35741         * elf/rtld.c (init_tls, dl_main): Likewise.
35742         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
35743         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
35744         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
35745         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
35746         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
35747         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
35748         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
35749         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
35750         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
35751         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
35752         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
35753         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
35754         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
35755         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
35756         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
35757         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35758         * sysdeps/generic/tls.h: Update description.
35760 2014-05-27  Will Newton  <will.newton@linaro.org>
35762         [BZ #16990]
35763         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35764         and restore r2 rather than just restoring.
35766 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35768         [BZ #16724]
35769         * libio/tst-ftell-append.c: New test case.
35770         * libio/Makefile (tests): Add test case.
35771         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35772         append mode.
35773         * libio/wfileops.c (do_ftell_wide): Likewise.
35775 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35779         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35780         ...
35781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35783         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35784         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35785         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35786         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35787         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35788         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35789         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35790         Moved ...
35791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35792         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35793         Moved ...
35794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35795         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35796         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35797         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35798         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35799         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35800         ...
35801         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35802         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35803         Moved ...
35804         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35805         here.
35806         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35807         ...
35808         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35809         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35810         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35812         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35813         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35814         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35815         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35817         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35818         merge into ...
35819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35820         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35821         ...
35822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35823         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35824         ...
35825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35826         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35827         Moved ...
35828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35829         here.
35830         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35831         Moved ...
35832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35833         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35834         Moved ...
35835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35838         conditional [RESET_PID].
35839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35840         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35841         removed.
35842         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35843         removed.
35845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35846         <tcb-offsets.h>.
35847         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35848         (__libc_vfork): New strong alias.
35849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35850         removed.
35851         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35852         Removed.
35854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35855         <tcb-offsets.h>.
35856         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35857         (__libc_vfork): New strong alias.
35858         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35859         removed.
35860         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35861         removed.
35863 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35865         * malloc/malloc.c (mi_arena): New function.
35866         (malloc_info): Remove nested function mi_arena. Call non-nosted
35867         function mi_arena.
35869 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35871         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35872         by insrwi.
35873         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35874         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35875         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35876         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35877         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35878         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35879         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35881 2014-05-26  Andreas Schwab  <schwab@suse.de>
35883         [BZ #16984]
35884         * locale/programs/repertoire.c (repertoire_read): Add slash
35885         between I18NPATH element and file name.
35886         * locale/programs/locfile.c (locfile_read): Likewise.
35888 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35890         * nptl/pthread_mutexattr_settype.c
35891         (__pthread_mutexattr_settype):
35892         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35894 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35896         * nptl/tst-mutex5 (do_test):
35897         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35899 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35901         * benchtests/README: Document 'init' directive.
35902         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35903         BENCH_INIT.
35904         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35905         (parse_file): Recognize 'init' directive.
35907 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35909         [BZ #16796]
35910         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35911         alignment of struct pthread.
35913 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35915         [BZ #16878]
35916         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35917         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35918         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35919         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35921 2014-05-25  Richard Henderson  <rth@twiddle.net>
35923         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35924         (SINGLE_THREAD_P_PIC): Remove.
35925         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35926         (SINGLE_THREAD_P_PIC): Remove.
35928         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35929         branch to syscall error ...
35930         (PSEUDO): ... here.
35931         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35932         from __local_syscall_error to .Lsyscall_error.
35933         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35934         (SYSCALL_ERROR): Update label name.
35936         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35937         Do not use DOARGS/UNDOARGS.
35938         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35939         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35940         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35941         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35942         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35944         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35945         block comment.
35947         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35948         define if !NOT_IN_libc.
35949         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35950         define with non-default symbol versions.
35952 2014-05-23  Richard Henderson  <rth@twiddle.net>
35954         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35955         (vfork, __vfork): Define via compat_symbol.
35957         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35958         [!HAVE_IFUNC] (vfork_compat): Remove.
35959         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35961 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35963         [BZ #16978]
35964         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35965         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35966         variable.
35968 2014-05-23  Richard Henderson  <rth@twiddle.net>
35970         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35971         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35972         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35973         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35975         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35976         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35977         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35978         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35979         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35980         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35981         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35982         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35983         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35984         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35985         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35986         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35987         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35988         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35989         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35990         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35991         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35992         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35993         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35994         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35995         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35996         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35997         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35998         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35999         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36000         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36001         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36002         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36003         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36004         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36005         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36006         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36007         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36008         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36009         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36010         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36011         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36012         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36013         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36014         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36015         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36016         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36017         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36018         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36019         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36020         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36021         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36022         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36023         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36024         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36025         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36026         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36027         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36028         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36029         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36030         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36032         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36033         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36034         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36035         before exiting on error.
36036         (__libc_vfork): New strong alias.
36037         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36038         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36040         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36041         that was previously under [RESET_PID].
36042         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36044         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36046 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36048         [BZ #16977]
36049         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36050         value when x - 1 is zero.
36051         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36052         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36053         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36054         0.0L for an argument of 1.0L.
36055         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36056         Likewise.
36057         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36058         value when x - 1 is zero.
36059         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36060         * sysdeps/i386/fpu/libm-test-ulps: Update.
36061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36063 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36065         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36066         alphasort and versionsort.
36068 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36070         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36071         macro.
36072         [copysignf]: Likewise.
36074 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36076         * crypt/md5-crypt.c: Fix formatting.
36078 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36080         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36081         (b64_from_24bit): New function.
36083 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36085         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36086         libc_hidden_builtin_def to ifunc.
36087         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36088         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36090 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36092         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36093         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36095 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36097         * nscd/Depend (linuxthreads): Remove.
36098         (nptl): Add.
36099         * resolv/Depend (linuxthreads): Remove.
36100         * rt/Depend (linuxthreads): Remove.
36102         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36103         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36104         $(common-objpfx)elf/.
36105         (link-libc-before-gnulib): Likewise.
36106         (elfobjdir): Remove variable.
36107         * Makefile (install): Use $(elf-objpfx) instead of
36108         $(common-objpfx)elf/.
36109         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36110         $(elfobjdir)/.
36111         (link-libc-deps): Likewise.
36112         ($(common-objpfx)libc.so): Likewise.
36113         ($(common-objpfx)linkobj/libc.so): Likewise.
36114         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36115         instead of $(common-objpfx)elf/.
36116         (symbolic-link-list): Likewise.
36117         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36118         [$(cross-compiling) = no]: Likewise.
36119         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36120         $(elfobjdir)/.
36121         (static-gnulib-arch): Likewise.
36122         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36123         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36124         $(common-objpfx)elf/.
36126 2014-05-21  Richard Henderson  <rth@redhat.com>
36128         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36129         (SINGLE_THREAD_P): Use the correct width load.  Fold
36130         into the ldr offset.
36132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36133         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36135 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36137         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36138         (libgcc_s_resume): Use __attribute_used__.
36139         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36140         Likewise.
36142 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36144         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36145         optimization when used with float constants.
36147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36149 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36151         [BZ #16915]
36152         * locale/nl_langinfo_l.c: Make direct reference to every
36153         _nl_current_CATEGORY symbol.
36154         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36155         (tests-static): Add tst-langinfo-static.
36156         (tests-special): Add tst-langinfo-static.out.
36157         ($(objpfx)tst-langinfo.out): Redirect output.
36158         ($(objpfx)tst-langinfo-static.out): New.
36159         * localedata/tst-langinfo.sh: Send output to stdout.
36160         * localedata/tst-langinfo-static.c: New file.
36162         [BZ #16965]
36163         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36164         when the shift amount is modulo the limb size.
36166 2014-05-20  Richard Henderson  <rth@redhat.com>
36168         [BZ #16967]
36169         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36170         Change type of sa_flags from unsigned int to int.
36172         [BZ #16966]
36173         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36175         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36177 2014-05-20  Will Newton  <will.newton@linaro.org>
36179         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36180         Test the return value of the system call in the nocancel case.
36182 2014-05-20  Will Newton  <will.newton@linaro.org>
36183             Yvan Roux  <yvan.roux@linaro.org>
36185         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36186         #include of asm/ptrace.h.
36187         (PTRACE_GET_THREAD_AREA): Remove #undef.
36188         (PTRACE_GETHBPREGS): Likewise.
36189         (PTRACE_SETHBPREGS): Likewise.
36190         (struct user_regs_struct): New structure.
36191         (struct user_fpsimd_struct): New structure.
36192         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36193         #include of asm/ptrace.h and second #include of sys/user.h.
36194         (PTRACE_GET_THREAD_AREA): Remove #undef.
36195         (PTRACE_GETHBPREGS): Likewise.
36196         (PTRACE_SETHBPREGS): Likewise.
36197         (ELF_NGREG): Use new struct user_regs_struct.
36198         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36200 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36202         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36203         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36205 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36207         [BZ #16958]
36208         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36209         membar to avoid block loads/stores to overlap previous stores.
36211 2014-05-17  Richard Henderson  <rth@redhat.com>
36213         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36214         Create the __##syscall_name##_nocancel entry point.
36215         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36216         Remove; let the sysdep-cancel.h code create it.
36218 2014-05-17  David S. Miller  <davem@davemloft.net>
36220         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36221         Protect with __USE_GNU.
36222         (TIOCSET_TEMPT): Likewise.
36223         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36224         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36225         these are already provided in bits/ioctl-types.h
36227 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36229         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36230         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36232         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36233         Use wait4 regardless of [__NR_waitpid].
36235 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36237         PR libgcc/60166
36238         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36239         (_FP_NANSIGN_Q): Set the quiet bit.
36241 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36243         * benchtests/Makefile
36244         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36245         not $(common-objpfx)math/libm.so.
36246         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36247         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36248         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36249         $(common-objpfx)dlfcn/libdl.so.
36250         ($(objpfx)tst-audit8): Depend on $(libm), not
36251         $(common-objpfx)math/libm.so.
36252         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36253         not $(common-objpfx)dlfcn/libdl.so.
36254         * math/Makefile
36255         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36256         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36257         [$(build-shared) = yes].
36258         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36259         $(common-objpfx)nptl/libpthread.so.
36260         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36261         $(common-objpfx)math/libm.so$(libm.so-version) or
36262         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36263         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36264         $(common-objpfx)dlfcn/libdl.so.
36265         * setjmp/Makefile (link-libm): Remove variable.
36266         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36267         * stdio-common/Makefile (link-libm): Remove variable.
36268         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36269         * stdlib/Makefile (link-libm): Remove variable.
36270         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36271         ($(objpfx)tst-strtod-round): Likewise.
36272         ($(objpfx)tst-tininess): Likewise.
36273         ($(objpfx)tst-strtod-underflow): Likewise.
36274         ($(objpfx)tst-strtod6): Likewise.
36275         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36276         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36277         $(common-objpfx)dlfcn/libdl.so.
36279 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36281         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36282         BSD terminal modes definitions.
36284 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36286         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36287         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36289         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36290         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36291         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36292         Don't do #include_next.
36293         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36294         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36295         Don't do #include_next.
36296         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36297         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36298         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36299         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36301 2014-05-16  Allan McRae  <allan@archlinux.org>
36303         * po/sv.po: Update Swedish translation from translation project.
36305         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36306         in sed expression.
36308 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36310         [BZ #16917]
36311         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36312         errno if the TIOCGPTN ioctl fails with an error different than
36313         EINVAL.
36314         * login/tst-ptsname.c: New file.
36315         * login/Makefile (tests): Add tst-ptsname.
36317         [BZ #16943]
36318         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36319         and prlimit64.
36321 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36323         [BZ #16849]
36324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36325         herrno to return EAI_AGAIN.
36327 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36329         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36330         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36331         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36332         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36333         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36334         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36335         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36336         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36337         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36338         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36339         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36340         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36341         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36342         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36343         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36344         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36345         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36346         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36347         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36348         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36349         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36350         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36351         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36352         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36353         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36354         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36355         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36356         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36357         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36358         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36360         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36362         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36364         Moved ...
36365         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36367         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36369         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36371         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36373         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36375         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36377         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36379         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36381         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36383         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36385         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36387         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36389         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36391         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36393         Moved ...
36394         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36396         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36398         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36400         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36402         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36404         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36406         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36408         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36410         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36412         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36414         Moved ...
36415         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36417         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36419         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36420         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36421         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36422         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36423         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36424         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36425         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36426         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36427         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36428         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36429         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36430         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36431         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36432         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36433         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36434         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36435         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36436         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36437         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36438         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36439         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36440         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36441         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36442         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36443         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36444         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36445         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36446         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36447         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36448         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36449         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36451         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36452         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36454         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36455         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36456         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36457         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36458         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36459         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36460         Moved ...
36461         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36462         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36463         Moved ...
36464         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36465         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36466         Moved ...
36467         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36468         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36469         Moved ...
36470         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36471         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36472         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36473         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36474         Moved ...
36475         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36476         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36477         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36478         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36479         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36480         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36481         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36482         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36483         Moved ...
36484         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36485         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36486         Moved ...
36487         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36488         ... here.
36489         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36490         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36491         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36492         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36493         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36494         Moved ...
36495         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36496         ... here.
36497         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36498         Moved ...
36499         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36500         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36501         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36502         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36503         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36504         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36505         Moved ...
36506         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36507         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36508         Moved ...
36509         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36510         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36511         Moved ...
36512         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36513         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36514         Moved ...
36515         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36516         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36517         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36518         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36519         Moved ...
36520         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36521         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36522         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36523         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36524         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36525         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36526         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36527         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36528         Moved ...
36529         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36530         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36531         Moved ...
36532         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36533         ... here.
36534         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36535         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36536         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36537         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36538         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36539         Moved ...
36540         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36541         ... here.
36542         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36543         Moved ...
36544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36545         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36546         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36547         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36548         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36549         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36550         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36551         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36552         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36553         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36554         Moved ...
36555         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36556         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36557         Moved ...
36558         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36559         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36560         Moved ...
36561         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36562         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36563         Moved ...
36564         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36565         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36566         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36567         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36568         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36569         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36570         Moved ...
36571         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36572         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
36573         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
36574         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
36575         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
36576         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
36577         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
36578         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
36579         Moved ...
36580         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
36581         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36582         Moved ...
36583         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
36584         ... here.
36585         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
36586         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
36587         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
36588         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
36589         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36590         Moved ...
36591         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
36592         ... here.
36593         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
36594         Moved ...
36595         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
36596         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
36597         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
36598         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
36599         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
36600         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
36601         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
36602         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
36603         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
36604         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
36605         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
36607         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
36608         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
36610         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
36611         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
36613         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
36614         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
36615         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
36616         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
36617         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
36618         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
36619         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
36620         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
36621         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
36622         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
36623         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
36624         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
36625         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
36626         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
36627         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
36628         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
36629         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
36630         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
36631         Moved ...
36632         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
36633         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
36634         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
36635         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
36636         Moved ...
36637         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
36638         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
36639         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
36640         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
36641         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
36642         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
36643         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
36644         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
36645         Moved ...
36646         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
36647         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
36648         Moved ...
36649         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
36650         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
36651         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
36652         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
36653         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
36654         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
36655         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
36656         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
36657         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
36658         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
36659         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
36660         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
36661         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
36662         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
36663         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
36664         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
36665         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
36667         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
36668         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
36669         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
36670         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
36671         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
36673         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
36674         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
36675         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
36676         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
36677         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
36678         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
36679         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
36680         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
36681         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
36682         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
36684         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
36685         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
36687         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
36688         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
36689         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
36690         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
36691         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
36692         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
36693         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
36694         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
36695         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
36696         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
36697         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
36698         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
36699         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
36700         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
36701         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
36702         Update #include.
36703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
36704         Likewise.
36705         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36706         Likewise.
36707         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36708         Likewise.
36709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36710         Likewise.
36711         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
36712         Likewise.
36713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
36714         Likewise.
36715         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36716         Likewise.
36717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
36718         Likewise.
36719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
36720         Likewise.
36721         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
36722         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
36723         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
36724         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
36725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
36726         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
36727         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
36728         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
36729         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
36730         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
36731         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
36732         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
36733         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
36734         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
36735         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
36737         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
36738         that was previously under [RESET_PID].
36739         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36740         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
36741         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
36743         * sysdeps/i386/nptl/Implies: New file.
36744         * sysdeps/x86_64/nptl/Implies: New file.
36745         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
36746         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
36747         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
36748         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
36750         * sysdeps/unix/sysv/linux/i386/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/i386/vfork.S: File removed.
36754         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
36756         * sysdeps/unix/sysv/linux/x86_64/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         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36760         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36762         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36763         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36764         (__libc_vfork): New strong alias.
36765         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36766         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36767         * nptl/pt-vfork.c: New file.
36768         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36769         (libpthread: GLIBC_2.20): New version set (empty).
36771 2014-05-14  Will Newton  <will.newton@linaro.org>
36773         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36774         rather than #if.
36776 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36778         [BZ #16564]
36779         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36780         arguments with exponent 65 or above.
36781         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36782         arguments 0x1p113L or above.
36783         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36784         to arguments 0x1p107L or above.
36785         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36786         positive arguments with exponent 65 or above.
36787         * math/auto-libm-test-in: Add more tests of log1p.
36788         * math/auto-libm-test-out: Regenerated.
36790         [BZ #16928]
36791         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36792         non-finite arguments is +0.
36793         * math/s_cacosf.c (__cacosf): Likewise.
36794         * math/s_cacosl.c (__cacosl): Likewise.
36795         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36796         * sysdeps/i386/fpu/libm-test-ulps: Update.
36797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36799         [BZ #16927]
36800         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36801         value.
36802         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36803         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36804         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36805         for explicit high bit of mantissa when testing for argument equal
36806         to 1.
36807         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36808         * sysdeps/i386/fpu/libm-test-ulps: Update.
36809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36811         [BZ #16516]
36812         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36813         (__erf): Scale by 16 instead of 8 in potentially underflowing
36814         case.  Ensure exception if result actually underflows.
36815         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36816         (__erff): Scale by 16 instead of 8 in potentially underflowing
36817         case.  Ensure exception if result actually underflows.
36818         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36819         (efx8): Remove variable.
36820         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36821         case.  Ensure exception if result actually underflows.
36822         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36823         (efx8): Remove variable.
36824         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36825         case.  Ensure exception if result actually underflows.
36826         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36827         (efx8): Remove variable.
36828         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36829         case.  Ensure exception if result actually underflows.
36830         * math/auto-libm-test-in: Add more tests of erf.
36831         * math/auto-libm-test-out: Regenerated.
36833 2014-05-14  Andreas Schwab  <schwab@suse.de>
36835         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36836         Remove code conditionalized on USE___THREAD.
36838         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36839         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36840         not definedness.
36842 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36844         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36845         Define unconditionally.
36846         (__ASSUME_O_CLOEXEC): Likewise.
36847         (__ASSUME_SOCK_CLOEXEC): Likewise.
36848         (__ASSUME_IN_NONBLOCK): Likewise.
36849         (__ASSUME_PIPE2): Likewise.
36850         (__ASSUME_EVENTFD2): Likewise.
36851         (__ASSUME_SIGNALFD4): Likewise.
36852         (__ASSUME_DUP3): Likewise.
36853         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36854         (__ASSUME_DUP3): Do not define.
36855         (__ASSUME_EVENTFD2): Likewise.
36856         (__ASSUME_IN_NONBLOCK): Likewise.
36857         (__ASSUME_O_CLOEXEC): Likewise.
36858         (__ASSUME_PIPE2): Likewise.
36859         (__ASSUME_SIGNALFD4): Likewise.
36860         (__ASSUME_SOCK_CLOEXEC): Likewise.
36861         (__ASSUME_UTIMES): Undefine.
36862         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36863         (__ASSUME_UTIMES): Do not define.
36864         (__ASSUME_O_CLOEXEC): Likewise.
36865         (__ASSUME_SOCK_CLOEXEC): Likewise.
36866         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36867         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36868         0x020621].
36869         (__ASSUME_PIPE2): Likewise.
36870         (__ASSUME_EVENTFD2): Likewise.
36871         (__ASSUME_SIGNALFD4): Likewise.
36872         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36873         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36874         Do not define.
36875         (__ASSUME_EVENTFD2): Likewise.
36876         (__ASSUME_SIGNALFD4): Likewise.
36877         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36878         (__ASSUME_32BITUIDS): Likewise.
36879         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36880         (__ASSUME_IPC64): Likewise.
36881         (__ASSUME_ST_INO_64_BIT): Likewise.
36882         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36883         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36884         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36885         (__ASSUME_UTIMES): Do not define.
36886         (__ASSUME_PSELECT): Likewise.
36887         (__ASSUME_PPOLL): Likewise.
36888         (__ASSUME_O_CLOEXEC): Likewise.
36889         (__ASSUME_SOCK_CLOEXEC): Likewise.
36890         (__ASSUME_IN_NONBLOCK): Likewise.
36891         (__ASSUME_PIPE2): Likewise.
36892         (__ASSUME_EVENTFD2): Likewise.
36893         (__ASSUME_SIGNALFD4): Likewise.
36894         (__ASSUME_DUP3): Likewise.
36895         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36896         (__ASSUME_UTIMES): Likewise.
36897         (__ASSUME_O_CLOEXEC): Likewise.
36898         (__ASSUME_SOCK_CLOEXEC): Likewise.
36899         (__ASSUME_IN_NONBLOCK): Likewise.
36900         (__ASSUME_PIPE2): Likewise.
36901         (__ASSUME_EVENTFD2): Likewise.
36902         (__ASSUME_SIGNALFD4): Likewise.
36903         (__ASSUME_DUP3): Likewise.
36904         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36905         (__ASSUME_UTIMES): Likewise.
36906         (__ASSUME_O_CLOEXEC): Likewise.
36907         (__ASSUME_SOCK_CLOEXEC): Likewise.
36908         (__ASSUME_IN_NONBLOCK): Likewise.
36909         (__ASSUME_PIPE2): Likewise.
36910         (__ASSUME_EVENTFD2): Likewise.
36911         (__ASSUME_SIGNALFD4): Likewise.
36912         (__ASSUME_DUP3): Likewise.
36913         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36914         Likewise.
36915         (__ASSUME_UTIMES): Likewise.
36916         (__ASSUME_EVENTFD2): Likewise.
36917         (__ASSUME_SIGNALFD4): Likewise.
36918         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36919         (__ASSUME_O_CLOEXEC): Likewise.
36920         (__ASSUME_SOCK_CLOEXEC): Likewise.
36921         (__ASSUME_IN_NONBLOCK): Likewise.
36922         (__ASSUME_PIPE2): Likewise.
36923         (__ASSUME_EVENTFD2): Likewise.
36924         (__ASSUME_SIGNALFD4): Likewise.
36925         (__ASSUME_DUP3): Likewise.
36926         (__ASSUME_UTIMES): Undefine.
36928         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36929         feclearexcept.  Remove symbol versioning code.
36930         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36931         symbol versioning code.
36932         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36933         symbol versioning code.
36934         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36935         feupdateenv.  Remove symbol versioning code.
36936         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36937         fegetexceptflag.  Remove symbol versioning code.
36938         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36939         fesetexceptflag.  Remove symbol versioning code.
36940         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36941         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36942         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36943         (__posix_fadvise64_l32): Remove prototype.
36944         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36945         code.
36947 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36949         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36950         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36951         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36952         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36954 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36956         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36957         current working directory
36959 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36961         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36962         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36963         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36964         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36965         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36966         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36967         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36968         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36969         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36970         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36971         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36972         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36973         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36974         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36975         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36976         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36977         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36978         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36979         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36980         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36981         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36982         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36983         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36984         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36985         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36986         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36987         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36988         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36989         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36990         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36991         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36992         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36993         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36994         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36995         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36996         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36997         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36998         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36999         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37000         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37001         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37002         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37004         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37005         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37007         * sysdeps/unix/sysv/linux/arm/Makefile
37008         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37009         Add rt-aeabi_unwind_cpp_pr1.
37010         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37011         Add nptl-aeabi_unwind_cpp_pr1.
37012         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37013         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37014         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37015         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37016         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37017         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37019         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37020         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37021         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37022         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37024         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37025         Deconditionalize the code that was previously under [RESET_PID].
37026         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37028         * sysdeps/generic/exit-thread.h: New file.
37029         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37030         * include/unistd.h (__exit_thread): Remove declaration.
37031         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37032         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37033         * csu/libc-start.c: Include <exit-thread.h>.
37034         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37035         * nptl/pthread_create.c: Include <exit-thread.h>.
37036         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37037         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37038         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37039         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37040         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37041         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37042         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37043         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37044         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37045         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37046         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37047         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37048         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37049         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37050         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37051         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37052         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37054 2014-05-13  Andreas Schwab  <schwab@suse.de>
37056         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37058 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37060         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37061         (__ASSUME_UTIMES): Do not condition on kernel version.
37062         (__ASSUME_PSELECT): Define unconditionally.
37063         (__ASSUME_PPOLL): Likewise.
37064         (__ASSUME_ATFCTS): Likewise.
37065         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37066         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37067         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37068         (__ASSUME_UTIMENSAT): Define unconditionally.
37069         (__ASSUME_PRIVATE_FUTEX): Likewise.
37070         (__ASSUME_FALLOCATE): Likewise.
37071         (__ASSUME_O_CLOEXEC): Likewise.
37072         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37073         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37074         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37075         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37076         (__ASSUME_IN_NONBLOCK): Likewise.
37077         (__ASSUME_PIPE2): Likewise.
37078         (__ASSUME_EVENTFD2): Likewise.
37079         (__ASSUME_SIGNALFD4): Likewise.
37080         (__ASSUME_DUP3): Likewise.
37081         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37082         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37083         (__ASSUME_AT_RANDOM): Likewise.
37084         (__ASSUME_PREADV): Likewise.
37085         (__ASSUME_PWRITEV): Likewise.
37086         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37087         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37088         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37089         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37090         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37091         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37092         (__ASSUME_O_CLOEXEC): Define unconditionally.
37093         (__ASSUME_PSELECT): Do not undefine conditionally.
37094         (__ASSUME_PPOLL): Likewise.
37095         (__ASSUME_ATFCTS): Likewise.
37096         (__ASSUME_SET_ROBUST_LIST): Likewise.
37097         (__ASSUME_UTIMENSAT): Likewise.
37098         (__ASSUME_FDATASYNC): Define unconditionally.
37099         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37100         (__ASSUME_SIGFRAME_V2): Likewise.
37101         )__ASSUME_EVENTFD2): Likewise.
37102         (__ASSUME_SIGNALFD4): Likewise.
37103         (__ASSUME_PSELECT): Do not undefine conditionally.
37104         (__ASSUME_PPOLL): Likewise.
37105         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37106         (__ASSUME_PSELECT): Define unconditionally.
37107         (__ASSUME_PPOLL): Likewise.
37108         (__ASSUME_O_CLOEXEC): Likewise.
37109         (__ASSUME_SOCK_CLOEXEC): Likewise.
37110         (__ASSUME_IN_NONBLOCK): Likewise.
37111         (__ASSUME_PIPE2): Likewise.
37112         (__ASSUME_EVENTFD2): Likewise.
37113         (__ASSUME_SIGNALFD4): Likewise.
37114         (__ASSUME_DUP3): Likewise.
37115         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37116         (__ASSUME_O_CLOEXEC): Likewise.
37117         (__ASSUME_SOCK_CLOEXEC): Likewise.
37118         (__ASSUME_IN_NONBLOCK): Likewise.
37119         (__ASSUME_PIPE2): Likewise.
37120         (__ASSUME_EVENTFD2): Likewise.
37121         (__ASSUME_SIGNALFD4): Likewise.
37122         (__ASSUME_DUP3): Likewise.
37123         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37124         (__ASSUME_EVENTFD2): Likewise.
37125         (__ASSUME_SIGNALFD4): Likewise.
37126         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37128 2014-05-12  Andreas Schwab  <schwab@suse.de>
37130         [BZ #16932]
37131         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37132         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37133         than maximum RPC packet size.
37134         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37135         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37136         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37137         (_nss_nis_getservbyport_r): Likewise.
37139 2014-05-12  Will Newton  <will.newton@linaro.org>
37141         * malloc/Makefile (tests): Add tst-mallopt.
37142         * malloc/tst-mallopt.c: New file.
37144 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37146         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37147         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37149 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37151         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37152         (tst-tlsmod6.so): Likewise.
37154 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37156         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37158 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37160         [BZ #16064]
37161         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37162         and <dl-procinfo.h>.
37163         (__fegetenv): Save SSE state in envp->__eip if supported.
37164         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37165         envp->__eip if supported.
37166         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37167         and <dl-procinfo.h>.
37168         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37169         __data_offset and __data_selector in environment to 0.  Set SSE
37170         state if supported.
37171         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37172         test-fenv-sse.
37173         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37174         -mfpmath=sse.
37175         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37177 2014-05-09  Will Newton  <will.newton@linaro.org>
37179         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37180         and libc_relro_required for ARM.
37181         * sysdeps/arm/preconfigure: Regenerate.
37183 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37184             Stefan Liebler  <stli@linux.vnet.ibm.com>
37186         * config.make.in (enable-lock-elision): New Makefile variable.
37187         * configure.ac: Likewise.
37188         * configure: Regenerate.
37189         * sysdeps/s390/configure.ac:
37190         Add check for gcc transactions support.
37191         * sysdeps/s390/configure: Regenerate.
37192         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37193         Build elision files if enabled.
37194         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37195         Add lock elision support for s390.
37196         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37197         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37198         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37199         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37200         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37201         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37202         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37203         Likewise.
37204         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37205         Likewise.
37206         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37207         Likewise.
37208         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37209         Likewise.
37210         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37211         (__lll_timedlock_elision, __lll_lock_elision)
37212         (__lll_unlock_elision, __lll_trylock_elision)
37213         (lll_timedlock_elision, lll_lock_elision)
37214         (lll_unlock_elision, lll_trylock_elision): Add.
37215         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37216         (pthread_mutex_t): Add lock elision support for s390.
37218 2014-05-14  Wilco  <wdijkstr@arm.com>
37220         * sysdeps/arm/fclrexcpt.c: Cleanup.
37221         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37222         * sysdeps/arm/feenablxcpt.c: Cleanup.
37223         * sysdeps/arm/fegetenv.c: Cleanup.
37224         * sysdeps/arm/fegetexcept.c: Cleanup.
37225         * sysdeps/arm/fegetround.c: Cleanup.
37226         * sysdeps/arm/feholdexcpt.c: Cleanup.
37227         * sysdeps/arm/fesetenv.c: Cleanup.
37228         * sysdeps/arm/fesetround.c: Cleanup.
37229         * sysdeps/arm/feupdateenv.c: Cleanup.
37230         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37231         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37232         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37233         * sysdeps/arm/ftestexcept.c: Cleanup.
37234         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37235         * sysdeps/arm/setfpucw.c: Cleanup.
37237 2014-05-09  Will Newton  <will.newton@linaro.org>
37239         * sysdeps/arm/armv7/strcmp.S: New file.
37240         * NEWS: Mention addition of ARMv7 optimized strcmp.
37242 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37244         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37245         look for %.ac rather than %.in.
37247         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37248         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37249         * sysdeps/mach/hurd/configure: Regenerated.
37250         * sysdeps/unix/sysv/linux/configure: Regenerated.
37252         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37254 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37256         [BZ# 16922]
37257         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37258         (LONG_SUB): Ditto.
37259         (PTR_SUB): Ditto.
37261 2014-05-07  Andreas Schwab  <schwab@suse.de>
37263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37264         when skipping over non-matching result from nscd.
37266 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37268         [BZ #16876]
37269         * nptl/sockperf.c (client): Check socket return value.
37271         [BZ #16877]
37272         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37273         nscd security class.
37275 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37277         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37278         * sysdeps/arm/unwind.h: ... here.
37280 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37282         [BZ# 16916]
37283         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37284         Define.
37286 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37288         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37289         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37290         multiarch strncpy for PPC64.
37291         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37292         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37294         multiarch optimizations.
37295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37296         (__libc_ifunc_impl_list): Likewise.
37297         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37298         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37299         multiarch stpncpy for PPC64.
37300         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37301         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37303 2014-05-06  Andreas Schwab  <schwab@suse.de>
37305         [BZ #16912]
37306         * gmon/mcount.c (_MCOUNT_DECL): Use
37307         atomic_compare_and_exchange_bool_acq instead of
37308         catomic_compare_and_exchange_bool_acq.
37310 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37312         * elf/Makefile (others, install-bin): Remove pldd.
37313         (pldd-modules): Variable removed.
37314         ($(objpfx)pldd): Target removed.
37315         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37316         (others, install-bin): Append pldd here.
37317         ($(objpfx)pldd): New target.
37319         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37320         to 0, so the first #if test emitted later doesn't see it undefined.
37321         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37322         * sysdeps/gnu/errlist.c: Regenerated.
37324 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37326         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37327         [libc_hidden_builtin_def]: Define to empty value.
37328         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37329         [libc_hidden_builtin_def]: Likewise.
37330         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37331         [libc_hidden_builtin_def]: Likewise.
37332         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37333         [libc_hidden_builtin_def]: Likewise.
37334         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37335         __redirect_memcpy and define ifunc as default hidden symbol.
37336         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37337         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37339 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37341         * locale/iso-4217.def: Reintroduce XDR currency.
37343 2014-05-04  Allan McRae  <allan@archlinux.org>
37345         * po/eo.po: Update Esperanto translation from translation project.
37347 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37349         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37350         and FEATURE_INDEX_MAX to 1.
37351         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37353 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37355         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37356         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37357         * iconvdata/big5.c (ONE_DIRECTION): Define.
37358         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37359         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37360         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37361         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37362         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37363         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37364         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37365         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37366         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37367         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37368         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37369         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37370         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37371         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37372         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37373         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37374         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37375         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37376         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37377         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37378         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37379         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37380         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37381         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37382         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37383         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37384         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37385         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37386         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37387         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37388         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37389         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37390         * iconvdata/johab.c (ONE_DIRECTION): Define.
37391         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37392         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37393         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37394         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37395         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37396         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37397         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37398         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37399         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37400         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37402 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37404         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37405         (_IO_JUMPS_OFFSET): Define to 0.
37407         * nptl/sysdeps/pthread/bits/libc-lock.h
37408         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37409         (__libc_lock_define_initialized_recursive): Always define using
37410         initializer.  Modern compilers treat uninitialized (implicit zero) and
37411         explicit zero initializers the same (i.e. put the datum in bss).
37413 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37415         * nscd/nscd-client.h: Include <string.h>.
37417 2014-05-01  David S. Miller  <davem@davemloft.net>
37419         [BZ #16885]
37420         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37421         multiple zero bytes exist at the end of a string.
37422         Reported by Aurelien Jarno <aurelien@aurel32.net>
37424         * string/test-strcmp.c (check): Add explicit test for situations where
37425         there are multiple zero bytes after the first.
37427 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37429         [BZ #16890]
37430         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37431         when compiling wprintf.
37432         * stdio-common/tstdiomisc.c (t3): New function.
37433         (main): Call it.
37435 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37437         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37438         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37439         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37440         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37442 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37444         * stdlib/longlong.h: Updated from GCC.
37446 2014-05-01  Will Newton  <will.newton@linaro.org>
37447             Bernard Ogden  <bernie.ogden@linaro.org>
37449         * NEWS: Update fixed bug list.
37451         [BZ #15119]
37452         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37454 2014-04-30  David S. Miller  <davem@davemloft.net>
37456         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37457         (libc_feholdexcept_setround_sparc_ctx): New function.
37458         (libc_fesetenv_sparc_ctx): Likewise.
37459         (libc_feupdateenv_sparc_ctx): Likewise.
37460         (libc_feholdsetround_sparc_ctx): Likewise.
37461         (libc_feholdexcept_setround_ctx): Define.
37462         (libc_feholdexcept_setroundf_ctx): Likewise.
37463         (libc_feholdexcept_setroundl_ctx): Likewise.
37464         (libc_fesetenv_ctx): Likewise.
37465         (libc_fesetenvf_ctx): Likewise.
37466         (libc_fesetenvl_ctx): Likewise.
37467         (libc_feupdateenv_ctx): Likewise.
37468         (libc_feupdateenvf_ctx): Likewise.
37469         (libc_feupdateenvl_ctx): Likewise.
37470         (libc_feresetround_ctx): Likewise.
37471         (libc_feresetroundf_ctx): Likewise.
37472         (libc_feresetroundl_ctx): Likewise.
37473         (libc_feholdsetround_ctx): Likewise.
37474         (libc_feholdsetroundf_ctx): Likewise.
37475         (libc_feholdsetroundl_ctx): Likewise.
37477         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37478         with __USE_GNU instead of XOPEN cpp guards.
37480         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37481         0.
37483         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37484         with XOPEN cpp guards.
37486 2014-04-30  Julian Brown  <julian@codesourcery.com>
37488         [BZ #16888]
37489         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37490         handling.
37492 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37494         [BZ #9894]
37495         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37496         Change to 2.6.32.
37497         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37498         * sysdeps/unix/sysv/linux/configure: Regenerated.
37499         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37500         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37501         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37502         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37503         * README: Update reference to required Linux kernel version.
37504         * manual/install.texi (Linux): Update reference to required Linux
37505         kernel headers version.
37506         * INSTALL: Regenerated.
37508         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37509         header inclusion.
37510         [POSIX] (limits.h): Likewise.
37511         [POSIX] (math.h): Likewise.
37512         [POSIX] (sys/wait.h): Likewise.
37513         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37514         function.
37515         [POSIX] (stddef.h): Do not allow header inclusion.
37517 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37519         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37521 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37523         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37524         Return immediately after lll_futex_wake.
37526 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37528         [BZ #16791]
37529         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37530         structure.
37531         (datahead_init_pos): Call datahead_init_common early.
37532         (datahead_init_neg): Likewise.
37534         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37535         datahead_init_neg): New functions.
37536         * nscd/aicache.c (addhstaiX): Use them.
37537         * nscd/grpcache.c (cache_addgr): Likewise.
37538         * nscd/hstcache.c (cache_addhst): Likewise.
37539         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37540         * nscd/netgroupcache.c (do_notfound): Likewise.
37541         (addgetnetgrentX): Likewise.
37542         (addinnetgrX): Likewise.
37543         * nscd/pwdcache.c (cache_addpw): Likewise.
37544         * nscd/servicescache.c (cache_addserv): Likewise.
37546 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37547             Atsushi Onoe  <atsushi@onoe.org>
37549         [BZ #14308]
37550         [BZ #12994]
37551         [BZ #13651]
37552         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37553         one response is valid.
37554         * resolv/res_send.c (send_dg): Check for validity of other
37555         response if the current response is a referral.
37557 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37559         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37561 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37563         [BZ #16823]
37564         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37565         Always divide by positive zero when computing -Inf result.
37566         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37567         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37569 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37571         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37572         FPSCR if value do not change.
37573         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37574         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
37575         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
37576         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37577         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
37578         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
37579         function.
37581 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
37583         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
37584         * sysdeps/unix/sysv/linux/hppa: Move directory from
37585         ports/systeps/unix/sysv/linux/hppa.
37586         * README: Update listing for hppa-*-linux-gnu.
37588 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
37590         [BZ #16754]
37591         * manual/stdio.texi (Hook functions): Fix types of stream hook
37592         functions.
37593         [BZ #16854]
37594         * socket/sys/socket.h: Fix typo in comment.
37596 2014-04-28  Wilco  <wdijkstr@arm.com>
37598         * sysdeps/arm/fenv_private.h: New file.
37599         * sysdeps/arm/math_private.h: New file.
37600         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
37602 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
37604         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
37605         with __int128_t.
37606         (La_x86_64_retval): Likewise.
37608 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
37610         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
37611         fpsr if value didn't change.
37612         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
37613         to fpcr if value didn't change.
37614         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
37615         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
37616         fpsr or fpcr if value didn't change.
37617         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37618         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
37619         fpcr if value didn't change.
37620         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
37621         to fpsr if value didn't change.
37623 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37625         * nptl/tst-sem3.c: Use test-skeleton.c
37626         (main): Rename to do_test.  Use return instead of
37627         exit.
37628         * nptl/tst-sem4.c: Use test-skeleton.c
37629         (main): Rename to do_test.
37631 2014-04-22  David S. Miller  <davem@davemloft.net>
37633         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
37634         (struct sigaction): New struct member __glibc_reserved0, change
37635         type of sa_flags to int.
37637 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
37639         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
37640         (COUNT_LEADING_ZEROS_0): Define for AArch64.
37642 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37644         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
37645         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
37647 2014-04-22  Will Newton  <will.newton@linaro.org>
37648             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
37650         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
37651         (__longjmp): Add longjmp and longjmp_target SystemTap
37652         probes.
37653         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
37654         (__sigsetjmp): Add setjmp SystemTap probe.
37656 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
37658         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
37659         match manual order.
37661 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37663         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
37665         * sysdeps/powerpc/fpu/fenv_private.h
37666         (libc_feholdexcept_setroundl_ctx): Define to
37667         libc_feholdexcept_setround_ppc_ctx.
37668         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
37669         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
37670         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
37671         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
37673 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37675         * sysdeps/aarch64/math-tests.h: New file.
37677 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
37679         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
37680         New.
37681         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37682         Check and set bit_AVX2_Usable.
37683         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
37684         macro.
37685         (bit_AVX2): Likewise.
37686         (index_AVX2_Usable): Likewise.
37687         (CPUID_AVX2): Likewise.
37688         (HAS_AVX2): Likewise.
37690 2014-04-17  Will Newton  <will.newton@linaro.org>
37692         * manual/setjmp.texi (System V contexts): Add note that
37693         calling setcontext on a context created by a call to a
37694         signal handler is undefined.  Update text to note that
37695         setcontext from a signal handler is possible but not
37696         recommended.
37698         [BZ #16629]
37699         * stdlib/tst-setcontext.c: Include signal.h.
37700         (main): Check that the signal stack before and
37701         after swapcontext is the same.
37703         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
37704         Re-implement to restore registers in user code and avoid
37705         rt_sigreturn system call.
37707 2014-04-17  Wilco  <wdijkstr@arm.com>
37709         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
37710         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
37711         * math/test-fenv.c: Skip exception trap tests on targets which only
37712         support non-stop mode.
37714 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
37715             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37717         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
37718         (libc_feholdsetround_aarch64_ctx)
37719         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
37720         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
37721         (libc_feresetround_ctx, libc_feresetroundf_ctx)
37722         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
37723         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
37724         (libc_feresetround_noexl_ctx): Define.
37726 2014-04-16  Richard Henderson  <rth@redhat.com>
37728         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
37730         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
37731         unwind tables.
37733         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
37734         const from the non-libc, non-ldso copy.
37736         * sysdeps/alpha/libm-test-ulps: Regenerate.
37738 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
37739             Wilco Dijkstra  <wilco.dijkstra@arm.com>
37741         * sysdeps/aarch64/fpu/math_private.h: New file.
37743 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37745         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37747 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
37749         [BZ #16275]
37750         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
37751         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
37752         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
37753         Intel MPX bound registers before _dl_profile_fixup.
37754         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
37755         registers after _dl_profile_fixup.  Save and restore bound
37756         registers bnd0/bnd1 when calling _dl_call_pltexit.
37757         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37758         (LR_BND_OFFSET): Likewise.
37759         (LRV_BND0_OFFSET): Likewise.
37760         (LRV_BND1_OFFSET): Likewise.
37762 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37764         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37765         to...
37766         * sysdeps/mach/hurd/i386/tls.h: ... here.
37767         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37768         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37769         fields.
37771 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37773         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37775 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37777         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37779 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37781         [BZ #14770]
37782         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37783         * sysdeps/s390/configure: Regenerate.
37785         [BZ #16824]
37786         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37787         Set round-to-nearest internally to reduce error accumulation.
37789 2014-04-16  Alan Modra  <amodra@gmail.com>
37791         [BZ #16740]
37792         [BZ #16619]
37793         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37794         * math/libm-test.inc (frexp_test_data): Add tests.
37795         * NEWS: Update fixed bug list.
37797 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37799         * benchtests/Makefile: Depend on libraries in build directory.
37800         (bench-math): Separate out math tests.
37801         (bench-pthread): Separate out pthread tests.
37802         (bench): Include math and pthread tests.
37804 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37806         [BZ #16831]
37807         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37808         _dl_debug_initialize.
37810         * configure.ac: Remove SELinux header check.
37811         * configure: Regenerate.
37812         * nscd/selinux.c (perms): Array of const char* to permission names.
37813         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37814         default policy. Call string_to_security_class and string_to_av_perm to
37815         translate strings. Enforce default policy and call avs_has_perm with
37816         results of translated strings.
37818 2014-04-13  David S. Miller  <davem@davemloft.net>
37820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37822 2014-04-12  Allan McRae  <allan@archlinux.org>
37824         [BZ #16838]
37825         * manual/string.texi (Collation Functions): Fix qsort argument
37826         order in example.
37827         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37829 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37831         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37832         Make the test a no-op if there are no exceptions defined.
37834 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37836         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37837         enable-hardcoded-path-in-tests
37839 2014-04-11  Will Newton  <will.newton@linaro.org>
37841         * benchtests/Makefile (extra-objs): Add json-lib.o.
37842         (bench-func): Tidy up JSON output.
37843         * benchtests/bench-skeleton.c: Include json-lib.h.
37844         (main): Use JSON library functions to do output of
37845         benchmark results.
37846         * benchtests/bench-timing-type.c (main): Output the
37847         timing type simply, leaving formatting to the user.
37848         * benchtests/json-lib.c: New file.
37849         * benchtests/json-lib.h: Likewise.
37851 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37853         [BZ #15215]
37854         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37855         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37856         memory barriers.  Add comments.
37857         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37858         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37859         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37860         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37861         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37862         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37864 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37866         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37867         * sysdeps/s390/s390-64/configure.ac: ... this ...
37868         * sysdeps/s390/configure.ac: ... to here.
37869         * sysdeps/s390/s390-32/configure: Delete file.
37870         * sysdeps/s390/s390-64/configure: Delete file.
37871         * sysdeps/s390/configure: Regenerate.
37873 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37875         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37877 2014-04-11  Will Newton  <will.newton@linaro.org>
37879         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37880         to zero if it is not defined elsewhere.  (mtrim): Test
37881         the value of MALLOC_DEBUG with #if rather than #ifdef.
37883 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37885         * benchtests/pthread_once-inputs: New file.
37886         * benchtests/pthread_once-source.c: New file.
37887         * benchtests/README: Update documentation.
37889 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37890             H.J. Lu  <hongjiu.lu@intel.com>
37892         [BZ #16275]
37893         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37894         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37895         * sysdeps/x86_64/configure: Regenerated.
37896         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37897         macro.
37898         (REGISTER_SAVE_RAX): Likewise.
37899         (REGISTER_SAVE_RCX): Likewise.
37900         (REGISTER_SAVE_RDX): Likewise.
37901         (REGISTER_SAVE_RSI): Likewise.
37902         (REGISTER_SAVE_RDI): Likewise.
37903         (REGISTER_SAVE_R8): Likewise.
37904         (REGISTER_SAVE_R9): Likewise.
37905         (REGISTER_SAVE_BND0): Likewise.
37906         (REGISTER_SAVE_BND1): Likewise.
37907         (REGISTER_SAVE_BND2): Likewise.
37908         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37909         bound registers when calling _dl_fixup.
37911 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37913         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37914         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37915         of its definition.
37916         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37917         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37918         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37919         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37920         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37921         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37922         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37924 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37926         [BZ #15514]
37927         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37928         pathconf(_PC_NAME_MAX).
37930 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37932         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37933         Remove macro usage.
37934         (__PTHREAD_SPINS): Move definition to ...
37935         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37936         (__PTHREAD_SPINS): ... here.
37937         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37938         (__PTHREAD_SPIN): Likewise.
37939         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37940         (__PTHREAD_SPIN): Likewise.
37941         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37942         (__PTHREAD_SPIN): Likewise.
37943         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37944         (__PTHREAD_SPIN): Likewise.
37945         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37946         (__PTHREAD_SPIN): Likewise.
37947         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37948         (__PTHREAD_SPIN): Likewise.
37949         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37950         (__PTHREAD_SPIN): Likewise.
37951         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37952         (__PTHREAD_SPIN): Likewise.
37953         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37954         (__PTHREAD_SPIN): Likewise.
37955         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37956         (__PTHREAD_SPIN): Likewise.
37957         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37958         (__PTHREAD_SPIN): Likewise.
37959         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37960         (__PTHREAD_SPIN): Likewise.
37962         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37963         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37964         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37965         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37966         imply folder.
37967         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37968         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37969         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37970         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37971         correct imply path.
37972         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37973         strlen symbol for non multi-arch builds.
37974         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37975         missing hidden_def and weak_alias.
37977 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37979         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37981 2014-04-07  Will Newton  <will.newton@linaro.org>
37983         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37984         and contents.  [!_LIBC] Remove #ifndef and contents.
37985         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37986         * string/memccpy.c (__memccpy): Use ANSI prototype.
37987         * string/memfrob.c (memfrob): Likewise.
37988         * string/strcoll.c (STRCOLL): Likewise.
37989         * string/strlen.c (strlen): Likewise.
37990         * string/strtok.c (STRTOK): Likewise.
37991         * string/strcat.c: Remove unused #include of memcopy.h.
37992         (strcat): Use ANSI prototype.
37993         * string/strchr.c: Remove unused #include of memcopy.h.
37994         (strchr): Use ANSI prototype.
37995         * string/strcmp.c: Remove unused #include of memcopy.h.
37996         (strcmp): Use ANSI prototype.
37997         * string/strcpy.c: Remove unused #include of memcopy.h.
37998         (strcpy): Use ANSI prototype.
38000 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38002         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38003         * config.make.in (config-extra-cppflags): Set it from
38004         libc_extra_cppflags.
38005         * configure.ac (libc_extra_cflags): Make it accumulate over
38006         configure fragments.
38007         (libc_extra_cppflags): New flag.
38008         * configure. Regenerate.
38009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38010         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38011         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38014         [BZ #16815]
38015         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38016         result for FE_DOWNWARD rounding mode.
38017         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38018         Likewise.
38019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38021 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38023         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38024         in function argument name.
38026 2014-04-03  David Svoboda  <svoboda@cert.org>
38028         [BZ #5666]
38029         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38030         explicitly.
38032 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38034         * elf/dl-unmap-segments.h: New file.
38035         * sysdeps/generic/ldsodefs.h
38036         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38037         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38038         * elf/dl-fptr.c: Likewise.
38039         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38040         * sysdeps/aarch64/tlsdesc.c: Likewise.
38041         * sysdeps/arm/tlsdesc.c: Likewise.
38042         * sysdeps/i386/tlsdesc.c: Likewise.
38043         * sysdeps/tile/dl-runtime.c: Likewise.
38044         * sysdeps/x86_64/tlsdesc.c: Likewise.
38045         * elf/dl-load.h: New file.
38046         * elf/dl-load.c: Include it.
38047         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38048         Macros moved to dl-load.h.
38049         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38050         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38051         Use _dl_unmap_segments in place of __munmap.
38052         Break out segment-mapping loop into ...
38053         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38055 2014-04-03  Will Newton  <will.newton@linaro.org>
38057         * elf/dl-lookup.c (do_lookup_x): Remove comment
38058         referring to nested function and move variable
38059         declarations down to before first use.
38061 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38063         [BZ #16799]
38064         [BZ #16800]
38065         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38066         with 0 numerator.
38067         * math/s_catanf.c (__catanf): Likewise.
38068         * math/s_catanh.c (__catanh): Likewise.
38069         * math/s_catanhf.c (__catanhf): Likewise.
38070         * math/s_catanhl.c (__catanhl): Likewise.
38071         * math/s_catanl.c (__catanl): Likewise.
38072         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38073         by positive zero when computing -Inf result.
38074         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38075         (catanh_test): Likewise.
38076         * sysdeps/i386/fpu/libm-test-ulps: Update.
38077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38079         [BZ #16789]
38080         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38081         instead of using underflowing value in computing result.
38082         * math/s_clog10.c (__clog10): Likewise.
38083         * math/s_clog10f.c (__clog10f): Likewise.
38084         * math/s_clog10l.c (__clog10l): Likewise.
38085         * math/s_clogf.c (__clogf): Likewise.
38086         * math/s_clogl.c (__clogl): Likewise.
38087         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38088         (clog10_test): Likewise.
38089         * sysdeps/i386/fpu/libm-test-ulps: Update.
38090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38092 2014-04-02  Alan Modra  <amodra@gmail.com>
38094         [BZ #16739]
38095         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38096         output when value is near a power of two.  Use int64_t for lx and
38097         remove casts.  Use decimal rather than hex exponent constants.
38098         Don't use long double multiplication when double will suffice.
38099         * math/libm-test.inc (nextafter_test_data): Add tests.
38100         * NEWS: Add 16739 and 16786 to bug list.
38102         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38104         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38106 2014-04-01  Will Newton  <will.newton@linaro.org>
38108         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38109         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38111 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38113         [BZ #13347]
38114         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38115         * nptl/tst-setuid2.c: New file.
38116         * nptl/Makefile (xtests): Add tst-setuid2.
38118 2014-04-01  Alan Modra  <amodra@gmail.com>
38120         [BZ #16786]
38121         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38123 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38125         [BZ #6803]
38126         [BZ #6804]
38127         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38128         set errno as appropriate.
38129         * math/w_scalbf.c (__scalbf): Likewise.
38130         * math/w_scalbl.c (__scalbl): Likewise.
38131         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38132         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38133         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38134         Add more NaN tests.
38136         [BZ #16349]
38137         * math/w_atan2.c: Include <errno.h>.
38138         (__atan2): Set errno for result underflowing to zero.
38139         * math/w_atan2f.c: Include <errno.h>.
38140         (__atan2f): Set errno for result underflowing to zero.
38141         * math/w_atan2l.c: Include <errno.h>.
38142         (__atan2l): Set errno for result underflowing to zero.
38143         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38144         tests.
38145         * math/auto-libm-test-out: Regenerated.
38147 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38149         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38150         Encode instruction correctly in little endian.
38151         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38152         Likewise.
38153         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38154         Likewise.
38155         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38156         Likewise.
38157         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38158         Likewise.
38160 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38162         [BZ #9894]
38163         * sysdeps/unix/sysv/linux/kernel-features.h
38164         [__sparc__ && !__arch64__ && !__sparc_v9__]
38165         (__ASSUME_SET_ROBUST_LIST): Do not define.
38166         [__sparc__ && !__arch64__ && !__sparc_v9__]
38167         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38168         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38169         Likewise.
38170         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38171         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38172         (__ASSUME_REQUEUE_PI): Likewise.
38173         (__ASSUME_SET_ROBUST_LIST): Likewise.
38174         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38175         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38176         Undefine.
38177         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38178         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38179         Likewise.
38180         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38181         Likewise.
38182         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38183         Likewise.
38184         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38185         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38186         Undefine.
38187         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38188         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38189         Likewise.
38191         [BZ #16648]
38192         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38193         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38194         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38196 2014-03-31  Will Newton  <will.newton@linaro.org>
38198         * benchtests/Makefile (bench): Add ffs and ffsll to list
38199         of tests.
38200         * benchtests/ffs-inputs: New file.
38201         * benchtests/ffsll-inputs: Likewise.
38203 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38205         [BZ #16770]
38206         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38207         too large before casting to int.
38208         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38209         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38210         * math/libm-test.inc (scalb_test_data): Add more tests.
38212 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38214         * benchtests/Makefile (DETAILED_OPT): New make option.
38215         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38216         set.
38217         * benchtests/bench-skeleton.c: Include stdbool.h.
38218         (main): Store and print timings per input.
38219         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38220         member to each argument value.
38221         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38222         (_print_arg_data): Initialize per-input timing to 0.
38224         * benchtests/Makefile (timing-type): New binary.
38225         (bench-clean): Also remove bench-timing-type.
38226         (bench): New target for timing-type.
38227         (bench-func): Print output in JSON format.
38228         * benchtests/bench-skeleton.c (main): Print output in JSON
38229         format.
38230         * benchtests/bench-timing-type.c: New file.
38231         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38232         (TIMING_PRINT_STATS): Remove.
38233         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38234         name separately.
38236         * benchtests/bench-modf.c: Remove.
38237         * benchtests/modf-inputs: New inputs file.
38239 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38241         [BZ #16362]
38242         * math/s_clog10.c (M_PI_LOG10E): New macro.
38243         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38244         imaginary parts are 0.
38245         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38246         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38247         imaginary parts are 0.
38248         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38249         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38250         imaginary parts are 0.
38251         * math/libm-test.inc (clog10_test_data): Update expected results
38252         for when real and imaginary parts are 0.
38254 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38256         * elf/dl-load.c: Finish conversion of __builtin_expect into
38257         __glibc_{un}likely.
38259 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38261         [BZ #16348]
38262         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38263         1+x for argument with exponent below -67.
38264         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38265         Likewise.
38266         * math/auto-libm-test-in: Add more tests of exp.
38267         * math/auto-libm-test-out: Regenerated.
38269 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38271         [BZ #16759]
38272         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38273         (nscd_getnetgrent): Use it.
38275         [BZ #16760]
38276         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38277         of stpcpy.
38279 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38281         * nptl/sysdeps/unix/sysv/linux/x86_64/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.
38287         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38288         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38289         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38290         (lll_robust_unlock): Remove out of line section. Use cfi
38291         intrinsics.
38292         (LLL_STUB_UNWIND_INFO*): Remove.
38294 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38296         [BZ #16758]
38297         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38298         blank values.
38300 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38302         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38304 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38306         [BZ #16198]
38307         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38308         fnstenv.
38309         * math/test-fenv-preserve.c: New file.
38310         * math/Makefile (tests): Add test-fenv-preserve.
38312 2014-03-26  Will Newton <will.newton@linaro.org>
38314         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38316 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38318         * scripts/versionlist.awk: Partition the version sets and emit all
38319         GLIBC_* (sorted) before all others (sorted).
38321 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38323         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38324         GLIBC_2.2.5 version.
38326 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38328         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38329         calls.
38331         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38332         previous change.
38334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38336 2014-03-25  Andreas Schwab  <schwab@suse.de>
38338         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38339         label to be used after in6ailist is initialized.
38341 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38343         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38344         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38346 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38348         [BZ #16357]
38349         [BZ #16599]
38350         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38351         min_plus_half.
38352         (fp_formats): Update initializers.
38353         (init_fp_formats): Initialize new field.
38354         (output_for_one_input_case): Allow underflow for results up to
38355         min_plus_half.
38356         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38357         * math/auto-libm-test-in: Don't mark some underflows from asin and
38358         atanh as spurious.
38359         * math/auto-libm-test-out: Regenerated.
38360         * sysdeps/i386/fpu/libm-test-ulps: Update.
38361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38363 2014-03-25  Andreas Schwab  <schwab@suse.de>
38365         * libio/Makefile (tst-ftell-partial-wide-ENV)
38366         (tst-ftell-active-handler-ENV): Define.
38368 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38370         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38372 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38374         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38376 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38378         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38379         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38380         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38382 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38384         [BZ #16634]
38385         * elf/dl-load.c (open_verify): Add mode parameter.
38386         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38387         (open_path): Change from boolean 'secure' to complete flag 'mode'
38388         (_dl_map_object): Adjust.
38389         * elf/Makefile (tests): Add tst-dlopen-aout.
38390         * elf/tst-dlopen-aout.c: New test.
38392 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38394         [BZ #16714]
38395         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38396         (struct stat): Rename member pad0 to __glibc_reserved0.
38398         [BZ #16712]
38399         * sysdeps/s390/s390-32/bits/wordsize.h
38400         (__WORDSIZE32_SIZE_ULONG): New define.
38401         * sysdeps/s390/s390-64/bits/wordsize.h
38402         (__WORDSIZE32_SIZE_ULONG): Likewise.
38403         * sysdeps/generic/stdint.h (SIZE_MAX):
38404         Define as UL if __WORDSIZE32_SIZE_ULONG.
38406         [BZ #16713]
38407         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38408         (__glibc_reserved0): New variable.
38409         (sa_flags): Change type to int.
38411         * posix/Makefile (before-compile): Use += before-compile instead
38412         of a :=.
38414         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38415         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38417 2014-03-20  Andreas Schwab  <schwab@suse.de>
38419         [BZ #16743]
38420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38421         non-matching result from nscd.
38423 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38425         * scripts/bench.py: Moved to ...
38426         * benchtests/scripts/bench.py: ... here.
38427         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38429 2014-03-24  Andreas Schwab  <schwab@suse.de>
38431         [BZ #16002]
38432         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38433         alloca_account and account alloca use for struct in6ailist.
38435 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38437         [BZ #16284]
38438         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38439         rounding mode to recompute results that overflow to infinity or
38440         underflow to zero.
38441         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38442         bug 16284.
38443         * math/auto-libm-test-out: Regenerated.
38444         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38445         (ccosh_test): Likewise.
38446         (csin_test_data): Use plus_oflow.
38447         (csin_test): Use ALL_RM_TEST.
38448         (csinh_test_data): Use plus_oflow.
38449         (csinh_test): Use ALL_RM_TEST.
38450         * sysdeps/i386/fpu/libm-test-ulps: Update.
38451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38453 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38455         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38456         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38457         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38459         [BZ #16731]
38460         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38461         when x - 1 is zero.
38462         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38463         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38464         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38465         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38466         argument is 1.
38467         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38468         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38469         zero.
38470         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38471         * sysdeps/i386/fpu/libm-test-ulps: Update.
38472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38474 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38476         * scripts/bench.pl: Remove file.
38477         * scripts/bench.py: New benchmark script.
38478         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38479         * benchtests/README: Mention python dependency.
38480         * scripts/pylintrc: New file.
38481         * scripts/pylint: New file.
38483         * bits/mathdef.h: Use #ifdef instead of #if.
38484         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38485         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38486         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38487         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38488         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38489         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38491 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38492             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38494         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38496         and strpbrk-ppc64 objects.
38497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38498         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38499         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38500         multiarch strpbrk for POWER7.
38501         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38502         multiarch strpbrk for PPC64.
38503         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38504         ifunc selector.
38505         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38506         strpbrk for POWER7.
38508 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38510         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38511         (atan_test): Likewise.
38512         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38513         (atanh_test): Use ALL_RM_TEST.
38514         (atan2_test_data): Likewise.
38515         (cabs_test): Likewise.
38516         (cacosh_test): Likewise.
38517         (carg_test): Likewise.
38518         (casin_test): Likewise.
38519         (casinh_test): Likewise.
38520         (cbrt_test): Likewise.
38521         (csqrt_test): Likewise.
38522         (erf_test): Likewise.
38523         (erfc_test): Likewise.
38524         (pow10_test): Likewise.
38525         (exp2_test): Likewise.
38526         (hypot_test): Likewise.
38527         (j0_test): Likewise.
38528         (j1_test): Likewise.
38529         (lgamma_test): Likewise.
38530         (gamma_test): Likewise.
38531         (sincos_test): Likewise.
38532         (tanh_test): Likewise.
38533         (y0_test): Likewise.
38534         (y1_test): Likewise.
38535         * sysdeps/i386/fpu/libm-test-ulps: Update.
38536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38538 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38540         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38542         and strcspn-ppc64 objects.
38543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38544         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38545         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38546         multiarch strcspn for POWER7.
38547         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38548         multiarch strcspn for PPC64.
38549         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38550         ifunc selector.
38551         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38552         strcspn for POWER7.
38554 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38556         * math/gen-libm-test.pl (generate_testfile): Expect only function
38557         name as argument to AUTO_TESTS_* and pass results for all rounding
38558         modes to parse_args.
38559         (parse_auto_input): Separate inputs of automatic tests from
38560         outputs before storing in %auto_tests.
38561         * math/libm-test.inc (acos_test_data): Update call to
38562         AUTO_TESTS_f_f.
38563         (acos_test): Use ALL_RM_TEST.
38564         (acos_tonearest_test_data): Remove.
38565         (acos_test_tonearest): Likewise.
38566         (acos_towardzero_test_data): Likewise.
38567         (acos_test_towardzero): Likewise.
38568         (acos_downward_test_data): Likewise.
38569         (acos_test_downward): Likewise.
38570         (acos_upward_test_data): Likewise.
38571         (acos_test_upward): Likewise.
38572         (acosh_test_data): Update call to AUTO_TESTS_f_f.
38573         (asin_test_data): Likewise.
38574         (asin_test): Use ALL_RM_TEST.
38575         (asin_tonearest_test_data): Remove.
38576         (asin_test_tonearest): Likewise.
38577         (asin_towardzero_test_data): Likewise.
38578         (asin_test_towardzero): Likewise.
38579         (asin_downward_test_data): Likewise.
38580         (asin_test_downward): Likewise.
38581         (asin_upward_test_data): Likewise.
38582         (asin_test_upward): Likewise.
38583         (asinh_test_data): Update call to AUTO_TESTS_f_f.
38584         (atan_test_data): Likewise.
38585         (atanh_test_data): Likewise.
38586         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
38587         (cabs_test_data): Update call to AUTO_TESTS_c_f.
38588         (carg_test_data): Likewise.
38589         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
38590         (ccos_test_data): Update call to AUTO_TESTS_c_c.
38591         (ccosh_test_data): Likewise.
38592         (cexp_test_data): Likewise.
38593         (clog_test_data): Likewise.
38594         (clog10_test_data): Likewise.
38595         (cos_test_data): Update call to AUTO_TESTS_f_f.
38596         (cos_test): Use ALL_RM_TEST.
38597         (cos_tonearest_test_data): Remove.
38598         (cos_test_tonearest): Likewise.
38599         (cos_towardzero_test_data): Likewise.
38600         (cos_test_towardzero): Likewise.
38601         (cos_downward_test_data): Likewise.
38602         (cos_test_downward): Likewise.
38603         (cos_upward_test_data): Likewise.
38604         (cos_test_upward): Likewise.
38605         (cosh_test_data): Update call to AUTO_TESTS_f_f.
38606         (cosh_test): Use ALL_RM_TEST.
38607         (cosh_tonearest_test_data): Remove.
38608         (cosh_test_tonearest): Likewise.
38609         (cosh_towardzero_test_data): Likewise.
38610         (cosh_test_towardzero): Likewise.
38611         (cosh_downward_test_data): Likewise.
38612         (cosh_test_downward): Likewise.
38613         (cosh_upward_test_data): Likewise.
38614         (cosh_test_upward): Likewise.
38615         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
38616         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
38617         (ctan_test_data): Likewise.
38618         (ctan_test): Use ALL_RM_TEST.
38619         (ctan_tonearest_test_data): Remove.
38620         (ctan_test_tonearest): Likewise.
38621         (ctan_towardzero_test_data): Likewise.
38622         (ctan_test_towardzero): Likewise.
38623         (ctan_downward_test_data): Likewise.
38624         (ctan_test_downward): Likewise.
38625         (ctan_upward_test_data): Likewise.
38626         (ctan_test_upward): Likewise.
38627         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
38628         (ctanh_test): Use ALL_RM_TEST.
38629         (ctanh_tonearest_test_data): Remove.
38630         (ctanh_test_tonearest): Likewise.
38631         (ctanh_towardzero_test_data): Likewise.
38632         (ctanh_test_towardzero): Likewise.
38633         (ctanh_downward_test_data): Likewise.
38634         (ctanh_test_downward): Likewise.
38635         (ctanh_upward_test_data): Likewise.
38636         (ctanh_test_upward): Likewise.
38637         (erf_test_data): Update call to AUTO_TESTS_f_f.
38638         (erfc_test_data): Likewise.
38639         (exp_test_data): Likewise.
38640         (exp_test): Use ALL_RM_TEST.
38641         (exp_tonearest_test_data): Remove.
38642         (exp_test_tonearest): Likewise.
38643         (exp_towardzero_test_data): Likewise.
38644         (exp_test_towardzero): Likewise.
38645         (exp_downward_test_data): Likewise.
38646         (exp_test_downward): Likewise.
38647         (exp_upward_test_data): Likewise.
38648         (exp_test_upward): Likewise.
38649         (exp10_test_data): Update call to AUTO_TESTS_f_f.
38650         (exp10_test): Use ALL_RM_TEST.
38651         (exp10_tonearest_test_data): Remove.
38652         (exp10_test_tonearest): Likewise.
38653         (exp10_towardzero_test_data): Likewise.
38654         (exp10_test_towardzero): Likewise.
38655         (exp10_downward_test_data): Likewise.
38656         (exp10_test_downward): Likewise.
38657         (exp10_upward_test_data): Likewise.
38658         (exp10_test_upward): Likewise.
38659         (exp2_test_data): Update call to AUTO_TESTS_f_f.
38660         (expm1_test_data): Likewise.
38661         (expm1_test): Use ALL_RM_TEST.
38662         (expm1_tonearest_test_data): Remove.
38663         (expm1_test_tonearest): Likewise.
38664         (expm1_towardzero_test_data): Likewise.
38665         (expm1_test_towardzero): Likewise.
38666         (expm1_downward_test_data): Likewise.
38667         (expm1_test_downward): Likewise.
38668         (expm1_upward_test_data): Likewise.
38669         (expm1_test_upward): Likewise.
38670         (fma_test_data): Update call to AUTO_TESTS_fff_f.
38671         (fma_test): Use ALL_RM_TEST.
38672         (fma_towardzero_test_data): Remove.
38673         (fma_test_towardzero): Likewise.
38674         (fma_downward_test_data): Likewise.
38675         (fma_test_downward): Likewise.
38676         (fma_upward_test_data): Likewise.
38677         (fma_test_upward): Likewise.
38678         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
38679         (j0_test_data): Update call to AUTO_TESTS_f_f.
38680         (j1_test_data): Likewise.
38681         (jn_test_data): Update call to AUTO_TESTS_if_f.
38682         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
38683         (log_test_data): Update call to AUTO_TESTS_f_f.
38684         (log10_test_data): Likewise.
38685         (log1p_test_data): Likewise.
38686         (log2_test_data): Likewise.
38687         (pow_test_data): Update call to AUTO_TESTS_ff_f.
38688         (pow_tonearest_test_data): Likewise.
38689         (sin_test_data): Update call to AUTO_TESTS_f_f.
38690         (sin_test): Use ALL_RM_TEST.
38691         (sin_tonearest_test_data): Remove.
38692         (sin_test_tonearest): Likewise.
38693         (sin_towardzero_test_data): Likewise.
38694         (sin_test_towardzero): Likewise.
38695         (sin_downward_test_data): Likewise.
38696         (sin_test_downward): Likewise.
38697         (sin_upward_test_data): Likewise.
38698         (sin_test_upward): Likewise.
38699         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
38700         (sinh_test_data): Update call to AUTO_TESTS_f_f.
38701         (sinh_test): Use ALL_RM_TEST.
38702         (sinh_tonearest_test_data): Remove.
38703         (sinh_test_tonearest): Likewise.
38704         (sinh_towardzero_test_data): Likewise.
38705         (sinh_test_towardzero): Likewise.
38706         (sinh_downward_test_data): Likewise.
38707         (sinh_test_downward): Likewise.
38708         (sinh_upward_test_data): Likewise.
38709         (sinh_test_upward): Likewise.
38710         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
38711         (sqrt_test): Use ALL_RM_TEST.
38712         (sqrt_tonearest_test_data): Remove.
38713         (sqrt_test_tonearest): Likewise.
38714         (sqrt_towardzero_test_data): Likewise.
38715         (sqrt_test_towardzero): Likewise.
38716         (sqrt_downward_test_data): Likewise.
38717         (sqrt_test_downward): Likewise.
38718         (sqrt_upward_test_data): Likewise.
38719         (sqrt_test_upward): Likewise.
38720         (tan_test_data): Update call to AUTO_TESTS_f_f.
38721         (tan_test): Use ALL_RM_TEST.
38722         (tan_tonearest_test_data): Remove.
38723         (tan_test_tonearest): Likewise.
38724         (tan_towardzero_test_data): Likewise.
38725         (tan_test_towardzero): Likewise.
38726         (tan_downward_test_data): Likewise.
38727         (tan_test_downward): Likewise.
38728         (tan_upward_test_data): Likewise.
38729         (tan_test_upward): Likewise.
38730         (tanh_test_data): Update call to AUTO_TESTS_f_f.
38731         (tgamma_test_data): Likewise.
38732         (y0_test_data): Likewise.
38733         (y1_test_data): Likewise.
38734         (yn_test_data): Update call to AUTO_TESTS_if_f.
38735         (main): Do not call removed functions.
38737 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38739         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
38740         (ldexp_test_data): Remove.
38741         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
38742         scalbn_test_data.
38743         (scalb_test): Use ALL_RM_TEST.
38745 2014-03-19  Andreas Schwab  <schwab@suse.de>
38747         * nscd/nscd.service: Also invalidate netgroup cache on reload.
38749 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
38751         [BZ #16649]
38752         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38753         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
38754         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
38755         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38756         (__ASSUME_PREADV): Undefine.
38757         (__ASSUME_PWRITEV): Likewise.
38759 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38761         * bits/mman-linux.h: Add comment about non-Linux use.
38762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38763         bits/mman-linux.h resting place.
38765         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38766         * bits/mman-linux.h: ... here.
38768 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38770         * conform/conformtest.pl: Add standard definition when calling C
38771         preprocessor on data files.
38772         (checknamespace): Remove unused variable.
38774 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38776         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38777         minus_oflow, plus_uflow and minus_uflow in expected results.
38778         * math/libm-test.inc (scalbn_test_data): Add more tests of
38779         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38780         minus_uflow.
38781         (scalbn_test): Use ALL_RM_TEST.
38782         (scalbln_test_data): Add more tests of negative arguments.  Use
38783         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38784         (scalbln_test): Use ALL_RM_TEST.
38786 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38788         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38790 2014-03-18  Will Newton  <will.newton@linaro.org>
38792         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38793         inaccurate comment.
38795 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38797         * Makerules [!subdir] (check-abi): Exit with error status if a
38798         test failed.
38800 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38802         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38803         for rint.  Include results for all rounding modes.
38804         (nearbyint_test): Use ALL_RM_TEST.
38805         (rint_test_data): Include all tests used for nearbyint.
38807 2014-03-17  Will Newton  <will.newton@linaro.org>
38809         * nptl/sysdeps/pthread/pthread.h: Revert previous
38810         change.
38812         * sysdeps/generic/ldsodefs.h: Revert previous
38813         change.
38815         * libio/genops.c: Revert previous change.
38816         * libio/libioP.h: Likewise.
38817         * stdio-common/vfprintf.c: Likewise.
38819         * sysdeps/generic/math_private.h: Revert previous
38820         change.
38822         * sysdeps/generic/math_private.h: Check whether
38823         HAVE_RM_CTX is defined with #ifdef rather
38824         than #if.
38826         * argp/argp-fmtstream.h: Check whether
38827         __STRICT_ANSI__ is defined with #ifdef rather
38828         than #if.
38829         * argp/argp.h: Likewise.
38831         * libio/genops.c: Check whether
38832         _IO_JUMPS_OFFSET is defined with #ifdef rather
38833         than #if.
38834         * libio/libioP.h: Likewise.
38835         * stdio-common/vfprintf.c: Likewise.
38837         * sysdeps/generic/ldsodefs.h: Check whether
38838         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38839         than #if.
38841         * nptl/sysdeps/pthread/pthread.h: Check
38842         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38843         its value.
38845 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38847         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38848         setting O_APPEND.
38849         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38850         test case.
38852         [BZ #16680]
38853         * libio/fileops.c (_IO_file_open): Seek to end of file but
38854         don't cache the offset.
38855         (get_file_offset): Remove function.
38856         (do_ftell): Use cached offset when available.
38857         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38858         don't cache the offset.
38859         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38860         case.
38861         (do_one_test): Call it.
38862         (do_ftell_test): Fix up expected old offset for a+ mode.
38863         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38864         available.
38866         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38867         up test status with function return status.
38868         (do_write_test): Likewise.
38869         (do_append_test): Likewise.
38871         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38872         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38873         Remove.
38875 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38877         * math/gen-libm-test.pl (parse_args): Handle results specified for
38878         each rounding mode separately.
38879         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38880         tests and results from lrint_tonearest_test_data,
38881         lrint_towardzero_test_data, lrint_downward_test_data and
38882         lrint_upward_test_data.
38883         (lrint_test): Use ALL_RM_TEST.
38884         (lrint_tonearest_test_data): Remove.
38885         (lrint_test_tonearest): Likewise.
38886         (lrint_towardzero_test_data): Likewise.
38887         (lrint_test_towardzero): Likewise.
38888         (lrint_downward_test_data): Likewise.
38889         (lrint_test_downward): Likewise.
38890         (lrint_upward_test_data): Likewise.
38891         (lrint_test_upward): Likewise.
38892         (llrint_test_data): Merge in per-rounding-mode tests and results
38893         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38894         llrint_downward_test_data and llrint_upward_test_data.
38895         (llrint_test): Use ALL_RM_TEST.
38896         (llrint_tonearest_test_data): Remove.
38897         (llrint_test_tonearest): Likewise.
38898         (llrint_towardzero_test_data): Likewise.
38899         (llrint_test_towardzero): Likewise.
38900         (llrint_downward_test_data): Likewise.
38901         (llrint_test_downward): Likewise.
38902         (llrint_upward_test_data): Likewise.
38903         (llrint_test_upward): Likewise.
38904         (rint_test_data): Merge in per-rounding-mode tests and results
38905         from rint_tonearest_test_data, rint_towardzero_test_data,
38906         rint_downward_test_data and rint_upward_test_data.  Add
38907         per-rounding-mode results for tests not in those arrays.
38908         (rint_test): Use ALL_RM_TEST.
38909         (rint_tonearest_test_data): Remove.
38910         (rint_test_tonearest): Likewise.
38911         (rint_towardzero_test_data): Likewise.
38912         (rint_test_towardzero): Likewise.
38913         (rint_downward_test_data): Likewise.
38914         (rint_test_downward): Likewise.
38915         (rint_upward_test_data): Likewise.
38916         (rint_test_upward): Likewise.
38917         (main): Don't call removed functions.
38919 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38921         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38922         "Compiled on ..." crapola.  It is anti-useful.
38924 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38926         * scripts/evaluate-test.sh: Handle fourth argument to determine
38927         whether test run should stop on failure.
38928         * Makeconfig (stop-on-test-failure): New variable.
38929         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38930         $(stop-on-test-failure).
38931         * Makefile (tests): Give a summary of results from testing and
38932         exit with failure status if they include an ERROR or FAIL.
38933         (xtests): Likewise.
38934         * manual/install.texi (Configuring and compiling): Mention
38935         stop-on-test-failure=y.
38936         * INSTALL: Regenerated.
38938 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38940         * scripts/versionlist.awk: New file.
38941         * Makerules [$(build-shared) = yes]
38942         (postclean-generated): Add Versions.def, not Versions.def.v and
38943         Versions.def.v.i.
38944         ($(common-objpfx)Versions.def.v.i): Target removed.
38945         ($(common-objpfx)Versions.def): New target.
38946         ($(common-objpfx)Versions.all): Depend on that rather that
38947         $(common-objpfx)Versions.def.v.
38948         * Versions.def: File removed.
38950         * Makeconfig (+gccwarn): Add -Wundef.
38951         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38952         a dl-sysdep.h breaking its contract.
38953         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38954         * include/stackinfo.h: New file.
38955         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38956         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38957         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38958         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38959         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38960         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38961         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38962         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38963         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38964         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38965         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38966         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38967         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38968         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38969         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38971 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38973         [BZ #16707]
38974         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38975         implementation.
38976         * math/libm-test.inc (round_test_data): Add more tests.
38978         [BZ #16706]
38979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38980         implementation.
38981         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38983         [BZ #16701]
38984         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38985         implementation.
38986         * math/libm-test.inc (ceil_test_data): Add more tests.
38988         * math/libm-test.inc (trunc_test_data): Add more tests related to
38989         BZ#16414.
38991 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38993         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38994         with #if rather than #ifdef.
38995         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38997 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38999         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39000         first.  Disable AVX-512 GCC support if assembler doesn't support
39001         it.
39002         * sysdeps/x86_64/configure: Regenerated.
39004 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39006         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39007         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39008         (__old_pthread_attr_setstack): Likewise.
39009         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39010         [!_STACK_GROWS_DOWN]: Likewise.
39012 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39014         * config.make.in (have-bash2): Delete.
39015         * configure.ac (libc_cv_have_bash2): Delete.
39016         * configure: Regenerate.
39017         * elf/Makefile (common-ldd-rewrite): Rename to ...
39018         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39019         (sh-ldd-rewrite): Delete.
39020         (bash-ldd-rewrite): Delete.
39021         (have-bash2): Delete checks.
39022         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39023         ldd-rewrite.
39025         * config.make.in (have-ksh): Delete.
39026         (KSH): Delete.
39027         * configure.ac (libc_cv_have_ksh): Delete.
39028         * configure: Regenerate.
39030         * elf/Makefile: Delete $(have-ksh) check.
39031         ($(objpfx)sotruss): Change KSH to BASH.
39032         * elf/sotruss.ksh: Rename to ...
39033         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39034         function style to match POSIX.  Drop ksh vim mode setting.
39036         * manual/time.texi (Specifying the Time Zone with TZ): Change
39037         Tuesday to Thursday.
39039         * debug/tst-longjmp_chk2.c: Update header comment.
39040         (stackoverflow_handler): Add comment.  Call assert on pass value.
39042 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39044         [BZ #16194]
39045         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39046         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39047         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39048         (La_x86_64_vector): Add zmm.
39049         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39050         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39051         ($(objpfx)tst-audit10): New target.
39052         ($(objpfx)tst-audit10.out): Likewise.
39053         (tst-audit10-ENV): New.
39054         (AVX512-CFLAGS): Likewise.
39055         (CFLAGS-tst-audit10.c): Likewise.
39056         (CFLAGS-tst-auditmod10a.c): Likewise.
39057         (CFLAGS-tst-auditmod10b.c): Likewise.
39058         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39059         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39060         * sysdeps/x86_64/configure: Regenerated.
39061         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39062         AVX-512 zmm register support.
39063         (_dl_x86_64_save_sse): Likewise.
39064         (_dl_x86_64_restore_sse): Likewise.
39065         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39066         size vector registers.
39067         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39068         (ZMM_SIZE): Likewise.
39069         * sysdeps/x86_64/tst-audit10.c: New file.
39070         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39071         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39073 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39075         * configure.ac (HAVE_EHDR_START): New check.
39076         * configure: Regenerated.
39077         * config.h.in (HAVE_EHDR_START): New #undef.
39078         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39079         assuming the lowest-addressed segment maps the start of the file.
39081 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39083         * INSTALL: Regenerated.
39085 2014-03-13  Will Newton  <will.newton@linaro.org>
39087         * manual/setjmp.texi (System V contexts): Improve
39088         clarity and grammar of documentation.
39090 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39092         [BZ #16381]
39093         * elf/Makefile (tests): Add tst-pie2.
39094         (tests-pie): Add tst-pie2.
39095         * elf/tst-pie2.c: New file.
39096         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39097         for ET_EXEC.
39098         * elf/rtld.c (map_doit): Load executable as lt_executable.
39099         (dl_main): Likewise.
39101 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39103         [BZ #16642]
39104         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39105         (__ASSUME_PSELECT): Undefine.
39107 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39109         [BZ #16689]
39110         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39111         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39112         static build.
39113         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39114         selector for static builds.
39116 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39118         [BZ #16695]
39119         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39120         key in the buffer.
39122 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39124         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39125         IFUNC selector for static builds.
39127 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39129         * sysdeps/mips/math_private.h [__mips_hard_float]
39130         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39131         libc_feresetround_mips_ctx.
39132         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39133         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39134         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39136         [BZ #16677]
39137         * math/s_nextafter.c (__nextafter): Do not return value from
39138         overflowing computation.
39139         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39140         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39141         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39142         Likewise.
39143         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39144         Likewise.
39145         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39146         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39148 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39150         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39151         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39152         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39153         the new mov targetting sp.
39155 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39157         [BZ #16683]
39158         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39159         Define it for static builds as well.
39160         (NO_BZERO_IMPL): Likewise.
39162 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39164         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39165         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39166         multiarch strspn for PPC64.
39167         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39168         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39170         (__libc_ifunc_impl_list): Likewise.
39171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39172         multiarch optimizations
39173         * string/strspn.c (strspn): Using macro to redefine symbol name.
39175 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39176             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39178         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39179         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39180         multiarch strncat for PPC64.
39181         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39182         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39184         (__libc_ifunc_impl_list): Likewise.
39185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39186         multiarch optimizations
39188 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39190         [BZ #16639]
39191         * nscd/nscd.service: Make service type forking.
39193 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39195         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39196         sign in non default rounding modes.
39197         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39199 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39201         * math/libm-test.inc (ALL_RM_TEST): New macro.
39202         (ceil_test): Use ALL_RM_TEST.
39203         (cimag_test): Likewise.
39204         (conj_test): Likewise.
39205         (copysign_test): Likewise.
39206         (cproj_test): Likewise.
39207         (creal_test): Likewise.
39208         (fabs_test): Likewise.
39209         (floor_test): Likewise.
39210         (fmax_test): Likewise.
39211         (fmin_test): Likewise.
39212         (fmod_test): Likewise.
39213         (fpclassify_test): Likewise.
39214         (frexp_test): Likewise.
39215         (ilogb_test): Likewise.
39216         (isfinite_test): Likewise.
39217         (finite_test): Likewise.
39218         (isgreater_test): Likewise.
39219         (isgreaterequal_test): Likewise.
39220         (isinf_test): Likewise.
39221         (isless_test): Likewise.
39222         (islessequal_test): Likewise.
39223         (islessgreater_test): Likewise.
39224         (isnan_test): Likewise.
39225         (isnormal_test): Likewise.
39226         (issignaling_test): Likewise.
39227         (isunordered_test): Likewise.
39228         (logb_test): Likewise.
39229         (logb_downward_test_data): Remove.
39230         (logb_test_downward): Likewise.
39231         (lround_test): Use ALL_RM_TEST.
39232         (llround_test): Likewise.
39233         (modf_test): Likewise.
39234         (nexttoward_test): Likewise.
39235         (remainder_test): Likewise.
39236         (drem_test): Likewise.
39237         (remainder_tonearest_test_data): Likewise.
39238         (remainder_test_tonearest): Likewise.
39239         (drem_test_tonearest): Likewise.
39240         (remainder_towardzero_test_data): Likewise.
39241         (remainder_test_towardzero): Likewise.
39242         (drem_test_towardzero): Likewise.
39243         (remainder_downward_test_data): Likewise.
39244         (remainder_test_downward): Likewise.
39245         (drem_test_downward): Likewise.
39246         (remainder_upward_test_data): Likewise.
39247         (remainder_test_upward): Likewise.
39248         (drem_test_upward): Likewise.
39249         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39250         (round_test): Use ALL_RM_TEST.
39251         (signbit_test): Likewise.
39252         (trunc_test): Likewise.
39253         (significand_test): Likewise.
39254         (main): Don't call removed functions.
39256 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39258         [BZ #16674]
39259         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39260         || __USE_XOPEN2K8].
39261         (ILL_ILLOPN): Likewise.
39262         (ILL_ILLADR): Likewise.
39263         (ILL_ILLTRP): Likewise.
39264         (ILL_PRVOPC): Likewise.
39265         (ILL_PRVREG): Likewise.
39266         (ILL_COPROC): Likewise.
39267         (ILL_BADSTK): Likewise.
39268         (FPE_INTDIV): Likewise.
39269         (FPE_INTOVF): Likewise.
39270         (FPE_FLTDIV): Likewise.
39271         (FPE_FLTOVF): Likewise.
39272         (FPE_FLTUND): Likewise.
39273         (FPE_FLTRES): Likewise.
39274         (FPE_FLTINV): Likewise.
39275         (FPE_FLTSUB): Likewise.
39276         (SEGV_MAPERR): Likewise.
39277         (SEGV_ACCERR): Likewise.
39278         (BUS_ADRALN): Likewise.
39279         (BUS_ADRERR): Likewise.
39280         (BUS_OBJERR): Likewise.
39281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39282         (TRAP_TRACE): Likewise.
39283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39284         __USE_XOPEN2K8].
39285         (CLD_KILLED): Likewise.
39286         (CLD_DUMPED): Likewise.
39287         (CLD_TRAPPED): Likewise.
39288         (CLD_STOPPED): Likewise.
39289         (CLD_CONTINUED): Likewise.
39290         (POLL_IN): Likewise.
39291         (POLL_OUT): Likewise.
39292         (POLL_MSG): Likewise.
39293         (POLL_ERR): Likewise.
39294         (POLL_PRI): Likewise.
39295         (POLL_HUP): Likewise.
39296         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39297         Likewise.
39298         (ILL_ILLOPN): Likewise.
39299         (ILL_ILLADR): Likewise.
39300         (ILL_ILLTRP): Likewise.
39301         (ILL_PRVOPC): Likewise.
39302         (ILL_PRVREG): Likewise.
39303         (ILL_COPROC): Likewise.
39304         (ILL_BADSTK): Likewise.
39305         (FPE_INTDIV): Likewise.
39306         (FPE_INTOVF): Likewise.
39307         (FPE_FLTDIV): Likewise.
39308         (FPE_FLTOVF): Likewise.
39309         (FPE_FLTUND): Likewise.
39310         (FPE_FLTRES): Likewise.
39311         (FPE_FLTINV): Likewise.
39312         (FPE_FLTSUB): Likewise.
39313         (SEGV_MAPERR): Likewise.
39314         (SEGV_ACCERR): Likewise.
39315         (BUS_ADRALN): Likewise.
39316         (BUS_ADRERR): Likewise.
39317         (BUS_OBJERR): Likewise.
39318         (BUS_MCEERR_AR): Likewise.
39319         (BUS_MCEERR_AO): Likewise.
39320         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39321         (TRAP_TRACE): Likewise.
39322         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39323         __USE_XOPEN2K8].
39324         (CLD_KILLED): Likewise.
39325         (CLD_DUMPED): Likewise.
39326         (CLD_TRAPPED): Likewise.
39327         (CLD_STOPPED): Likewise.
39328         (CLD_CONTINUED): Likewise.
39329         (POLL_IN): Likewise.
39330         (POLL_OUT): Likewise.
39331         (POLL_MSG): Likewise.
39332         (POLL_ERR): Likewise.
39333         (POLL_PRI): Likewise.
39334         (POLL_HUP): Likewise.
39335         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39336         (ILL_ILLOPN): Likewise.
39337         (ILL_ILLADR): Likewise.
39338         (ILL_ILLTRP): Likewise.
39339         (ILL_PRVOPC): Likewise.
39340         (ILL_PRVREG): Likewise.
39341         (ILL_COPROC): Likewise.
39342         (ILL_BADSTK): Likewise.
39343         (FPE_INTDIV): Likewise.
39344         (FPE_INTOVF): Likewise.
39345         (FPE_FLTDIV): Likewise.
39346         (FPE_FLTOVF): Likewise.
39347         (FPE_FLTUND): Likewise.
39348         (FPE_FLTRES): Likewise.
39349         (FPE_FLTINV): Likewise.
39350         (FPE_FLTSUB): Likewise.
39351         (SEGV_MAPERR): Likewise.
39352         (SEGV_ACCERR): Likewise.
39353         (BUS_ADRALN): Likewise.
39354         (BUS_ADRERR): Likewise.
39355         (BUS_OBJERR): Likewise.
39356         (BUS_MCEERR_AR): Likewise.
39357         (BUS_MCEERR_AO): Likewise.
39358         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39359         (TRAP_TRACE): Likewise.
39360         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39361         __USE_XOPEN2K8].
39362         (CLD_KILLED): Likewise.
39363         (CLD_DUMPED): Likewise.
39364         (CLD_TRAPPED): Likewise.
39365         (CLD_STOPPED): Likewise.
39366         (CLD_CONTINUED): Likewise.
39367         (POLL_IN): Likewise.
39368         (POLL_OUT): Likewise.
39369         (POLL_MSG): Likewise.
39370         (POLL_ERR): Likewise.
39371         (POLL_PRI): Likewise.
39372         (POLL_HUP): Likewise.
39373         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39374         Likewise.
39375         (ILL_ILLOPN): Likewise.
39376         (ILL_ILLADR): Likewise.
39377         (ILL_ILLTRP): Likewise.
39378         (ILL_PRVOPC): Likewise.
39379         (ILL_PRVREG): Likewise.
39380         (ILL_COPROC): Likewise.
39381         (ILL_BADSTK): Likewise.
39382         (ILL_BADIADDR): Likewise.
39383         (ILL_BREAK): Likewise.
39384         (FPE_INTDIV): Likewise.
39385         (FPE_INTOVF): Likewise.
39386         (FPE_FLTDIV): Likewise.
39387         (FPE_FLTOVF): Likewise.
39388         (FPE_FLTUND): Likewise.
39389         (FPE_FLTRES): Likewise.
39390         (FPE_FLTINV): Likewise.
39391         (FPE_FLTSUB): Likewise.
39392         (FPE_DECOVF): Likewise.
39393         (FPE_DECDIV): Likewise.
39394         (FPE_DECERR): Likewise.
39395         (FPE_INVASC): Likewise.
39396         (FPE_INVDEC): Likewise.
39397         (SEGV_MAPERR): Likewise.
39398         (SEGV_ACCERR): Likewise.
39399         (SEGV_PSTKOVF): Likewise.
39400         (BUS_ADRALN): Likewise.
39401         (BUS_ADRERR): Likewise.
39402         (BUS_OBJERR): Likewise.
39403         (BUS_MCEERR_AR): Likewise.
39404         (BUS_MCEERR_AO): Likewise.
39405         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39406         (TRAP_TRACE): Likewise.
39407         (TRAP_BRANCH): Likewise.
39408         (TRAP_HWBKPT): Likewise.
39409         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39410         __USE_XOPEN2K8].
39411         (CLD_KILLED): Likewise.
39412         (CLD_DUMPED): Likewise.
39413         (CLD_TRAPPED): Likewise.
39414         (CLD_STOPPED): Likewise.
39415         (CLD_CONTINUED): Likewise.
39416         (POLL_IN): Likewise.
39417         (POLL_OUT): Likewise.
39418         (POLL_MSG): Likewise.
39419         (POLL_ERR): Likewise.
39420         (POLL_PRI): Likewise.
39421         (POLL_HUP): Likewise.
39422         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39423         (ILL_ILLOPN): Likewise.
39424         (ILL_ILLADR): Likewise.
39425         (ILL_ILLTRP): Likewise.
39426         (ILL_PRVOPC): Likewise.
39427         (ILL_PRVREG): Likewise.
39428         (ILL_COPROC): Likewise.
39429         (ILL_BADSTK): Likewise.
39430         (FPE_INTDIV): Likewise.
39431         (FPE_INTOVF): Likewise.
39432         (FPE_FLTDIV): Likewise.
39433         (FPE_FLTOVF): Likewise.
39434         (FPE_FLTUND): Likewise.
39435         (FPE_FLTRES): Likewise.
39436         (FPE_FLTINV): Likewise.
39437         (FPE_FLTSUB): Likewise.
39438         (SEGV_MAPERR): Likewise.
39439         (SEGV_ACCERR): Likewise.
39440         (BUS_ADRALN): Likewise.
39441         (BUS_ADRERR): Likewise.
39442         (BUS_OBJERR): Likewise.
39443         (BUS_MCEERR_AR): Likewise.
39444         (BUS_MCEERR_AO): Likewise.
39445         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39446         (TRAP_TRACE): Likewise.
39447         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39448         __USE_XOPEN2K8].
39449         (CLD_KILLED): Likewise.
39450         (CLD_DUMPED): Likewise.
39451         (CLD_TRAPPED): Likewise.
39452         (CLD_STOPPED): Likewise.
39453         (CLD_CONTINUED): Likewise.
39454         (POLL_IN): Likewise.
39455         (POLL_OUT): Likewise.
39456         (POLL_MSG): Likewise.
39457         (POLL_ERR): Likewise.
39458         (POLL_PRI): Likewise.
39459         (POLL_HUP): Likewise.
39460         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39461         (ILL_ILLOPN): Likewise.
39462         (ILL_ILLADR): Likewise.
39463         (ILL_ILLTRP): Likewise.
39464         (ILL_PRVOPC): Likewise.
39465         (ILL_PRVREG): Likewise.
39466         (ILL_COPROC): Likewise.
39467         (ILL_BADSTK): Likewise.
39468         (FPE_INTDIV): Likewise.
39469         (FPE_INTOVF): Likewise.
39470         (FPE_FLTDIV): Likewise.
39471         (FPE_FLTOVF): Likewise.
39472         (FPE_FLTUND): Likewise.
39473         (FPE_FLTRES): Likewise.
39474         (FPE_FLTINV): Likewise.
39475         (FPE_FLTSUB): Likewise.
39476         (SEGV_MAPERR): Likewise.
39477         (SEGV_ACCERR): Likewise.
39478         (BUS_ADRALN): Likewise.
39479         (BUS_ADRERR): Likewise.
39480         (BUS_OBJERR): Likewise.
39481         (BUS_MCEERR_AR): Likewise.
39482         (BUS_MCEERR_AO): Likewise.
39483         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39484         (TRAP_TRACE): Likewise.
39485         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39486         __USE_XOPEN2K8].
39487         (CLD_KILLED): Likewise.
39488         (CLD_DUMPED): Likewise.
39489         (CLD_TRAPPED): Likewise.
39490         (CLD_STOPPED): Likewise.
39491         (CLD_CONTINUED): Likewise.
39492         (POLL_IN): Likewise.
39493         (POLL_OUT): Likewise.
39494         (POLL_MSG): Likewise.
39495         (POLL_ERR): Likewise.
39496         (POLL_PRI): Likewise.
39497         (POLL_HUP): Likewise.
39498         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39499         (ILL_ILLOPN): Likewise.
39500         (ILL_ILLADR): Likewise.
39501         (ILL_ILLTRP): Likewise.
39502         (ILL_PRVOPC): Likewise.
39503         (ILL_PRVREG): Likewise.
39504         (ILL_COPROC): Likewise.
39505         (ILL_BADSTK): Likewise.
39506         (FPE_INTDIV): Likewise.
39507         (FPE_INTOVF): Likewise.
39508         (FPE_FLTDIV): Likewise.
39509         (FPE_FLTOVF): Likewise.
39510         (FPE_FLTUND): Likewise.
39511         (FPE_FLTRES): Likewise.
39512         (FPE_FLTINV): Likewise.
39513         (FPE_FLTSUB): Likewise.
39514         (SEGV_MAPERR): Likewise.
39515         (SEGV_ACCERR): Likewise.
39516         (BUS_ADRALN): Likewise.
39517         (BUS_ADRERR): Likewise.
39518         (BUS_OBJERR): Likewise.
39519         (BUS_MCEERR_AR): Likewise.
39520         (BUS_MCEERR_AO): Likewise.
39521         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39522         (TRAP_TRACE): Likewise.
39523         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39524         __USE_XOPEN2K8].
39525         (CLD_KILLED): Likewise.
39526         (CLD_DUMPED): Likewise.
39527         (CLD_TRAPPED): Likewise.
39528         (CLD_STOPPED): Likewise.
39529         (CLD_CONTINUED): Likewise.
39530         (POLL_IN): Likewise.
39531         (POLL_OUT): Likewise.
39532         (POLL_MSG): Likewise.
39533         (POLL_ERR): Likewise.
39534         (POLL_PRI): Likewise.
39535         (POLL_HUP): Likewise.
39536         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39537         (ILL_ILLOPN): Likewise.
39538         (ILL_ILLADR): Likewise.
39539         (ILL_ILLTRP): Likewise.
39540         (ILL_PRVOPC): Likewise.
39541         (ILL_PRVREG): Likewise.
39542         (ILL_COPROC): Likewise.
39543         (ILL_BADSTK): Likewise.
39544         (ILL_DBLFLT): Likewise.
39545         (ILL_HARDWALL): Likewise.
39546         (FPE_INTDIV): Likewise.
39547         (FPE_INTOVF): Likewise.
39548         (FPE_FLTDIV): Likewise.
39549         (FPE_FLTOVF): Likewise.
39550         (FPE_FLTUND): Likewise.
39551         (FPE_FLTRES): Likewise.
39552         (FPE_FLTINV): Likewise.
39553         (FPE_FLTSUB): Likewise.
39554         (SEGV_MAPERR): Likewise.
39555         (SEGV_ACCERR): Likewise.
39556         (BUS_ADRALN): Likewise.
39557         (BUS_ADRERR): Likewise.
39558         (BUS_OBJERR): Likewise.
39559         (BUS_MCEERR_AR): Likewise.
39560         (BUS_MCEERR_AO): Likewise.
39561         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39562         (TRAP_TRACE): Likewise.
39563         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39564         __USE_XOPEN2K8].
39565         (CLD_KILLED): Likewise.
39566         (CLD_DUMPED): Likewise.
39567         (CLD_TRAPPED): Likewise.
39568         (CLD_STOPPED): Likewise.
39569         (CLD_CONTINUED): Likewise.
39570         (POLL_IN): Likewise.
39571         (POLL_OUT): Likewise.
39572         (POLL_MSG): Likewise.
39573         (POLL_ERR): Likewise.
39574         (POLL_PRI): Likewise.
39575         (POLL_HUP): Likewise.
39576         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
39577         (ILL_ILLOPN): Likewise.
39578         (ILL_ILLADR): Likewise.
39579         (ILL_ILLTRP): Likewise.
39580         (ILL_PRVOPC): Likewise.
39581         (ILL_PRVREG): Likewise.
39582         (ILL_COPROC): Likewise.
39583         (ILL_BADSTK): Likewise.
39584         (FPE_INTDIV): Likewise.
39585         (FPE_INTOVF): Likewise.
39586         (FPE_FLTDIV): Likewise.
39587         (FPE_FLTOVF): Likewise.
39588         (FPE_FLTUND): Likewise.
39589         (FPE_FLTRES): Likewise.
39590         (FPE_FLTINV): Likewise.
39591         (FPE_FLTSUB): Likewise.
39592         (SEGV_MAPERR): Likewise.
39593         (SEGV_ACCERR): Likewise.
39594         (BUS_ADRALN): Likewise.
39595         (BUS_ADRERR): Likewise.
39596         (BUS_OBJERR): Likewise.
39597         (BUS_MCEERR_AR): Likewise.
39598         (BUS_MCEERR_AO): Likewise.
39599         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39600         (TRAP_TRACE): Likewise.
39601         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39602         __USE_XOPEN2K8].
39603         (CLD_KILLED): Likewise.
39604         (CLD_DUMPED): Likewise.
39605         (CLD_TRAPPED): Likewise.
39606         (CLD_STOPPED): Likewise.
39607         (CLD_CONTINUED): Likewise.
39608         (POLL_IN): Likewise.
39609         (POLL_OUT): Likewise.
39610         (POLL_MSG): Likewise.
39611         (POLL_ERR): Likewise.
39612         (POLL_PRI): Likewise.
39613         (POLL_HUP): Likewise.
39614         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
39615         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39617         [BZ #16670]
39618         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
39619         before #include of <time.h>.
39620         [!__USE_XOPEN2K] (__need_timespec): Likewise.
39621         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
39622         (test-xfail-UNIX98/sched.h/conform): Likewise.
39624 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39626         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
39627         error absence of trapping exception support.
39628         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39630 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39632         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
39633         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
39634         * timezone/Makefile (testdata): Move definition above include of
39635         Rules.
39636         (test-zones): New variable.
39637         (tests-special): Add zone files.
39638         (build-testdata): Use $(evaluate-test).
39640         * elf/Makefile (tests-special): Rename tests to end with .out.
39641         ($(objpfx)noload-mem): Likewise.
39642         ($(objpfx)tst-leaks1-mem): Likewise.
39643         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
39644         * iconv/Makefile (xtests-special): Change test-iconvconfig to
39645         $(objpfx)test-iconvconfig.out.
39646         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
39647         set -e inside subshell and redirect output to file.
39648         * iconvdata/Makefile (generated): Rename tests to end with .out.
39649         Correct type.
39650         (tests-special): Rename tests to end with .out.
39651         ($(objpfx)mtrace-tst-loading): Likewise.
39652         * intl/Makefile (generated): Likewise.
39653         (tests-special): Likewise.
39654         ($(objpfx)mtrace-tst-gettext): Likewise.
39655         * misc/Makefile (generated): Likewise.
39656         (tests-special): Likewise.
39657         ($(objpfx)tst-error1-mem): Likewise.
39658         * nptl/Makefile (tests-special): Likewise.
39659         ($(objpfx)tst-stack3-mem): Likewise.
39660         (generated): Likewise.
39661         * posix/Makefile (generated): Likewise.
39662         (tests-special): Likewise.
39663         (xtests-special): Likewise.
39664         ($(objpfx)tst-fnmatch-mem): Likewise.
39665         ($(objpfx)bug-regex2-mem): Likewise.
39666         ($(objpfx)bug-regex14-mem): Likewise.
39667         ($(objpfx)bug-regex21-mem): Likewise.
39668         ($(objpfx)bug-regex31-mem): Likewise.
39669         ($(objpfx)tst-vfork3-mem): Likewise.
39670         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39671         ($(objpfx)tst-pcre-mem): Likewise.
39672         ($(objpfx)tst-boost-mem): Likewise.
39673         ($(objpfx)bug-ga2-mem): Likewise.
39674         ($(objpfx)bug-glob2-mem): Likewise.
39675         * resolv/Makefile (generate): Likewise.
39676         (tests-special): Likewise.
39677         (xtests-special): Likewise.
39678         (generated): Likewise.
39679         ($(objpfx)mtrace-tst-leaks): Likewise.
39680         ($(objpfx)mtrace-tst-leaks2): Likewise.
39682         * scripts/merge-test-results.sh: New file.
39683         * Makefile (tests-special-notdir): New variable.
39684         (tests): Run merge-test-results.sh.
39685         (xtests): Likewise.
39686         * Rules (tests-special-notdir): New variable.
39687         (xtests-special-notdir): Likewise.
39688         (tests): Run merge-test-results.sh
39689         (xtests): Likewise.
39691         * Makeconfig (test-xfail-name): New variable.
39692         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
39693         compute variable name for expected failures.
39694         * conform/Makefile (conformtest-headers-data): New variable.
39695         (conformtest-standards): Likewise.
39696         (conformtest-headers-ISO): Likewise.
39697         (conformtest-headers-ISO99): Likewise.
39698         (conformtest-headers-ISO11): Likewise.
39699         (conformtest-headers-POSIX): Likewise.
39700         (conformtest-headers-XPG3): Likewise.
39701         (conformtest-headers-XPG4): Likewise.
39702         (conformtest-headers-UNIX98): Likewise.
39703         (conformtest-headers-XOPEN2K): Likewise.
39704         (conformtest-headers-POSIX2008): Likewise.
39705         (conformtest-headers-XOPEN2K8): Likewise.
39706         (conformtest-header-list-base): Likewise.
39707         (conformtest-header-list-tests): Likewise.
39708         (conformtest-header-base): Likewise.
39709         (conformtest-header-tests): Likewise.
39710         (tests-special): Add $(conformtest-header-list-tests).  If
39711         [$(fast-check) && !$(cross-compiling)], add
39712         $(conformtest-header-tests) instead of
39713         $(objpfx)run-conformtest.out.
39714         (generated): Add $(conformtest-header-list-base).  If
39715         [$(fast-check) && !$(cross-compiling)], add
39716         $(conformtest-header-base).  Remove previous setting.
39717         ($(conformtest-header-list-tests)): New target.
39718         (test-xfail-run-conformtest): Remove variable.
39719         ($(objpfx)run-conformtest.out): Remove target.
39720         (test-xfail-ISO11/complex.h/conform): New variable.
39721         (test-xfail-ISO11/stdalign.h/conform): Likewise.
39722         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
39723         (test-xfail-XPG3/varargs.h/conform): Likewise.
39724         (test-xfail-XPG4/varargs.h/conform): Likewise.
39725         (test-xfail-UNIX98/varargs.h/conform): Likewise.
39726         (test-xfail-XPG4/ndbm.h/conform): Likewise.
39727         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
39728         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
39729         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
39730         (test-xfail-XPG3/fcntl.h/conform): Likewise.
39731         (test-xfail-XPG3/ftw.h/conform): Likewise.
39732         (test-xfail-XPG3/grp.h/conform): Likewise.
39733         (test-xfail-XPG3/langinfo.h/conform): Likewise.
39734         (test-xfail-XPG3/limits.h/conform): Likewise.
39735         (test-xfail-XPG3/pwd.h/conform): Likewise.
39736         (test-xfail-XPG3/search.h/conform): Likewise.
39737         (test-xfail-XPG3/signal.h/conform): Likewise.
39738         (test-xfail-XPG3/stdio.h/conform): Likewise.
39739         (test-xfail-XPG3/stdlib.h/conform): Likewise.
39740         (test-xfail-XPG3/string.h/conform): Likewise.
39741         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
39742         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
39743         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
39744         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
39745         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
39746         (test-xfail-XPG3/sys/types.h/conform): Likewise.
39747         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
39748         (test-xfail-XPG3/termios.h/conform): Likewise.
39749         (test-xfail-XPG3/time.h/conform): Likewise.
39750         (test-xfail-XPG3/unistd.h/conform): Likewise.
39751         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
39752         (test-xfail-XPG4/fcntl.h/conform): Likewise.
39753         (test-xfail-XPG4/langinfo.h/conform): Likewise.
39754         (test-xfail-XPG4/netdb.h/conform): Likewise.
39755         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
39756         (test-xfail-XPG4/signal.h/conform): Likewise.
39757         (test-xfail-XPG4/stdio.h/conform): Likewise.
39758         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39759         (test-xfail-XPG4/stropts.h/conform): Likewise.
39760         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39761         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39762         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39763         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39764         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39765         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39766         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39767         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39768         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39769         (test-xfail-XPG4/termios.h/conform): Likewise.
39770         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39771         (test-xfail-XPG4/unistd.h/conform): Likewise.
39772         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39773         (test-xfail-POSIX/sched.h/conform): Likewise.
39774         (test-xfail-POSIX/signal.h/conform): Likewise.
39775         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39776         (test-xfail-POSIX/tar.h/conform): Likewise.
39777         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39778         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39779         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39780         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39781         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39782         (test-xfail-UNIX98/sched.h/conform): Likewise.
39783         (test-xfail-UNIX98/signal.h/conform): Likewise.
39784         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39785         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39786         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39787         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39788         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39789         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39790         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39791         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39792         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39793         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39794         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39795         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39796         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39797         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39798         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39799         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39800         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39801         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39802         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39803         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39804         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39805         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39806         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39807         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39808         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39809         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39810         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39811         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39812         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39813         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39814         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39815         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39816         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39817         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39818         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39819         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39820         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39821         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39822         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39823         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39824         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39825         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39826         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39827         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39828         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39829         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39830         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39831         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39832         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39833         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39834         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39835         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39836         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39837         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39838         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39839         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39840         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39841         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39842         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39843         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39844         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39845         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39846         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39847         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39848         (conformtest-cc-flags): Likewise.
39849         ($(conformtest-header-tests): New target.
39850         * conform/check-header-lists.sh: New file.
39851         * conform/run-conformtest.sh: Remove.
39853         * conform/conformtest.pl: Allow ' and \ in values given for
39854         constants.
39855         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39856         inclusion.
39857         [POSIX] (sys/types.h): Likewise.
39858         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39859         inclusion.
39860         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39861         inclusion.
39862         * conform/data/signal.h-data (SIGIO): Remove expectation.
39863         [XPG3] (SIGBUS): Do not expect.
39864         [POSIX || XPG3] (SIGPOLL): Likewise.
39865         [POSIX || XPG3] (SIGPROF): Likewise.
39866         [POSIX || XPG3] (SIGSYS): Likewise.
39867         [XPG3] (SIGTRAP): Likewise.
39868         [POSIX || XPG3] (SIGURG): Likewise.
39869         [POSIX || XPG3] (SIGVTALRM): Likewise.
39870         [POSIX || XPG3] (SIGXCPU): Likewise.
39871         [POSIX || XPG3] (SIGXFSZ): Likewise.
39872         [POSIX] (SA_SIGINFO): Expect.
39873         [XPG3] (siginfo_t): Do not expect type or contents.
39874         [POSIX] (si_pid): Do not expect element.
39875         [POSIX] (si_uid): Likewise.
39876         [POSIX] (si_addr): Likewise.
39877         [POSIX] (si_status): Likewise.
39878         [POSIX] (si_band): Likewise.
39879         [XPG4] (si_value): Likewise.
39880         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39881         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39882         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39883         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39884         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39885         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39886         [POSIX || XPG3] (ILL_COPROC): Likewise.
39887         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39888         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39889         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39890         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39891         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39892         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39893         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39894         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39895         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39896         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39897         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39898         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39899         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39900         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39901         [POSIX || XPG3] (CLD_EXITED): Likewise.
39902         [POSIX || XPG3] (CLD_KILLED): Likewise.
39903         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39904         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39905         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39906         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39907         [POSIX || XPG3] (POLL_IN): Likewise.
39908         [POSIX || XPG3] (POLL_OUT): Likewise.
39909         [POSIX || XPG3] (POLL_MSG): Likewise.
39910         [POSIX || XPG3] (POLL_ERR): Likewise.
39911         [POSIX || XPG3] (POLL_PRI): Likewise.
39912         [POSIX || XPG3] (POLL_HUP): Likewise.
39913         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39914         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39915         (SIG*): Do not allow.
39916         [XPG3] (si_*): Likewise.
39917         [XPG3] (SI_*): Likewise.
39918         [XPG3 || XPG4] (sigev_*): Likewise.
39919         [XPG3 || XPG4] (SIGEV_*): Likewise.
39920         [XPG3 || XPG4] (sival_*): Likewise.
39921         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39922         [POSIX || XPG3] (BUS_*): Likewise.
39923         [POSIX || XPG3] (CLD_*): Likewise.
39924         [POSIX || XPG3] (FPE_*): Likewise.
39925         [POSIX || XPG3] (ILL_*): Likewise.
39926         [POSIX || XPG3] (POLL_*): Likewise.
39927         [POSIX || XPG3] (SEGV_*): Likewise.
39928         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39929         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39930         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39931         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39932         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39933         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39934         Specify type and value.
39935         (TVERSLEN): Likewise.
39936         (REGTYPE): Likewise.
39937         (AREGTYPE): Likewise.
39938         (LNKTYPE): Likewise.
39939         (SYMTYPE): Likewise.
39940         (CHRTYPE): Likewise.
39941         (BLKTYPE): Likewise.
39942         (DIRTYPE): Likewise.
39943         (FIFOTYPE): Likewise.
39944         (CONTTYPE): Likewise.
39945         (TSUID): Likewise.
39946         (TSGID): Likewise.
39947         (TSVTX): Likewise.
39948         (TUREAD): Likewise.
39949         (TUWRITE): Likewise.
39950         (TUEXEC): Likewise.
39951         (TGREAD): Likewise.
39952         (TGWRITE): Likewise.
39953         (TGEXEC): Likewise.
39954         (TOREAD): Likewise.
39955         (TOWRITE): Likewise.
39956         (TOEXEC): Likewise.
39957         [POSIX] (TSVTX): Expect constant.
39959 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39961         * Makefile (tests): Change dependencies to ....
39962         (tests-special): ... additions to this variable.
39963         (tests): Depend on $(tests-special).
39964         * Makerules (check-abi-list): New variable.
39965         (check-abi): Depend on $(check-abi-list).
39966         [$(subdir) = elf] (tests-special): Add
39967         $(objpfx)check-abi-libc.out.
39968         [$(build-shared) = yes && subdir] (tests-special): Add
39969         $(check-abi-list).
39970         [$(build-shared) = yes && subdir] (tests): Do not depend on
39971         check-abi.
39972         * Rules (tests): Depend on $(tests-special).
39973         (xtests): Depend on $(xtests-special).
39974         * catgets/Makefile (tests): Change dependencies to ....
39975         (tests-special): ... additions to this variable.
39976         * conform/Makefile (tests): Change dependencies to ....
39977         (tests-special): ... additions to this variable.
39978         * elf/Makefile (tests): Change dependencies to ....
39979         (tests-special): ... additions to this variable.
39980         * grp/Makefile (tests): Change dependencies to ....
39981         (tests-special): ... additions to this variable.
39982         * iconv/Makefile (xtests): Change dependencies to ....
39983         (xtests-special): ... additions to this variable.
39984         * iconvdata/Makefile (tests): Change dependencies to ....
39985         (tests-special): ... additions to this variable.
39986         * intl/Makefile (tests): Change dependencies to ....
39987         (tests-special): ... additions to this variable.  Also add
39988         $(objpfx)tst-gettext.out.
39989         * io/Makefile (tests): Change dependencies to ....
39990         (tests-special): ... additions to this variable.
39991         * libio/Makefile (tests): Change dependencies to ....
39992         (tests-special): ... additions to this variable.
39993         * malloc/Makefile (tests): Change dependencies to ....
39994         (tests-special): ... additions to this variable.
39995         * misc/Makefile (tests): Change dependencies to ....
39996         (tests-special): ... additions to this variable.
39997         * nptl/Makefile (tests): Change dependencies to ....
39998         (tests-special): ... additions to this variable.
39999         * nptl_db/Makefile (tests): Change dependencies to ....
40000         (tests-special): ... additions to this variable.
40001         * posix/Makefile (tests): Change dependencies to ....
40002         (tests-special): ... additions to this variable.
40003         (xtests): Change dependencies to ....
40004         (xtests-special): ... additions to this variable.
40005         * resolv/Makefile (tests): Change dependencies to ....
40006         (tests-special): ... additions to this variable.
40007         (xtests): Change dependencies to ....
40008         (xtests-special): ... additions to this variable.
40009         * stdio-common/Makefile (tests): Change dependencies to ....
40010         (tests-special): ... additions to this variable.
40011         (do-tst-unbputc): Remove target.
40012         (do-tst-printf): Likewise.
40013         * stdlib/Makefile (tests): Change dependencies to ....
40014         (tests-special): ... additions to this variable.
40015         * string/Makefile (tests): Change dependencies to ....
40016         (tests-special): ... additions to this variable.
40017         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40018         (tests-special): ... additions to this variable.
40020         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40021         whole file.
40022         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40023         whole file.
40024         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40025         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40027         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40028         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40029         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40030         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40031         * conform/data/libgen.h-data [XPG3]: Likewise.
40032         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40033         * conform/data/ndbm.h-data [XPG3]: Likewise.
40034         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40035         * conform/data/netdb.h-data [XPG3]: Likewise.
40036         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40037         * conform/data/poll.h-data [XPG3]: Likewise.
40038         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40039         * conform/data/strings.h-data [XPG3]: Likewise.
40040         * conform/data/stropts.h-data [XPG3]: Likewise.
40041         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40042         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40043         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40044         Likewise.
40045         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40046         * conform/data/sys/time.h-data [XPG3]: Likewise.
40047         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40048         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40049         * conform/data/sys/un.h-data [XPG3]: Likewise.
40050         * conform/data/syslog.h-data [XPG3]: Likewise.
40051         * conform/data/ucontext.h-data [XPG3]: Likewise.
40052         * conform/data/utmpx.h-data [XPG3]: Likewise.
40053         * conform/data/varargs.h-data [UNIX98]: Enable file.
40055         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40057         * math/libm-test.inc (struct test_f_f_data): Move expected results
40058         into structure for each rounding mode.
40059         (struct test_ff_f_data): Likewise.
40060         (struct test_ff_f_data_nexttoward): Likewise.
40061         (struct test_fi_f_data): Likewise.
40062         (struct test_fl_f_data): Likewise.
40063         (struct test_if_f_data): Likewise.
40064         (struct test_fff_f_data): Likewise.
40065         (struct test_c_f_data): Likewise.
40066         (struct test_f_f1_data): Likewise.
40067         (struct test_fF_f1_data): Likewise.
40068         (struct test_ffI_f1_data): Likewise.
40069         (struct test_c_c_data): Likewise.
40070         (struct test_cc_c_data): Likewise.
40071         (struct test_f_i_data): Likewise.
40072         (struct test_ff_i_data): Likewise.
40073         (struct test_f_l_data): Likewise.
40074         (struct test_f_L_data): Likewise.
40075         (struct test_fFF_11_data): Likewise.
40076         (RM_): New macro.
40077         (RM_FE_DOWNWARD): Likewise.
40078         (RM_FE_TONEAREST): Likewise.
40079         (RM_FE_TOWARDZERO): Likewise.
40080         (RM_FE_UPWARD): Likewise.
40081         (RUN_TEST_LOOP_f_f): Update references to expected results.
40082         (RUN_TEST_LOOP_2_f): Likewise.
40083         (RUN_TEST_LOOP_fff_f): Likewise.
40084         (RUN_TEST_LOOP_c_f): Likewise.
40085         (RUN_TEST_LOOP_f_f1): Likewise.
40086         (RUN_TEST_LOOP_fF_f1): Likewise.
40087         (RUN_TEST_LOOP_fI_f1): Likewise.
40088         (RUN_TEST_LOOP_ffI_f1): Likewise.
40089         (RUN_TEST_LOOP_c_c): Likewise.
40090         (RUN_TEST_LOOP_cc_c): Likewise.
40091         (RUN_TEST_LOOP_f_i): Likewise.
40092         (RUN_TEST_LOOP_f_i_tg): Likewise.
40093         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40094         (RUN_TEST_LOOP_f_b): Likewise.
40095         (RUN_TEST_LOOP_f_b_tg): Likewise.
40096         (RUN_TEST_LOOP_f_l): Likewise.
40097         (RUN_TEST_LOOP_f_L): Likewise.
40098         (RUN_TEST_LOOP_fFF_11): Likewise.
40099         * math/gen-libm-test.pl (parse_args): Output four copies of
40100         expected results for each test.
40102         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40103         (__ASSUME_UTIMES): Remove.
40104         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40105         (__ASSUME_UTIMES): Likewise.
40107         * math/gen-auto-libm-tests.c: Update comment on output format.
40108         (output_for_one_input_case): Generate before-rounding and
40109         after-rounding information as conditions on output flags not
40110         floating-point format.
40111         * math/auto-libm-test-out: Regenerated.
40112         * math/gen-libm-test.pl (cond_value): New function.
40113         (or_cond_value): Use cond_value.
40114         (generate_testfile): Handle conditional exceptions.
40116 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40118         * math/libm-test.inc (max_valid_error): New variable.
40119         (init_max_error): Take new argument specifying whether function
40120         results are exactly determined.  Set max_valid_error and bound
40121         other variables for errors based on this argument.
40122         (set_max_error): Do not record results above max_valid_error.
40123         (check_float_internal): Only accept errors of up to 0.5ulps if
40124         also at most max_valid_error.
40125         (START): Take new argument EXACT and pass it to init_max_error.
40126         (acos_test): Update call to START.
40127         (acos_test_tonearest): Likewise.
40128         (acos_test_towardzero): Likewise.
40129         (acos_test_downward): Likewise.
40130         (acos_test_upward): Likewise.
40131         (acosh_test): Likewise.
40132         (asin_test): Likewise.
40133         (asin_test_tonearest): Likewise.
40134         (asin_test_towardzero): Likewise.
40135         (asin_test_downward): Likewise.
40136         (asin_test_upward): Likewise.
40137         (asinh_test): Likewise.
40138         (atan_test): Likewise.
40139         (atanh_test): Likewise.
40140         (atan2_test): Likewise.
40141         (cabs_test): Likewise.
40142         (cacos_test): Likewise.
40143         (cacosh_test): Likewise.
40144         (carg_test): Likewise.
40145         (casin_test): Likewise.
40146         (casinh_test): Likewise.
40147         (catan_test): Likewise.
40148         (catanh_test): Likewise.
40149         (cbrt_test): Likewise.
40150         (ccos_test): Likewise.
40151         (ccosh_test): Likewise.
40152         (ceil_test): Likewise.
40153         (cexp_test): Likewise.
40154         (cimag_test): Likewise.
40155         (clog_test): Likewise.
40156         (clog10_test): Likewise.
40157         (conj_test): Likewise.
40158         (copysign_test): Likewise.
40159         (cos_test): Likewise.
40160         (cos_test_tonearest): Likewise.
40161         (cos_test_towardzero): Likewise.
40162         (cos_test_downward): Likewise.
40163         (cos_test_upward): Likewise.
40164         (cosh_test): Likewise.
40165         (cosh_test_tonearest): Likewise.
40166         (cosh_test_towardzero): Likewise.
40167         (cosh_test_downward): Likewise.
40168         (cosh_test_upward): Likewise.
40169         (cpow_test): Likewise.
40170         (cproj_test): Likewise.
40171         (creal_test): Likewise.
40172         (csin_test): Likewise.
40173         (csinh_test): Likewise.
40174         (csqrt_test): Likewise.
40175         (ctan_test): Likewise.
40176         (ctan_test_tonearest): Likewise.
40177         (ctan_test_towardzero): Likewise.
40178         (ctan_test_downward): Likewise.
40179         (ctan_test_upward): Likewise.
40180         (ctanh_test): Likewise.
40181         (ctanh_test_tonearest): Likewise.
40182         (ctanh_test_towardzero): Likewise.
40183         (ctanh_test_downward): Likewise.
40184         (ctanh_test_upward): Likewise.
40185         (erf_test): Likewise.
40186         (erfc_test): Likewise.
40187         (exp_test): Likewise.
40188         (exp_test_tonearest): Likewise.
40189         (exp_test_towardzero): Likewise.
40190         (exp_test_downward): Likewise.
40191         (exp_test_upward): Likewise.
40192         (exp10_test): Likewise.
40193         (exp10_test_tonearest): Likewise.
40194         (exp10_test_towardzero): Likewise.
40195         (exp10_test_downward): Likewise.
40196         (exp10_test_upward): Likewise.
40197         (pow10_test): Likewise.
40198         (exp2_test): Likewise.
40199         (expm1_test): Likewise.
40200         (expm1_test_tonearest): Likewise.
40201         (expm1_test_towardzero): Likewise.
40202         (expm1_test_downward): Likewise.
40203         (expm1_test_upward): Likewise.
40204         (fabs_test): Likewise.
40205         (fdim_test): Likewise.
40206         (floor_test): Likewise.
40207         (fma_test): Likewise.
40208         (fma_test_towardzero): Likewise.
40209         (fma_test_downward): Likewise.
40210         (fma_test_upward): Likewise.
40211         (fmax_test): Likewise.
40212         (fmin_test): Likewise.
40213         (fmod_test): Likewise.
40214         (fpclassify_test): Likewise.
40215         (frexp_test): Likewise.
40216         (hypot_test): Likewise.
40217         (ilogb_test): Likewise.
40218         (isfinite_test): Likewise.
40219         (finite_test): Likewise.
40220         (isgreater_test): Likewise.
40221         (isgreaterequal_test): Likewise.
40222         (isinf_test): Likewise.
40223         (isless_test): Likewise.
40224         (islessequal_test): Likewise.
40225         (islessgreater_test): Likewise.
40226         (isnan_test): Likewise.
40227         (isnormal_test): Likewise.
40228         (issignaling_test): Likewise.
40229         (isunordered_test): Likewise.
40230         (j0_test): Likewise.
40231         (j1_test): Likewise.
40232         (jn_test): Likewise.
40233         (ldexp_test): Likewise.
40234         (lgamma_test): Likewise.
40235         (gamma_test): Likewise.
40236         (lrint_test): Likewise.
40237         (lrint_test_tonearest): Likewise.
40238         (lrint_test_towardzero): Likewise.
40239         (lrint_test_downward): Likewise.
40240         (lrint_test_upward): Likewise.
40241         (llrint_test): Likewise.
40242         (llrint_test_tonearest): Likewise.
40243         (llrint_test_towardzero): Likewise.
40244         (llrint_test_downward): Likewise.
40245         (llrint_test_upward): Likewise.
40246         (log_test): Likewise.
40247         (log10_test): Likewise.
40248         (log1p_test): Likewise.
40249         (log2_test): Likewise.
40250         (logb_test): Likewise.
40251         (logb_test_downward): Likewise.
40252         (lround_test): Likewise.
40253         (llround_test): Likewise.
40254         (modf_test): Likewise.
40255         (nearbyint_test): Likewise.
40256         (nextafter_test): Likewise.
40257         (nexttoward_test): Likewise.
40258         (pow_test): Likewise.
40259         (pow_test_tonearest): Likewise.
40260         (pow_test_towardzero): Likewise.
40261         (pow_test_downward): Likewise.
40262         (pow_test_upward): Likewise.
40263         (remainder_test): Likewise.
40264         (drem_test): Likewise.
40265         (remainder_test_tonearest): Likewise.
40266         (drem_test_tonearest): Likewise.
40267         (remainder_test_towardzero): Likewise.
40268         (drem_test_towardzero): Likewise.
40269         (remainder_test_downward): Likewise.
40270         (drem_test_downward): Likewise.
40271         (remainder_test_upward): Likewise.
40272         (drem_test_upward): Likewise.
40273         (remquo_test): Likewise.
40274         (rint_test): Likewise.
40275         (rint_test_tonearest): Likewise.
40276         (rint_test_towardzero): Likewise.
40277         (rint_test_downward): Likewise.
40278         (rint_test_upward): Likewise.
40279         (round_test): Likewise.
40280         (scalb_test): Likewise.
40281         (scalbn_test): Likewise.
40282         (scalbln_test): Likewise.
40283         (signbit_test): Likewise.
40284         (sin_test): Likewise.
40285         (sin_test_tonearest): Likewise.
40286         (sin_test_towardzero): Likewise.
40287         (sin_test_downward): Likewise.
40288         (sin_test_upward): Likewise.
40289         (sincos_test): Likewise.
40290         (sinh_test): Likewise.
40291         (sinh_test_tonearest): Likewise.
40292         (sinh_test_towardzero): Likewise.
40293         (sinh_test_downward): Likewise.
40294         (sinh_test_upward): Likewise.
40295         (sqrt_test): Likewise.
40296         (sqrt_test_tonearest): Likewise.
40297         (sqrt_test_towardzero): Likewise.
40298         (sqrt_test_downward): Likewise.
40299         (sqrt_test_upward): Likewise.
40300         (tan_test): Likewise.
40301         (tan_test_tonearest): Likewise.
40302         (tan_test_towardzero): Likewise.
40303         (tan_test_downward): Likewise.
40304         (tan_test_upward): Likewise.
40305         (tanh_test): Likewise.
40306         (tgamma_test): Likewise.
40307         (trunc_test): Likewise.
40308         (y0_test): Likewise.
40309         (y1_test): Likewise.
40310         (yn_test): Likewise.
40311         (significand_test): Likewise.
40313         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40314         individual tests in comment.
40315         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40316         (prev_max_error): New variable.
40317         (prev_real_max_error): Likewise.
40318         (prev_imag_max_error): Likewise.
40319         (compare_ulp_data): Don't refer to test names in comment.
40320         (find_test_ulps): Remove function.
40321         (find_function_ulps): Likewise.
40322         (find_complex_function_ulps): Likewise.
40323         (init_max_error): Take function name as argument.  Look up ulps
40324         for that function.
40325         (print_ulps): Remove function.
40326         (print_max_error): Use prev_max_error instead of calling
40327         find_function_ulps.
40328         (print_complex_max_error): Use prev_real_max_error and
40329         prev_imag_max_error instead of calling find_complex_function_ulps.
40330         (check_float_internal): Take max_ulp parameter instead of calling
40331         find_test_ulps.  Don't call print_ulps.
40332         (check_float): Update call to check_float_internal.
40333         (check_complex): Update calls to check_float_internal.
40334         (START): Pass argument to init_max_error.
40335         * math/gen-libm-test.pl (%results): Don't include "kind"
40336         information.
40337         (parse_ulps): Don't handle ulps of individual tests.
40338         (print_ulps_file): Likewise.
40339         (output_ulps): Likewise.
40340         * math/README.libm-test: Update.
40341         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40342         individual tests.
40343         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40344         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40345         * sysdeps/arm/libm-test-ulps: Likewise.
40346         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40347         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40348         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40349         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40350         * sysdeps/microblaze/libm-test-ulps: Likewise.
40351         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40352         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40353         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40354         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40355         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40356         * sysdeps/sh/libm-test-ulps: Likewise.
40357         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40358         * sysdeps/tile/libm-test-ulps: Likewise.
40359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40361 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40363         * math/libm-test.inc (print_complex_max_error): Check separately
40364         whether real and imaginary errors are within allowed range and
40365         pass 0 to print_complex_function_ulps instead of value within
40366         allowed range.
40368 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40370         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40371         formatting.
40372         (get_handles_fopen): Likewise.
40373         (do_write_test): Likewise.
40375         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40377         * libio/fileops.c (do_ftell): Use cached offset when
40378         available.
40379         * libio/iofwide.c (do_ftell_wide): Likewise.
40380         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40381         _IO_file_attach.
40382         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40384         [BZ #16532]
40385         * libio/libioP.h (get_file_offset): New function.
40386         * libio/fileops.c (get_file_offset): Likewise.
40387         (do_ftell): Likewise.
40388         (_IO_new_file_seekoff): Split out ftell logic.
40389         * libio/wfileops.c (do_ftell_wide): Likewise.
40390         (_IO_wfile_seekoff): Split out ftell logic.
40391         * libio/tst-ftell-active-handler.c: New test case.
40392         * libio/Makefile (tests): Add it.
40394 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40396         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40397         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40399 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40401         [BZ #16639]
40402         * nscd/connections.c (nscd_init): Call do_exit.
40403         (start_threads): Call do_exit and notify_parent.
40404         (begin_drop_privileges): Call do_exit.
40405         (finish_drop_privileges): Likewise.
40406         * nscd/selinux.c (preserve_capabilities): Likewise.
40407         (install_real_capabilities): Likewise.
40408         (nscd_selinux_enabled): Likewise.
40409         (avc_create_thread): Likewise.
40410         (avc_alloc_lock): Likewise.
40411         (nscd_avc_init): Likewise.
40412         * nscd/nscd.c (parent_fd): New static variable.
40413         (main): Create a pipe between parent and child processes.
40414         Skip closing parent_fd.
40415         (monitor_child): New function.
40416         (do_exit): Likewise.
40417         (notify_parent): Likewise.
40418         * nscd/nscd.h (notify_parent): Likewise.
40419         (do_exit): Likewise.
40421 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40423         * malloc/malloc.c (__libc_calloc): Revert last change.
40425 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40429 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40431         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40433         implementation.
40434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40435         (__libc_ifunc_impl_list): Likewise.
40436         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40437         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40438         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40439         * string/strrchr.c: Define STRRCHR.
40441 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40443         * benchtest/bench-strtok.c (simple_strtok): Delete.
40444         (strtok_string): Use as benchmark.
40445         * string/strtok (STRTOK): New macro.
40447 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40449         * manual/threads.texi: Add header and standard comments to all
40450         functions.
40452         * elf/dl-lookup.c (check_match): New function.
40453         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40454         (do_lookup_x): Remove nested function check_match. Use non-nested
40455         function check_match.
40457 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40459         * csu/Makefile (generated, before-compile): Use += rather than =.
40460         * catgets/Makefile (generated, generated-dirs): Likewise.
40461         * debug/Makefile (generated): Likewise.
40462         * dlfcn/Makefile (generated): Likewise.
40463         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40464         * iconvdata/Makefile (before-compile, generated): Likewise.
40465         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40466         * libio/Makefile (generated): Likewise.
40467         * malloc/Makefile (generated): Likewise.
40468         * manual/Makefile (generated, generated-dirs): Likewise.
40469         * misc/Makefile (generated): Likewise.
40470         * posix/Makefile (generated): Likewise.
40471         * resolv/Makefile (generated): Likewise.
40472         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40473         * timezone/Makefile (generated, generated-dirs): Likewise.
40475         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40477 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40479         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40480         power8 implementation.
40481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40482         file: POWER8 llround ifunc implementation.
40483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40484         (__lllround): Add POWER8 implementation.
40485         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40486         POWER8 llround implementation.
40488         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40489         power8 implementation.
40490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40491         file: POWER8 llrint ifunc implementation.
40492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40493         Add POWER8 implementation.
40494         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40495         POWER8 llrint implementation.
40497         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40498         power8 implementation.
40499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40500         file: POWER8 finite ifunc implementation.
40501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40502         Add POWER8 implementation.
40503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40504         Likewise.
40505         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40506         POWER8 finite implementation.
40507         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40509         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40510         power8 implementation.
40511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40512         file: POWER8 isinf ifunc implementation.
40513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40514         POWER8 implementation.
40515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40516         Likewise.
40517         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40518         isinf implementation.
40519         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40521         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40522         (INIT_ARCH): Add hwcap2 initialization.
40523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40524         power8 implementation.
40525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40526         file: POWER8 isnan ifunc implementation.
40527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40528         POWER8 implementation.
40529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40530         Likewise.
40531         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40532         isnan implementation.
40533         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40535 2014-02-27  Joey Ye  <joey.ye@arm.com>
40537         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40538         (_FP_NANFRAC_Q): Set to zero.
40540 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40542         [BZ #16623]
40543         * math/auto-libm-test-in: New test inputs.
40544         * math/auto-libm-test-out: Regenerate.
40545         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40546         and DA.
40547         (__cos): Likewise.
40548         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40550 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40552         * scripts/evaluate-test.sh: Take new argument indicating whether
40553         failure is expected.
40554         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40555         indicating whether failure is expected.
40556         * conform/Makefile (test-xfail-run-conformtest): New variable.
40557         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40558         level.
40559         * posix/Makefile (test-xfail-annexc): New variable.
40560         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40562 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40564         * argp/Makefile: Include Makeconfig immediately after defining
40565         subdir.
40566         * assert/Makefile: Likewise.
40567         * benchtests/Makefile: Likewise.
40568         * catgets/Makefile: Likewise.
40569         * conform/Makefile: Likewise.
40570         * crypt/Makefile: Likewise.
40571         * csu/Makefile: Likewise.
40572         (all): Remove target.
40573         * ctype/Makefile: Include Makeconfig immediately after defining
40574         subdir.
40575         * debug/Makefile: Likewise.
40576         * dirent/Makefile: Likewise.
40577         * dlfcn/Makefile: Likewise.
40578         * gmon/Makefile: Likewise.
40579         * gnulib/Makefile: Likewise.
40580         * grp/Makefile: Likewise.
40581         * gshadow/Makefile: Likewise.
40582         * hesiod/Makefile: Likewise.
40583         * hurd/Makefile: Likewise.
40584         (all): Remove target.
40585         * iconvdata/Makefile: Include Makeconfig immediately after
40586         defining subdir.
40587         * inet/Makefile: Likewise.
40588         * intl/Makefile: Likewise.
40589         * io/Makefile: Likewise.
40590         * libio/Makefile: Likewise.
40591         (all): Remove target.
40592         * locale/Makefile: Include Makeconfig immediately after defining
40593         subdir.
40594         * login/Makefile: Likewise.
40595         * mach/Makefile: Likewise.
40596         (all): Remove target.
40597         * malloc/Makefile: Include Makeconfig immediately after defining
40598         subdir.
40599         (all): Remove target.
40600         * manual/Makefile: Include Makeconfig immediately after defining
40601         subdir.
40602         * math/Makefile: Likewise.
40603         * misc/Makefile: Likewise.
40604         * nis/Makefile: Likewise.
40605         * nss/Makefile: Likewise.
40606         * po/Makefile: Likewise.
40607         (all): Remove target.
40608         * posix/Makefile: Include Makeconfig immediately after defining
40609         subdir.
40610         * pwd/Makefile: Likewise.
40611         * resolv/Makefile: Likewise.
40612         * resource/Makefile: Likewise.
40613         * rt/Makefile: Likewise.
40614         * setjmp/Makefile: Likewise.
40615         * shadow/Makefile: Likewise.
40616         * signal/Makefile: Likewise.
40617         * socket/Makefile: Likewise.
40618         * soft-fp/Makefile: Likewise.
40619         * stdio-common/Makefile: Likewise.
40620         * stdlib/Makefile: Likewise.
40621         * streams/Makefile: Likewise.
40622         * string/Makefile: Likewise.
40623         * sunrpc/Makefile: Likewise.
40624         (all): Remove target.
40625         * sysvipc/Makefile: Include Makeconfig immediately after defining
40626         subdir.
40627         * termios/Makefile: Likewise.
40628         * time/Makefile: Likewise.
40629         * timezone/Makefile: Likewise.
40630         (all): Remove target.
40631         * wcsmbs/Makefile: Include Makeconfig immediately after defining
40632         subdir.
40633         * wctype/Makefile: Likewise.
40635 2014-02-26  Steve Ellcey  <sellcey@mips.com>
40637         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
40638         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
40639         (libc_feholdexcept_setround_mips): Ditto.
40640         (libc_feholdsetround): New.
40641         (libc_feholdsetroundf): New.
40642         (libc_feholdsetroundl): New.
40643         (libc_feupdateenv_test_mips): New.
40644         (libc_feupdateenv_test): New.
40645         (libc_feupdateenv_testf): New.
40646         (libc_feupdateenv_testl): New.
40647         (libc_feresetround): New.
40648         (libc_feresetroundf): New.
40649         (libc_feresetroundl): New.
40650         (libc_fetestexcept_mips): New.
40651         (libc_fetestexcept): New.
40652         (libc_fetestexceptf): New.
40653         (libc_fetestexceptl): New.
40654         (HAVE_RM_CTX): New.
40655         (libc_feholdexcept_setround_mips_ctx): New.
40656         (libc_feholdexcept_setround_ctx): New.
40657         (libc_feholdexcept_setroundf_ctx): New.
40658         (libc_feholdexcept_setroundl_ctx): New.
40659         (libc_fesetenv_mips_ctx): New.
40660         (libc_fesetenv_ctx): New.
40661         (libc_fesetenv_ctxf): New.
40662         (libc_fesetenv_ctxl): New.
40663         (libc_feupdateenv_mips_ctx): New.
40664         (libc_feupdateenv_ctx): New.
40665         (libc_feupdateenvf_ctx): New.
40666         (libc_feupdateenvl_ctx): New.
40667         (libc_feholdsetround_mips_ctx): New.
40668         (libc_feholdsetround_ctx): New.
40669         (libc_feholdsetroundf_ctx): New.
40670         (libc_feholdsetroundl_ctx): New.
40671         (libc_feresetround_mips_ctx): New.
40672         (libc_feresetround_ctx): New.
40673         (libc_feresetroundf_ctx): New.
40674         (libc_feresetroundl_ctx): New.
40676 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
40678         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
40680         * manual/ipc.texi: New file.
40681         * manual/Makefile (chapters): Add ipc.
40682         * manual/job.texi: Add "Inter-Process Communication" to next.
40683         * manual/process.texi: Add "Inter-Process Communication" to prev.
40685 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40689 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
40691         * malloc/malloc.c (__libc_calloc): Simplify implementation.
40693         * manual/arith.texi: Fix spaces after sentences.
40694         * manual/charset.texi: Likewise.
40695         * manual/errno.texi: Likewise.
40696         * manual/install.texi: Likewise.
40697         * manual/llio.texi: Likewise.
40698         * manual/locale.texi: Likewise.
40699         * manual/maint.texi: Likewise.
40700         * manual/math.texi: Likewise.
40701         * manual/memory.texi: Likewise.
40702         * manual/message.texi: Likewise.
40703         * manual/probes.texi: Likewise.
40704         * manual/resource.texi: Likewise.
40705         * manual/signal.texi: Likewise.
40706         * manual/socket.texi: Likewise.
40707         * manual/stdio.texi: Likewise.
40708         * manual/string.texi: Likewise.
40709         * manual/time.texi: Likewise.
40710         * manual/users.texi: Likewise.
40712 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
40714         [BZ #16632]
40715         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
40716         _DEFAULT_SOURCE is defined.
40718 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
40719             Carlos O'Donell  <carlos@redhat.com>
40721         [BZ #16613]
40722         * elf/dl-tls.c (_dl_count_modids): New function.
40723         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
40724         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
40725         audit library and increment generation counter.
40726         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
40727         * elf/tst-audit9.c: New file.
40728         * elf/tst-auditmod9a.c: New file.
40729         * elf/tst-auditmod9b.c: New file.
40730         * elf/Makefile: Add rules to build and run tst-audit9.
40732 2014-02-25  Florian Weimer  <fweimer@redhat.com>
40734         [BZ #15347]
40735         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
40737 2014-02-25  Will Newton  <will.newton@linaro.org>
40739         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
40740         (__longjmp): Restore sp and lr before restoring callee
40741         saved registers.  Add longjmp and longjmp_target
40742         SystemTap probe point.
40743         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
40744         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
40745         Define to zero to match jmpbuf layout.
40746         * sysdeps/arm/setjmp.S: Include stap-probe.h.
40747         (__sigsetjmp): Save sp and lr before saving callee
40748         saved registers.  Add setjmp SystemTap probe point.
40750 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
40752         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40754 2014-02-24  Andreas Schwab  <schwab@suse.de>
40756         [BZ #15804]
40757         * elf/pldd.c (wait_for_ptrace_stop): New function.
40758         (main): Call it after attaching.
40760 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40762         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40763         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40764         Versions files is now verboten.
40765         * hurd/Versions (libc: GLIBC_2.0):
40766         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40767         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40768         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40769         * mach/Versions: Likewise.
40771         * csu/Versions: Remove unused %include.
40772         * resolv/Versions: Likewise.
40774 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40776         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40777         ($(objpfx)check-local-headers.out): Likewise.
40778         ($(objpfx)begin-end-check.out): Likewise.
40779         * Makerules (check-abi-%.out): Likewise.
40780         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40781         ($(objpfx)test2.cat): Likewise.
40782         ($(objpfx)de/libc.cat): Likewise.
40783         ($(objpfx)test-gencat.out): Likewise.
40784         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40785         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40786         ($(objpfx)noload-mem): Likewise.
40787         ($(objpfx)tst-pathopt.out): Likewise.
40788         ($(objpfx)tst-rtld-load-self.out): Likewise.
40789         ($(objpfx)tst-array1-cmp.out): Likewise.
40790         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40791         ($(objpfx)tst-array2-cmp.out): Likewise.
40792         ($(objpfx)tst-array3-cmp.out): Likewise.
40793         ($(objpfx)tst-array4-cmp.out): Likewise.
40794         ($(objpfx)tst-array5-cmp.out): Likewise.
40795         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40796         ($(objpfx)check-textrel.out): Likewise.
40797         ($(objpfx)check-execstack.out): Likewise.
40798         ($(objpfx)check-localplt.out): Likewise.
40799         ($(objpfx)order2-cmp.out): Likewise.
40800         ($(objpfx)tst-leaks1-mem): Likewise.
40801         ($(objpfx)tst-leaks1-static-mem): Likewise.
40802         ($(objpfx)tst-initorder-cmp.out): Likewise.
40803         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40804         ($(objpfx)tst-unused-dep.out): Likewise.
40805         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40806         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40807         * iconv/Makefile (test-iconvconfig): Likewise.
40808         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40809         ($(objpfx)iconv-test.out): Likewise.
40810         ($(objpfx)tst-tables.out): Likewise.
40811         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40812         ($(objpfx)tst-gettext.out): Likewise.
40813         ($(objpfx)tst-translit.out): Likewise.
40814         ($(objpfx)tst-gettext2.out): Likewise.
40815         ($(objpfx)tst-gettext4.out): Likewise.
40816         ($(objpfx)tst-gettext6.out): Likewise.
40817         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40818         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40819         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40820         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40821         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40822         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40823         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40824         ($(objpfx)wordexp-tst.out): Likewise.
40825         ($(objpfx)annexc.out): Likewise.
40826         ($(objpfx)tst-fnmatch-mem): Likewise.
40827         ($(objpfx)bug-regex2-mem): Likewise.
40828         ($(objpfx)bug-regex14-mem): Likewise.
40829         ($(objpfx)bug-regex21-mem): Likewise.
40830         ($(objpfx)bug-regex31-mem): Likewise.
40831         ($(objpfx)tst-vfork3-mem): Likewise.
40832         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40833         ($(objpfx)tst-pcre-mem): Likewise.
40834         ($(objpfx)tst-boost-mem): Likewise.
40835         ($(objpfx)tst-getconf.out): Likewise.
40836         ($(objpfx)bug-ga2-mem): Likewise.
40837         ($(objpfx)bug-glob2-mem): Likewise.
40838         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40839         ($(objpfx)mtrace-tst-leaks2): Likewise.
40840         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40841         ($(objpfx)tst-printf.out): Likewise.
40842         ($(objpfx)tst-setvbuf1.out): Likewise.
40843         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40844         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40845         ($(objpfx)tst-fmtmsg.out): Likewise.
40846         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40847         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40849         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40850         * bits/sigaction.h [__USE_MISC]: Likewise.
40851         * bits/waitstatus.h: Update #endif comments.
40852         * ctype/ctype.h: Likewise.
40853         * dirent/dirent.h: Likewise.
40854         [__USE_MISC]: Remove redundant conditionals.
40855         * grp/grp.h: Update #endif comments.
40856         [__USE_GNU]: Remove redundant conditionals.
40857         [__USE_MISC]: Likewise.
40858         * inet/netinet/in.h [__USE_GNU]: Likewise.
40859         * io/sys/stat.h [__USE_MISC]: Likewise.
40860         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40861         * libio/bits/stdio.h: Update #endif comments.
40862         [__USE_MISC]: Remove redundant conditionals.
40863         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40864         * libio/stdio.h: Update #endif comments.
40865         [__USE_MISC]: Remove redundant conditionals.
40866         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40867         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40868         * math/math.h: Update #else and #endif comments.
40869         [__USE_MISC]: Remove redundant conditionals.
40870         * misc/sys/uio.h: Update #endif comments.
40871         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40872         * posix/glob.h [__USE_MISC]: Likewise.
40873         * posix/sys/types.h: Update #endif comments.
40874         [__USE_MISC]: Remove redundant conditionals.
40875         * posix/sys/wait.h: Update #endif comments.
40876         [__USE_MISC]: Remove redundant conditionals.
40877         * posix/unistd.h: Update #endif comments.
40878         [__USE_MISC]: Remove redundant conditionals.
40879         * pwd/pwd.h [__USE_GNU]: Likewise.
40880         [__USE_MISC]: Likewise.
40881         * resolv/netdb.h [__USE_GNU]: Likewise.
40882         * signal/signal.h: Update #endif comments.
40883         [__USE_MISC]: Remove redundant conditionals.
40884         * stdlib/stdlib.h: Update #else and #endif comments.
40885         [__USE_MISC]: Remove redundant conditionals.
40886         [__USE_GNU]: Likewise.
40887         * string/bits/string2.h [__USE_MISC]: Likewise.
40888         * string/string.h: Update #endif comments.
40889         [__USE_MISC]: Remove redundant conditionals.
40890         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40891         Likewise.
40892         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40893         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40894         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40895         Likewise.
40896         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40897         Likewise.
40898         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40899         comments.
40900         [__USE_MISC]: Remove redundant conditionals.
40901         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40902         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40903         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40904         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40905         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40906         Likewise.
40907         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40908         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40909         Likewise.
40910         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40911         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40912         Likewise.
40913         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40914         Likewise.
40915         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40916         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40917         Likewise.
40918         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40919         Likewise.
40920         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40921         * sysdeps/x86/bits/string.h: Update #endif comments.
40922         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40923         conditionals.
40924         * time/sys/time.h: Update #endif comments.
40925         * time/time.h: Likewise.
40926         [__USE_MISC]: Remove redundant conditionals.
40928 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40930         [BZ #16600]
40931         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40933 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40935         * Versions.def (librt): Add GLIBC_2.17.
40937 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40939         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40940         synonym for _SYS_AUXV_H to allow direct inclusion.
40941         * sysdeps/sparc/bits/hwcap.h: Likewise.
40942         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40943         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40944         * sysdeps/sparc/sysdep.h: Likewise.
40946 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40948         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40950 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40952         * benchtests/bench-strrchr.c: Print length instead of position.
40954 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40956         [BZ #16611]
40957         * sysdeps/unix/sysv/linux/kernel-features.h
40958         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40959         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40960         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40961         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40962         Likewise.
40963         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40964         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40965         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40966         (__ASSUME_SENDMMSG): Define instead of using previous
40967         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40968         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40969         (__ASSUME_SENDMMSG_SYSCALL): Define.
40970         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40971         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40972         Likewise.
40973         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40974         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40975         Likewise.
40976         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40977         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40978         Likewise.
40979         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40980         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40981         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40982         [__ASSUME_SENDMMSG]: Change conditionals to
40983         [__ASSUME_SENDMMSG_SOCKETCALL].
40984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40985         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40986         Define.
40987         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40988         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40989         Likewise.
40990         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40991         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40992         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40993         [!__ASSUME_SENDMMSG]: Change conditional to
40994         [!__ASSUME_SENDMMSG_SOCKETCALL].
40995         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40996         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40997         Define.
40999         [BZ #16610]
41000         * sysdeps/unix/sysv/linux/kernel-features.h
41001         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41002         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41003         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41004         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41005         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41006         [__i386__ || __sparc__]
41007         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41008         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41009         (__ASSUME_RECVMMSG): Define instead of using previous
41010         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41011         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41012         (__ASSUME_RECVMMSG_SYSCALL): Define.
41013         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41014         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41015         Likewise.
41016         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41017         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41018         Likewise.
41019         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41020         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41021         Likewise.
41022         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41023         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41024         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41025         [__ASSUME_RECVMMSG]: Change condition to
41026         [__ASSUME_RECVMMSG_SOCKETCALL].
41027         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41028         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41029         Define.
41030         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41031         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41032         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41033         Likewise.
41034         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41035         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41036         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41037         [!__ASSUME_RECVMMSG]: Change condition to
41038         [!__ASSUME_RECVMMSG_SOCKETCALL].
41039         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41040         (__ASSUME_RECVMMSG_SYSCALL): Define.
41042         [BZ #16609]
41043         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41044         __powerpc__ || __s390__ || __sh__ || __sparc__]
41045         (__ASSUME_SOCKETCALL): Define.
41046         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41047         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41048         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41049         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41050         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41051         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41052         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41053         (__ASSUME_ACCEPT4): Define instead of using previous
41054         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41055         __powerpc__ || __sparc__ || __s390__)] condition.
41056         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41057         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41058         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41059         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41060         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41061         [!__ASSUME_ACCEPT4]: Change condition to
41062         [!__ASSUME_ACCEPT4_SOCKETCALL].
41063         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41064         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41065         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41066         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41067         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41068         __ASSUME_ACCEPT4_SYSCALL.
41069         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41070         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41071         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41072         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41073         __ASSUME_ACCEPT4_SYSCALL.
41074         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41075         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41076         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41077         [__ASSUME_ACCEPT4]: Change condition to
41078         [__ASSUME_ACCEPT4_SOCKETCALL].
41079         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41080         (__ASSUME_SOCKETCALL): Define.
41081         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41082         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41083         (__ASSUME_SOCKETCALL): Define.
41084         (__ASSUME_ACCEPT4): Remove.
41085         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41086         Define.
41087         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41088         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41089         Likewise.
41090         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41091         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41093         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41094         macro.
41095         (HWCAP_ARM_LPAE): Likewise.
41096         (HWCAP_ARM_EVTSTRM): Likewise.
41097         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41098         Add vpfd32, lpae and evtstrm.
41099         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41100         Increase to 22.
41102 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41104         * math/auto-libm-test-in: Add tests of clog10.
41105         * math/auto-libm-test-out: Regenerated.
41106         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41107         * sysdeps/i386/fpu/libm-test-ulps: Update.
41108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41110 2014-02-18  Andreas Schwab  <schwab@suse.de>
41112         [BZ #16574]
41113         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41114         Store non-zero if the second buffer was newly allocated.
41115         (send_dg): Likewise.
41116         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41117         to send_vc and send_dg.
41118         (res_nsend): Pass NULL for ansp2_malloced.
41119         * resolv/res_query.c (__libc_res_nquery): Add parameter
41120         answerp2_malloced and pass it down to __libc_res_nsend.
41121         (res_nquery): Pass additional NULL to __libc_res_nquery.
41122         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41123         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41124         second answer buffer if answerp2_malloced was set.
41125         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41126         (__libc_res_nquerydomain): Add parameter
41127         answerp2_malloced and pass it down to __libc_res_nquery.
41128         (res_nquerydomain): Pass additional NULL to
41129         __libc_res_nquerydomain.
41130         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41131         additional NULL to __libc_res_nsend and __libc_res_nquery.
41132         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41133         additional NULL to __libc_res_nsearch.
41134         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41135         parameter of __libc_res_nsearch to check for separately allocated
41136         second buffer.
41137         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41138         __libc_res_nquery.
41139         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41140         additional NULL to __libc_res_nquery.
41141         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41142         __libc_res_nsearch.
41143         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41144         * include/resolv.h: Update prototypes of __libc_res_nquery,
41145         __libc_res_nsearch, __libc_res_nsend.
41147 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41149         * math/auto-libm-test-in: Add tests of fma.
41150         * math/auto-libm-test-out: Regenerated.
41151         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41152         (fma_towardzero_test_data): Likewise.
41153         (fma_downward_test_data): Likewise.
41154         (fma_upward_test_data): Likewise.
41155         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41156         mpc_mode.
41157         (rounding_modes): Add values for new field.
41158         (func_calc_method): Add value mpfr_fff_f.
41159         (func_calc_desc): Add mpfr_fff_f union field.
41160         (test_function): Add field exact_args.
41161         (FUNC): Add macro argument EXACT_ARGS.
41162         (FUNC_mpfr_f_f): Update call to FUNC.
41163         (FUNC_mpfr_f_f): Likewise.
41164         (FUNC_mpfr_ff_f): Likewise.
41165         (FUNC_mpfr_if_f): Likewise.
41166         (FUNC_mpc_c_f): Likewise.
41167         (FUNC_mpc_c_c): Likewise.
41168         (test_functions): Add fma.  Update calls to FUNC.
41169         (handle_input_arg): Add argument exact_args.
41170         (add_test): Update call to handle_input_arg.
41171         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41172         (output_for_one_input_case): Update call to calc_generic_results.
41173         Recalculate exact zero results in each rounding mode.
41175         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41176         non-negative before setting low bit.
41177         * math/auto-libm-test-in: Mark one asin test possibly having
41178         spurious underflow.
41179         * math/auto-libm-test-out: Regenerated.
41180         * sysdeps/i386/fpu/libm-test-ulps: Update.
41181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41183 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41185         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41186         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41187         ports/sysdeps/unix/sysv/linux/microblaze.
41188         * README: Add missing listing for microblaze*-*-linux-gnu.
41190 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41192         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41193         duplicate code
41195 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41197         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41198         * sysdeps/unix/sysv/linux/ia64: Move directory from
41199         ports/sysdeps/unix/sysv/linux/ia64.
41200         * README: Update listing for ia64-*-linux-gnu.
41202 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41203             Joseph Myers  <joseph@codesourcery.com>
41205         * Makeconfig (test-name): New variable.
41206         (evaluate-test): Likewise.
41207         * Makerules (do-test-clean): Remove .test-result files.
41208         (common-mostlyclean): Likewise.
41209         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41210         * scripts/evaluate-test.sh: New file.
41212 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41214         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41215         separate $(objpfx)tst-fopenloc-cmp.out and
41216         $(objpfx)tst-fopenloc-mem.out targets.
41217         (tests): Update dependencies.
41218         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41219         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41220         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41221         (tst-rxspencer-no-utf8-ARGS): New variable.
41222         (tst-rxspencer-no-utf8-ENV): Likewise.
41223         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41224         instead of $(objpfx)tst-rxspencer-mem.
41225         ($(objpfx)tst-rxspencer-mem): Change target to
41226         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41227         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41228         * posix/tst-rxspencer-no-utf8.c: New file.
41230         * elf/Makefile ($(objpfx)order.out): Remove rule.
41231         [$(run-built-tests) = yes] (tests): Depend on
41232         $(objpfx)order-cmp.out.
41233         ($(objpfx)order-cmp.out): New rule.
41234         [$(run-built-tests) = yes] (tests): Depend on
41235         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41236         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41237         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41238         $(objpfx)tst-array5-static-cmp.out.
41239         ($(objpfx)tst-array1.out): Remove rule.
41240         ($(objpfx)tst-array1-cmp.out): New rule.
41241         ($(objpfx)tst-array1-static.out): Remove rule.
41242         ($(objpfx)tst-array1-static-cmp.out): New rule.
41243         ($(objpfx)tst-array2.out): Remove rule.
41244         ($(objpfx)tst-array2-cmp.out): New rule.
41245         ($(objpfx)tst-array3.out): Remove rule.
41246         ($(objpfx)tst-array3-cmp.out): New rule.
41247         ($(objpfx)tst-array4.out): Remove rule.
41248         ($(objpfx)tst-array4-cmp.out): New rule.
41249         ($(objpfx)tst-array5.out): Remove rule.
41250         ($(objpfx)tst-array5-cmp.out): New rule.
41251         ($(objpfx)tst-array5-static.out): Remove rule.
41252         ($(objpfx)tst-array5-static-cmp.out): New rule.
41253         [$(run-built-tests) = yes] (tests): Depend on
41254         $(objpfx)order2-cmp.out.
41255         ($(objpfx)order2.out): Remove rule.
41256         ($(objpfx)order2-cmp.out): New rule.
41257         ($(objpfx)tst-initorder.out): Remove rule.
41258         [$(run-built-tests) = yes] (tests): Depend on
41259         $(objpfx)tst-initorder-cmp.out.
41260         ($(objpfx)tst-initorder-cmp.out): New rule.
41261         ($(objpfx)tst-initorder2.out): Remove rule.
41262         [$(run-built-tests) = yes] (tests): Depend on
41263         $(objpfx)tst-initorder2-cmp.out.
41264         ($(objpfx)tst-initorder2-cmp.out): New rule.
41265         [$(run-built-tests) = yes] (tests): Depend on
41266         $(objpfx)tst-unused-dep-cmp.out.
41267         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41268         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41269         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41270         on $(objpfx)tst-setvbuf1-cmp.out.
41271         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41272         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41273         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41274         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41275         ($(objpfx)tst-svc.out): Remove rule.
41276         ($(objpfx)tst-svc-cmp.out): New rule.
41278 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41280         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41281         * ctype/ctype.h [__USE_MISC]: Likewise.
41282         * dirent/dirent.h [__USE_MISC]: Likewise.
41283         * grp/grp.h [__USE_MISC]: Likewise.
41284         * io/fcntl.h [__USE_MISC]: Likewise.
41285         * io/sys/stat.h [__USE_MISC]: Likewise.
41286         * libio/stdio.h [__USE_MISC]: Likewise.
41287         * posix/unistd.h [__USE_MISC]: Likewise.
41288         * pwd/pwd.h [__USE_MISC]: Likewise.
41289         * stdlib.h [__USE_MISC]: Likewise.
41290         * string/bits/string2.h [__USE_MISC]: Likewise.
41291         * string/string.h [__USE_MISC]: Likewise.
41292         * time/time.h [__USE_MISC]: Likewise.
41294 2014-02-13  Andreas Schwab  <schwab@suse.de>
41296         [BZ #16574]
41297         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41298         second answer buffer if it was separately allocated.
41300 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41302         * sysdeps/mips/math-tests.h: Include <features.h>.
41303         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41304         (ROUNDING_TESTS_long_double): Do not define.
41305         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41306         (EXCEPTION_TESTS_long_double): Likewise.
41307         * sysdeps/mips/mips64/libm-test-ulps: Update.
41309         * include/features.h (__USE_BSD): Remove macro definitions.
41310         (__USE_SVID): Likewise.
41311         (_BSD_SOURCE): Likewise.
41312         (_SVID_SOURCE): Likewise.
41313         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41314         from definition of _DEFAULT_SOURCE.
41315         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41316         [_DEFAULT_SOURCE].
41317         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41318         * bits/mman.h [__USE_BSD]: Likewise.
41319         * bits/termios.h [__USE_BSD]: Likewise.
41320         * bits/waitstatus.h [__USE_BSD]: Likewise.
41321         * ctype/ctype.h [__USE_SVID]: Likewise.
41322         * dirent/dirent.h [__USE_BSD]: Likewise.
41323         * grp/grp.h [__USE_SVID]: Likewise.
41324         [__USE_BSD]: Likewise.
41325         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41326         * io/fcntl.h [__USE_BSD]: Likewise.
41327         * io/ftw.h [__USE_BSD]: Likewise.
41328         * io/sys/stat.h [__USE_BSD]: Likewise.
41329         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41330         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41331         * libio/stdio.h [__USE_SVID]: Likewise.
41332         [__USE_BSD]: Likewise.
41333         * math/math.h [__USE_SVID]: Likewise.
41334         [__USE_BSD]: Likewise.
41335         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41336         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41337         * misc/search.h [__USE_SVID]: Likewise.
41338         * misc/sys/mman.h [__USE_BSD]: Likewise.
41339         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41340         * misc/sys/uio.h [__USE_BSD]: Likewise.
41341         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41342         * posix/glob.h [__USE_BSD]: Likewise.
41343         * posix/regex.h [__USE_BSD]: Likewise.
41344         * posix/sys/types.h [__USE_BSD]: Likewise.
41345         [__USE_SVID]: Likewise.
41346         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41347         * posix/sys/wait.h [__USE_BSD]: Likewise.
41348         [__USE_SVID]: Likewise.
41349         * posix/unistd.h [__USE_BSD]: Likewise.
41350         [__USE_SVID]: Likewise.
41351         * pwd/pwd.h [__USE_SVID]: Likewise.
41352         * resolv/netdb.h [__USE_BSD]: Likewise.
41353         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41354         * signal/signal.h [__USE_BSD]: Likewise.
41355         [__USE_SVID]: Likewise.
41356         * socket/sys/socket.h [__USE_BSD]: Likewise.
41357         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41358         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41359         [__USE_SVID]: Likewise.
41360         * string/bits/string2.h [__USE_BSD]: Likewise.
41361         [__USE_SVID]: Likewise.
41362         * string/bits/string3.h [__USE_BSD]: Likewise.
41363         * string/endian.h [__USE_BSD]: Likewise.
41364         * string/string.h [__USE_SVID]: Likewise.
41365         [__USE_BSD]: Likewise.
41366         * string/strings.h [__USE_BSD]: Likewise.
41367         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41368         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41369         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41370         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41371         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41372         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41373         Likewise.
41374         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41375         Likewise.
41376         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41377         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41378         Likewise.
41379         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41380         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41381         Likewise.
41382         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41383         Likewise.
41384         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41385         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41386         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41387         Likewise.
41388         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41389         Likewise.
41390         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41391         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41392         * termios/termios.h [__USE_BSD]: Likewise.
41393         * time/sys/time.h [__USE_BSD]: Likewise.
41394         * time/time.h [__USE_BSD]: Likewise.
41395         [__USE_SVID]: Likewise.
41397         * Makefile (subdir_targets): Remove subdir_lint.out.
41399         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41400         (do-tst-printf): Likewise.
41401         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41402         $(objpfx)tst-printf.out.
41404         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41406         * Makerules (check-abi-%): Change target to
41407         $(objpfx)check-abi-%.out.
41408         (check-abi target): Update dependencies.
41409         (check-abi-pattern variable): Redirect output of diff to $@.
41410         (check-abi variable): Likewise.
41411         * elf/Makefile (check-abi): Update dependencies.
41413         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41414         unused.
41415         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41416         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41417         subnormal range.
41418         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41419         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41420         value has largest subnormal exponent.
41421         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41422         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41423         * sysdeps/aarch64/soft-fp/sfp-machine.h
41424         (_FP_TININESS_AFTER_ROUNDING): New macro.
41425         * sysdeps/alpha/soft-fp/sfp-machine.h
41426         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41427         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41428         Likewise.
41429         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41430         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41431         * sysdeps/mips/soft-fp/sfp-machine.h
41432         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41433         * sysdeps/powerpc/soft-fp/sfp-machine.h
41434         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41435         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41436         Likewise.
41437         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41438         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41439         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41440         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41441         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41442         Likewise.
41444 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41446         [BZ #16545]
41447         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41448         model 1.
41450 2014-02-12  Richard Henderson  <rth@redhat.com>
41452         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41453         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41454         * sysdeps/unix/sysv/linux/alpha: Move directory from
41455         ports/sysdeps/unix/sysv/linux/alpha.
41456         * README: Update listing for alpha-*-linux-gnu.
41458 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41460         * include/features.h: Update comment documenting feature test
41461         macros.
41462         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41463         _DEFAULT_SOURCE.
41464         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41465         (_SVID_SOURCE): Likewise.
41466         (_DEFAULT_SOURCE): Update description of default features.
41467         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41468         with _GNU_SOURCE.
41469         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41470         (S_ISVTX): Likewise.
41471         * manual/math.texi (Mathematical Constants): Likewise.
41472         * manual/signal.texi (Interrupted Primitives): Likewise.
41473         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41474         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41475         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41476         Don't refer to _SVID_SOURCE in warning text.
41478         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41480         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41481         already defined.
41482         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41483         * sysdeps/mips/dl-lookup.c: Remove.
41484         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41486 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41488         [BZ #16447]
41489         * math/auto-libm-test-in: Add testcase for expl.
41490         * math/auto-libm-test-out: Regenerate.
41491         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41492         calculation of unsafe.
41493         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41495 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41497         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41498         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41499         ports/sysdeps/unix/sysv/linux/aarch64.
41500         * README: Update listing for aarch64*-*-linux-gnu.
41502 2014-02-11  Will Newton  <will.newton@linaro.org>
41504         * manual/probes.texi (Mathematical Function Probes): Use
41505         "triggered" instead of "hit".
41507         * manual/probes.texi (Internal Probes): Add documentation
41508         of setjmp, longjmp and longjmp_target probes.
41510         * include/stap-probe.h: Add comment about probe argument
41511         format.
41513         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41514         definition.  (tr_where, tr_freehook, tr_mallochook,
41515         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41517 2014-02-11  David S. Miller  <davem@davemloft.net>
41519         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41520         processing int_tests.
41522 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41524         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41525         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41526         * sysdeps/unix/sysv/linux/mips: Move directory from
41527         ports/sysdeps/unix/sysv/linux/mips.
41528         * README: Update listing for mips-*-linux-gnu and
41529         mips64-*-linux-gnu.
41531 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41533         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41534         * sysdeps/unix/sysv/linux/m68k: Move directory from
41535         ports/sysdeps/unix/sysv/linux/m68k.
41536         * README: Update listing for m68k-*-linux-gnu.
41538 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41540         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41541         * sysdeps/unix/sysv/linux/generic: Move directory from
41542         ports/sysdeps/unix/sysv/linux/generic.
41543         * sysdeps/unix/sysv/linux/tile: Move directory from
41544         ports/sysdeps/unix/sysv/linux/tile.
41545         * README: Update listing for tile*-*-linux-gnu.
41547 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41549         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41550         __builtin_expect.
41551         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41552         * catgets/open_catalog.c (__open_catalog): Likewise.
41553         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41554         * debug/confstr_chk.c: Likewise.
41555         * debug/fread_chk.c (__fread_chk): Likewise.
41556         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41557         * debug/getgroups_chk.c: Likewise.
41558         * debug/mbsnrtowcs_chk.c: Likewise.
41559         * debug/mbsrtowcs_chk.c: Likewise.
41560         * debug/mbstowcs_chk.c: Likewise.
41561         * debug/memcpy_chk.c: Likewise.
41562         * debug/memmove_chk.c: Likewise.
41563         * debug/mempcpy_chk.c: Likewise.
41564         * debug/memset_chk.c: Likewise.
41565         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41566         * debug/strcat_chk.c (__strcat_chk): Likewise.
41567         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41568         * debug/strncat_chk.c (__strncat_chk): Likewise.
41569         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41570         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41571         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41572         * debug/wcpncpy_chk.c: Likewise.
41573         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
41574         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
41575         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
41576         * debug/wcsncpy_chk.c: Likewise.
41577         * debug/wcsnrtombs_chk.c: Likewise.
41578         * debug/wcsrtombs_chk.c: Likewise.
41579         * debug/wcstombs_chk.c: Likewise.
41580         * debug/wmemcpy_chk.c: Likewise.
41581         * debug/wmemmove_chk.c: Likewise.
41582         * debug/wmempcpy_chk.c: Likewise.
41583         * debug/wmemset_chk.c: Likewise.
41584         * dirent/scandirat.c (SCANDIRAT): Likewise.
41585         * dlfcn/dladdr1.c (dladdr1): Likewise.
41586         * dlfcn/dladdr.c (dladdr): Likewise.
41587         * dlfcn/dlclose.c (dlclose_doit): Likewise.
41588         * dlfcn/dlerror.c (__dlerror): Likewise.
41589         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
41590         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
41591         * dlfcn/dlopen.c (dlopen_doit): Likewise.
41592         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
41593         * dlfcn/dlsym.c (dlsym_doit): Likewise.
41594         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
41595         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
41596         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
41597         Likewise.
41598         * elf/dl-conflict.c: Likewise.
41599         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
41600         * elf/dl-dst.h: Likewise.
41601         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
41602         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
41603         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
41604         * elf/dl-init.c (call_init, _dl_init): Likewise.
41605         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
41606         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
41607         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
41608         Likewise.
41609         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
41610         Likewise.
41611         * elf/dl-minimal.c (__libc_memalign): Likewise.
41612         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
41613         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41614         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
41615         * elf/dl-sym.c (do_sym): Likewise.
41616         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
41617         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
41618         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
41619         * elf/dl-writev.h (_dl_writev): Likewise.
41620         * elf/ldconfig.c (search_dir): Likewise.
41621         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
41622         (dl_main): Likewise.
41623         * elf/setup-vdso.h (setup_vdso): Likewise.
41624         * grp/compat-initgroups.c (compat_call): Likewise.
41625         * grp/fgetgrent.c (fgetgrent): Likewise.
41626         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
41627         * grp/putgrent.c (putgrent): Likewise.
41628         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
41629         Likewise.
41630         * hurd/hurdinit.c: Likewise.
41631         * iconvdata/8bit-gap.c (struct): Likewise.
41632         * iconvdata/ansi_x3.110.c : Likewise.
41633         * iconvdata/big5.c : Likewise.
41634         * iconvdata/big5hkscs.c : Likewise.
41635         * iconvdata/cp1255.c: Likewise.
41636         * iconvdata/cp1258.c : Likewise.
41637         * iconvdata/cp932.c : Likewise.
41638         * iconvdata/euc-cn.c: Likewise.
41639         * iconvdata/euc-jisx0213.c : Likewise.
41640         * iconvdata/euc-jp.c: Likewise.
41641         * iconvdata/euc-jp-ms.c : Likewise.
41642         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
41643         * iconvdata/gb18030.c : Likewise.
41644         * iconvdata/gbbig5.c (const): Likewise.
41645         * iconvdata/gbgbk.c: Likewise.
41646         * iconvdata/gbk.c : Likewise.
41647         * iconvdata/ibm1364.c : Likewise.
41648         * iconvdata/ibm930.c : Likewise.
41649         * iconvdata/ibm932.c: Likewise.
41650         * iconvdata/ibm933.c : Likewise.
41651         * iconvdata/ibm935.c : Likewise.
41652         * iconvdata/ibm937.c : Likewise.
41653         * iconvdata/ibm939.c : Likewise.
41654         * iconvdata/ibm943.c: Likewise.
41655         * iconvdata/iso_11548-1.c: Likewise.
41656         * iconvdata/iso-2022-cn.c : Likewise.
41657         * iconvdata/iso-2022-cn-ext.c : Likewise.
41658         * iconvdata/iso-2022-jp-3.c: Likewise.
41659         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
41660         * iconvdata/iso-2022-kr.c : Likewise.
41661         * iconvdata/iso646.c (gconv_end): Likewise.
41662         * iconvdata/iso_6937-2.c : Likewise.
41663         * iconvdata/iso_6937.c : Likewise.
41664         * iconvdata/iso8859-1.c: Likewise.
41665         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
41666         * iconvdata/shift_jisx0213.c : Likewise.
41667         * iconvdata/sjis.c : Likewise.
41668         * iconvdata/t.61.c : Likewise.
41669         * iconvdata/tcvn5712-1.c : Likewise.
41670         * iconvdata/tscii.c: Likewise.
41671         * iconvdata/uhc.c : Likewise.
41672         * iconvdata/unicode.c (gconv_end): Likewise.
41673         * iconvdata/utf-16.c (gconv_end): Likewise.
41674         * iconvdata/utf-32.c (gconv_end): Likewise.
41675         * iconvdata/utf-7.c (base64): Likewise.
41676         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
41677         * iconv/gconv_close.c (__gconv_close): Likewise.
41678         * iconv/gconv_open.c (__gconv_open): Likewise.
41679         * iconv/gconv_simple.c (internal_ucs4_loop_single)
41680         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
41681         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
41682         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
41683         (ucs4le_internal_loop_single): Likewise.
41684         * iconv/iconv.c (iconv): Likewise.
41685         * iconv/iconv_close.c: Likewise.
41686         * iconv/loop.c (SINGLE): Likewise.
41687         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
41688         * include/atomic.h: Likewise.
41689         * inet/inet6_option.c (option_alloc): Likewise.
41690         * intl/bindtextdom.c (set_binding_values): Likewise.
41691         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
41692         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
41693         * intl/localealias.c (read_alias_file): Likewise.
41694         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
41695         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
41696         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
41697         * libio/fmemopen.c (fmemopen): Likewise.
41698         * libio/iofgets.c (_IO_fgets): Likewise.
41699         * libio/iofgets_u.c (fgets_unlocked): Likewise.
41700         * libio/iofgetws.c (fgetws): Likewise.
41701         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
41702         * libio/iogetdelim.c (_IO_getdelim): Likewise.
41703         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
41704         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
41705         * locale/findlocale.c (_nl_find_locale): Likewise.
41706         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
41707         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
41708         Likewise.
41709         * locale/setlocale.c (setlocale): Likewise.
41710         * login/programs/pt_chown.c (main): Likewise.
41711         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
41712         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
41713         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
41714         (mmap, mmap64, mremap, munmap): Likewise.
41715         * math/e_exp2l.c: Likewise.
41716         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
41717         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
41718         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
41719         * math/s_catan.c (__catan): Likewise.
41720         * math/s_catanf.c (__catanf): Likewise.
41721         * math/s_catanh.c (__catanh): Likewise.
41722         * math/s_catanhf.c (__catanhf): Likewise.
41723         * math/s_catanhl.c (__catanhl): Likewise.
41724         * math/s_catanl.c (__catanl): Likewise.
41725         * math/s_ccosh.c (__ccosh): Likewise.
41726         * math/s_ccoshf.c (__ccoshf): Likewise.
41727         * math/s_ccoshl.c (__ccoshl): Likewise.
41728         * math/s_cexp.c (__cexp): Likewise.
41729         * math/s_cexpf.c (__cexpf): Likewise.
41730         * math/s_cexpl.c (__cexpl): Likewise.
41731         * math/s_clog10.c (__clog10): Likewise.
41732         * math/s_clog10f.c (__clog10f): Likewise.
41733         * math/s_clog10l.c (__clog10l): Likewise.
41734         * math/s_clog.c (__clog): Likewise.
41735         * math/s_clogf.c (__clogf): Likewise.
41736         * math/s_clogl.c (__clogl): Likewise.
41737         * math/s_csin.c (__csin): Likewise.
41738         * math/s_csinf.c (__csinf): Likewise.
41739         * math/s_csinh.c (__csinh): Likewise.
41740         * math/s_csinhf.c (__csinhf): Likewise.
41741         * math/s_csinhl.c (__csinhl): Likewise.
41742         * math/s_csinl.c (__csinl): Likewise.
41743         * math/s_csqrt.c (__csqrt): Likewise.
41744         * math/s_csqrtf.c (__csqrtf): Likewise.
41745         * math/s_csqrtl.c (__csqrtl): Likewise.
41746         * math/s_ctan.c (__ctan): Likewise.
41747         * math/s_ctanf.c (__ctanf): Likewise.
41748         * math/s_ctanh.c (__ctanh): Likewise.
41749         * math/s_ctanhf.c (__ctanhf): Likewise.
41750         * math/s_ctanhl.c (__ctanhl): Likewise.
41751         * math/s_ctanl.c (__ctanl): Likewise.
41752         * math/w_pow.c: Likewise.
41753         * math/w_powf.c: Likewise.
41754         * math/w_powl.c: Likewise.
41755         * math/w_scalb.c (sysv_scalb): Likewise.
41756         * math/w_scalbf.c (sysv_scalbf): Likewise.
41757         * math/w_scalbl.c (sysv_scalbl): Likewise.
41758         * misc/error.c (error_tail): Likewise.
41759         * misc/pselect.c (__pselect): Likewise.
41760         * nis/nis_callback.c (__nis_create_callback): Likewise.
41761         * nis/nis_call.c (__nisfind_server): Likewise.
41762         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41763         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41764         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41765         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41766         * nis/nis_lookup.c (nis_lookup): Likewise.
41767         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41768         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41769         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41770         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41771         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41772         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41773         * nis/nss_compat/compat-initgroups.c (add_group)
41774         (internal_getgrent_r): Likewise.
41775         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41776         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41777         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41778         (internal_getspnam_r): Likewise.
41779         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41780         (_nss_nis_getaliasbyname_r): Likewise.
41781         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41782         (_nss_nis_getntohost_r): Likewise.
41783         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41784         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41785         (_nss_nis_getgrgid_r): Likewise.
41786         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41787         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41788         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41789         (_nss_nis_gethostbyname4_r): Likewise.
41790         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41791         (initgroups_netid): Likewise.
41792         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41793         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41794         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41795         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41796         (_nss_nis_getprotobynumber_r): Likewise.
41797         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41798         (_nss_nis_getsecretkey): Likewise.
41799         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41800         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41801         (_nss_nis_getpwuid_r): Likewise.
41802         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41803         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41804         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41805         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41806         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41807         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41808         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41809         Likewise.
41810         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41811         (_nss_nisplus_getntohost_r): Likewise.
41812         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41813         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41814         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41815         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41816         Likewise.
41817         * nis/nss_nisplus/nisplus-initgroups.c
41818         (_nss_nisplus_initgroups_dyn): Likewise.
41819         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41820         (_nss_nisplus_getnetbyaddr_r): Likewise.
41821         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41822         (_nss_nisplus_getprotobynumber_r): Likewise.
41823         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41824         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41825         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41826         Likewise.
41827         * nis/nss_nisplus/nisplus-service.c
41828         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41829         (_nss_nisplus_getservbyport_r): Likewise.
41830         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41831         (_nss_nisplus_getspnam_r): Likewise.
41832         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41833         Likewise.
41834         * nscd/aicache.c (addhstaiX): Likewise.
41835         * nscd/cache.c (cache_search, prune_cache): Likewise.
41836         * nscd/connections.c (register_traced_file, send_ro_fd)
41837         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41838         (main_loop_epoll): Likewise.
41839         * nscd/grpcache.c (addgrbyX): Likewise.
41840         * nscd/hstcache.c (addhstbyX): Likewise.
41841         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41842         * nscd/mem.c (gc, mempool_alloc): Likewise.
41843         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41844         (addinnetgrX): Likewise.
41845         * nscd/nscd-client.h (__nscd_acquire_maplock)
41846         (__nscd_drop_map_ref): Likewise.
41847         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41848         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41849         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41850         Likewise.
41851         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41852         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41853         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41854         (__nscd_get_map_ref): Likewise.
41855         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41856         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41857         Likewise.
41858         * nscd/pwdcache.c (addpwbyX): Likewise.
41859         * nscd/selinux.c (preserve_capabilities): Likewise.
41860         * nscd/servicescache.c (addservbyX): Likewise.
41861         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41862         * posix/fnmatch.c (fnmatch): Likewise.
41863         * posix/getopt.c (_getopt_internal_r): Likewise.
41864         * posix/glob.c (glob, glob_in_dir): Likewise.
41865         * posix/wordexp.c (exec_comm_child): Likewise.
41866         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41867         (getanswer_r, gaih_getanswer_slice): Likewise.
41868         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41869         * resolv/res_init.c: Likewise.
41870         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41871         * resolv/res_query.c (__libc_res_nquery): Likewise.
41872         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41873         Likewise.
41874         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41875         * stdio-common/perror.c (perror): Likewise.
41876         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41877         * stdio-common/tmpnam.c (tmpnam): Likewise.
41878         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41879         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41880         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41881         Likewise.
41882         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41883         * stdlib/putenv.c (putenv): Likewise.
41884         * stdlib/setenv.c (__add_to_environ): Likewise.
41885         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41886         * stdlib/strtol_l.c (INTERNAL): Likewise.
41887         * string/memmem.c (memmem): Likewise.
41888         * string/strerror.c (strerror): Likewise.
41889         * string/strnlen.c (__strnlen): Likewise.
41890         * string/test-memmem.c (simple_memmem): Likewise.
41891         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41892         * sunrpc/pm_getport.c (__get_socket): Likewise.
41893         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41894         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41895         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41896         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41897         Likewise.
41898         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41899         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41900         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41901         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41902         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41903         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41904         Likewise.
41905         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41906         Likewise.
41907         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41908         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41909         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41910         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41911         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41913         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41914         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41915         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41916         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41917         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41918         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41919         Likewise.
41920         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41921         Likewise.
41922         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41923         Likewise.
41924         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41925         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41926         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41927         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41928         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41929         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41930         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41931         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41933         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41934         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41935         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41936         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41937         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41939         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41940         Likewise.
41941         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41942         Likewise.
41943         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41944         Likewise.
41945         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41946         Likewise.
41947         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41948         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41949         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41950         Likewise.
41951         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41952         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41953         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41954         * sysdeps/posix/sleep.c: Likewise.
41955         * sysdeps/posix/tempname.c: Likewise.
41956         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41957         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41958         Likewise.
41959         * sysdeps/powerpc/powerpc32/dl-machine.h
41960         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41961         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41962         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41963         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41964         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41965         Likewise.
41966         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41967         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41968         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41969         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41970         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41971         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41972         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41973         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41974         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41975         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41976         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41977         (elf_machine_lazy_rel): Likewise.
41978         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41979         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41980         (elf_machine_lazy_rel): Likewise.
41981         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41982         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41983         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41984         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41985         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41986         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41987         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41988         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41989         Likewise.
41990         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41991         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41992         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41993         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41994         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41995         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41996         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41997         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41998         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41999         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42000         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42001         Likewise.
42002         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42003         (__posix_fallocate64_l64): Likewise.
42004         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42005         (posix_fallocate): Likewise.
42006         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42007         Likewise.
42008         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42009         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42010         (getifaddrs_internal): Likewise.
42011         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42012         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42013         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42014         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42015         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42016         (__posix_fallocate64_l64): Likewise.
42017         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42018         Likewise.
42019         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42020         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42021         (__get_clockfreq): Likewise.
42022         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42023         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42024         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42025         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42026         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42027         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42028         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42029         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42030         Likewise.
42031         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42032         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42033         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42034         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42035         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42036         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42037         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42038         Likewise.
42039         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42040         (posix_fallocate): Likewise.
42041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42042         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42043         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42044         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42045         (elf_machine_rela, elf_machine_rela_relative)
42046         (elf_machine_lazy_rel): Likewise.
42047         * time/asctime.c (asctime_internal): Likewise.
42048         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42049         * time/tzset.c (__tzset_parse_tz): Likewise.
42050         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42051         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42052         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42053         * wcsmbs/wcsmbsload.h: Likewise.
42055         [BZ #15894]
42056         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42058         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42059         (arena_get2): Remove THREAD_STATS conditionals.
42060         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42061         (__malloc_stats, int): Likewise.
42063 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42065         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42066         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42068         * manual/setjmp.texi: Fix typos/grammar errors.
42070         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42071         Only return early when n is <= 0.  Delete unused return statement.
42073         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42074         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42075         * debug/tst-longjmp_chk3.c: New file.
42077         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42078         (test_main): Replace code with set_fortify_handler call.
42079         * debug/test-strcpy_chk.c: Likewise.
42080         * debug/tst-chk1.c: Likewise.
42081         * debug/tst-longjmp_chk.c: Likewise.
42082         * test-skeleton.c: Include fcntl.h & paths.h
42083         (set_fortify_handler): Define.
42085         * debug/tst-longjmp_chk.c: Add header comment and include
42086         ../test-skeleton.c.
42087         (do_test): Mark static.
42088         (TEST_FUNCTION): Define.
42090         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42091         (IP_PMTUDISC_INTERFACE): Likewise.
42092         (IP_MULTICAST_IF): Likewise.
42093         (IP_MULTICAST_TTL): Likewise.
42094         (IP_MULTICAST_LOOP): Likewise.
42095         (IP_ADD_MEMBERSHIP): Likewise.
42096         (IP_DROP_MEMBERSHIP): Likewise.
42097         (IP_UNBLOCK_SOURCE): Likewise.
42098         (IP_BLOCK_SOURCE): Likewise.
42099         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42100         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42101         (IP_MSFILTER): Likewise.
42102         (MCAST_JOIN_GROUP): Likewise.
42103         (MCAST_BLOCK_SOURCE): Likewise.
42104         (MCAST_UNBLOCK_SOURCE): Likewise.
42105         (MCAST_LEAVE_GROUP): Likewise.
42106         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42107         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42108         (MCAST_MSFILTER): Likewise.
42109         (IP_MULTICAST_ALL): Likewise.
42110         (IP_UNICAST_IF): Likewise.
42112         * timezone/Makefile: Delete $(have-ksh) check.
42113         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42114         * timezone/tzselect.ksh: Add +x mode bits.
42116         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42117         (ANON_INODE_FS_MAGIC): Likewise.
42118         (BDEVFS_MAGIC): Likewise.
42119         (BINFMTFS_MAGIC): Likewise.
42120         (BTRFS_TEST_MAGIC): Likewise.
42121         (CRAMFS_MAGIC_WEND): Likewise.
42122         (DEBUGFS_MAGIC): Likewise.
42123         (ECRYPTFS_SUPER_MAGIC): Likewise.
42124         (EXT3_SUPER_MAGIC): Likewise.
42125         (EXT4_SUPER_MAGIC): Likewise.
42126         (FUTEXFS_SUPER_MAGIC): Likewise.
42127         (HOSTFS_SUPER_MAGIC): Likewise.
42128         (HUGETLBFS_MAGIC): Likewise.
42129         (MINIX3_SUPER_MAGIC): Likewise.
42130         (MTD_INODE_FS_MAGIC): Likewise.
42131         (NILFS_SUPER_MAGIC): Likewise.
42132         (OPENPROM_SUPER_MAGIC): Likewise.
42133         (PIPEFS_MAGIC): Likewise.
42134         (PSTOREFS_MAGIC): Likewise.
42135         (QNX6_SUPER_MAGIC): Likewise.
42136         (RAMFS_MAGIC): Likewise.
42137         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42138         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42139         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42140         (SECURITYFS_MAGIC): Likewise.
42141         (SELINUX_MAGIC): Likewise.
42142         (SMACK_MAGIC): Likewise.
42143         (SOCKFS_MAGIC): Likewise.
42144         (SQUASHFS_MAGIC): Likewise.
42145         (STACK_END_MAGIC): Likewise.
42146         (TMPFS_MAGIC): Likewise.
42147         (USBDEVICE_SUPER_MAGIC): Likewise.
42148         (V9FS_MAGIC): Likewise.
42149         (XENFS_SUPER_MAGIC): Likewise.
42150         (CRAMFS_MAGIC): Fix typo in comment.
42151         (EXT2_SUPER_MAGIC): Update comment.
42152         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42154 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42156         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42157         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42158         * sysdeps/unix/sysv/linux/arm: Move directory from
42159         ports/sysdeps/unix/sysv/linux/arm.
42160         * README: Update listing for arm-*-linux-gnueabi.
42162         * README: Remove mention of am33.
42164 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42166         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42167         than the comma operator, to avoid "rhs of comma has no effect"
42168         compiler warnings.
42169         (__sigfillset, __sigandset, __sigorset): Likewise.
42170         * include/signal.h (__sigemptyset): Likewise.
42171         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42173 2014-02-07  Allan McRae  <allan@archlinux.org>
42175         * version.h (RELEASE): Set to "development".
42176         (VERSION): Set to "2.19.90"
42177         * NEWS: Add 2.20 section.
42179 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42181         [BZ #16529]
42182         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42184 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42186         * manual/contrib.texi: Update entry for Carlos O'Donell,
42187         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42189 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42191         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42193         * sysdeps/unix/sysv/linux/kernel-features.h
42194         [__LINUX_KERNEL_VERSION >= 0x020621]
42195         (__ASSUME_PROC_PID_TASK_COMM): Define.
42197 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42199         [BZ #16398]
42200         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42201         conversion when destination buffer does not have enough space.
42202         * libio/tst-ftell-partial-wide.c: New test case.
42203         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42205         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42206         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42207         Leonard and Allan McRae.
42209 2014-02-04  David S. Miller  <davem@davemloft.net>
42211         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42212         32-bit.
42214 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42217         New file
42218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42219         New file
42220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42221         New file.
42222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42223         New file.
42224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42225         New file.
42226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42227         New file.
42228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42229         New file.
42230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42231         New file.
42232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42233         New file.
42234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42235         New file.
42236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42237         New file.
42238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42239         New file.
42240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42241         New file.
42243 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42245         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42246         * shlib-versions: Likewise.
42248 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42249             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42251         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42252         (abilist-pattern): New variable, set to %-le.abilist.
42254         * Makerules (abilist-pattern): New variable.
42255         (vpath): Use $(abilist-pattern) in place of %.abilist.
42256         (check-abi-% pattern rule): Likewise.
42257         (check-abi, update-abi): Likewise.
42259 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42263 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42265         * manual/startup.texi: Add next, previous, and top entries for
42266         the `Program Arguments' and `Environment Variables' nodes.
42268 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42270         * manual/macros.texi: Add comments before MTASC-safety macros.
42272         * manual/users.texi: Document MTASC-safety properties.
42274         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42275         (pthread_getspecific, pthread_setspecific): Format with
42276         @deftypefun, and add @safety note.
42277         * manual/signal.texi: Move comments that analyze the above
42278         functions to their home place.
42280 2014-02-03  Allan McRae  <allan@archlinux.org>
42282         * po/sl.po: Update Slovenian translation from translation project.
42284 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42286         * manual/time.texi (timegm): Add missing blank after @c.
42287         Reported by Joseph Myers <joseph@codesourcery.com>.
42289 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42291         * manual/check-safety.sh: New.
42292         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42294         * manual/terminal.texi: Document MTASC-safety properties.
42296         * manual/filesys.texi: Document MTASC-safety properties.
42298         * manual/errno.texi: Document MTASC-safety properties.
42300         * manual/intro.texi: Document safety identifiers and
42301         conditionals.
42303         * manual/string.texi (wcstok): Fix prototype.
42304         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42306         * manual/time.texi: Document MTASC-safety properties.
42308         * manual/string.texi: Document MTASC-safety properties.
42310         * manual/threads.texi: Document MTASC-safety properties.
42312         * manual/stdio.texi: Document MTASC-safety properties.
42314         * manual/syslog.texi: Document MTASC-safety properties.
42316         * manual/sysinfo.texi: Document MTASC-safety properties.
42318         * manual/startup.texi: Document MTASC-safety properties.
42320         * manual/socket.texi: Document MTASC-safety properties.
42322         * manual/signal.texi: Document MTASC-safety properties.
42324 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42326         * manual/setjmp.texi: Document MTASC-safety properties.
42328         * manual/search.texi: Document MTASC-safety properties.
42330         * manual/resource.texi: Document MTASC-safety properties.
42332         * manual/process.texi: Document MTASC-safety properties.
42334         * manual/platform.texi: Document MTASC-safety properties.
42336         * manual/pipe.texi: Document MTASC-safety properties.
42338         * manual/pattern.texi: Document MTASC-safety properties.
42340         * manual/message.texi: Document MTASC-safety properties.
42342         [BZ #12751]
42343         * manual/memory.texi: Document MTASC-safety properties.
42345         * manual/math.texi: Document MTASC-safety properties.
42347         * manual/locale.texi: Document MTASC-safety properties.
42349         * manual/llio.texi: Document MTASC-safety properties.
42351         * manual/libdl.texi: New.
42353         * manual/lang.texi: Document MTASC-safety properties.
42355         * manual/job.texi: Document MTASC-safety properties.
42357         * manual/getopt.texi: Document MTASC-safety properties.
42359         * manual/ctype.texi: Document MTASC-safety properties.
42361 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42363         [BZ #16046]
42364         * csu/libc-tls.c (static_map): Remove variable.
42365         (__libc_setup_tls): Use main executable's link map for TLS data.
42366         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42367         casing for LM_ID_BASE and GL(dl_nns).
42368         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42369         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42370         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42371         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42372         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42373         member.
42374         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42375         l_phnum members.
42377 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42379         * manual/debug.texi: Document MTASC-safety properties.
42381 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42383         [BZ #16510]
42384         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42385         of __x86_64__ when disabling x87 inline functions.
42387 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42389         * manual/charset.texi: Document MTASC-safety properties.
42391         * manual/crypt.texi: Document MTASC-safety properties.
42393         * manual/conf.texi: Document MTASC-safety properties.
42395         * manual/arith.texi: Document MTASC-safety properties.
42397         * manual/argp.texi: Document MTASC-safety properties.
42399         * manual/macros.texi: Introduce macros to document multi
42400         thread, asynchronous signal and asynchronous cancellation
42401         safety properties.
42402         * manual/intro.texi: Introduce the properties themselves.
42404 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42406         * sysdeps/sh/sh4/Makefile: New file.
42408 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42410         * math/gen-libm-test.pl ($srcdir): New variable.
42411         ($auto_input): Use it.
42413 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42415         [BZ #16506]
42416         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42417         access beyond array bounds when parsing netgroups file.
42419         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42420         the old buffer before realloc.
42422 2014-01-27  Allan McRae  <allan@archlinux.org>
42424         * po/fr.po: Update French translation from translation project.
42426 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42428         * sysdeps/sh/libm-test-ulps: Regenerate.
42430 2014-01-24  David S. Miller  <davem@davemloft.net>
42432         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42434 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42436         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42437         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42439 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42441         [BZ #16474]
42442         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42443         string pointers after reallocation.
42445 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42447         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42448         __SH4A__ instead of __SH_FPU_ANY__.
42450 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42452         * sysdeps/sh/fpu_control.h: New file.
42453         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42454         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42455         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42456         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42457         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42458         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42459         * sysdeps/sh/sys/ucontext.h: Remove.
42460         * sysdeps/sh/sys: Remove directory.
42462 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42464         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42465         s390/sys/ucontext.h.
42466         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42467         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42469 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42471         [BZ #15605]
42472         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42474 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42476         [BZ#16431]
42477         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42478         Adjust the vDSO correctly for internal calls.
42479         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42481 2014-01-20  Allan McRae  <allan@archlinux.org>
42483         * po/ca.po: Update Catalan translation from translation project.
42485 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42487         * sysdeps/s390/sotruss-lib.c: New file.
42489 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42491         [BZ#16430]
42492         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42493         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42494         local calls issues by not having a PLT stub required for IFUNC calls.
42495         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42497 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42499         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42500         * math/test-fpucw-static.c: Likewise.
42502 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42504         [BZ #16453]
42505         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42507 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42509         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42510         implementation for powerpc.
42512 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42514         [BZ #14782]
42515         * sysdeps/posix/system.c (__libc_system): Do not enable
42516         asynchronous cancellation.
42518 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42520         [BZ #16427]
42521         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42522         handling only for numbers special also in the IEEE case.
42524 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42526         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42528 2014-01-11  Allan McRae  <allan@archlinux.org>
42530         * po/bg.po: Update Bulgarian translation from translation project.
42532         * po/de.po: Update German translation from translation project.
42534 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42536         * sysdeps/generic/gcc-compat.h: New file.
42538 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42540         * benchtests/asin-inputs: Correct slow inputs.
42541         * benchtests/acos-inputs: Likewise.
42543 2014-01-10  Allan McRae  <allan@archlinux.org>
42545         * po:sv.po: Update Swedish translation from translation project.
42547         * po/vi.po: Update Vietnamese translation from translation project.
42549         * po/eo.po: Update Esperanto translation from translation project.
42551         * po/cs.po: Update Czech translation from translation project.
42553         * po/nl.po: Update Dutch translation from translation project.
42555         * po/pl.po: Update Polish translation from translation project.
42557         * po/ru.po: Update Russian translation from translation project.
42559         * po/uk.po: Update Ukrainian translation from translation project.
42561 2014-01-08  Brooks Moses  <bmoses@google.com>
42563         * elf/dl-load.c: Fix comment typo.
42565 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42567         * po/header.pot: Rename to...
42568         * po/pot.header: ... this.
42569         * po/Makefile: Use pot.header.
42571 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42572             Maxim Kuvyrkov  <maxim@kugelworks.com>
42574         [BZ #16394]
42575         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
42576         SRC and DEST against LEN.
42578 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42580         [BZ #16414]
42581         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
42582         implementation.
42583         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
42585 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42589 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
42591         [BZ #16408]
42592         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
42593         for large positive arguments.
42595 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
42597         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42599         * math/auto-libm-test-in: Mark various tests with
42600         xfail-rounding:ldbl-128ibm.
42601         * math/auto-libm-test-out: Regenerated.
42603         [BZ #16407]
42604         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42605         Increase overflow threshold.
42607 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
42609         [BZ #14286]
42610         * stdio-common/vfprintf.c: Check for integer overflow.
42612 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42614         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
42615         the first argument and return value of __tls_get_addr_internal.
42617 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42619         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
42620         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
42622 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42624         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
42625         * sysdeps/s390/rtld-global-offsets.sym: New file.
42626         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
42627         GLIBC_2.19 symbol.
42628         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
42629         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
42630         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
42631         ... this.
42632         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
42633         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
42634         ... this.
42635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42636         Regenerate.
42637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42638         Regenerate.
42639         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
42640         halfs of GPRs for high_gprs contexts.
42641         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
42642         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
42643         field.
42644         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
42645         uc_flags field.
42646         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
42647         64 bit versions:
42648         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
42649         for high GPRs (uc_high_gprs) and for future extensions
42650         (__reserved).
42651         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
42652         for future extensions (__reserved).
42653         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
42654         64 bit versions:
42655         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
42656         SC_HIGHGPRS offset definition.
42657         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
42658         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
42660         * Versions.def: Add GLIBC_2.19 for libpthread.
42661         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
42662         siglongjmp for libpthread with GLIBC_2.19 symver.
42663         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
42664         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
42665         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
42666         * sysdeps/s390/__longjmp.c: New file.
42667         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
42668         * sysdeps/s390/longjmp.c: New file.
42669         * sysdeps/s390/setjmp.S: New file.
42670         * sysdeps/s390/sigjmp.S: New file.
42671         * sysdeps/s390/v1-longjmp.c: New file.
42672         * sysdeps/s390/v1-setjmp.h: New file.
42673         * sysdeps/s390/v1-sigjmp.c: New file.
42674         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
42675         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
42676         GLIBC_2.19 version.
42677         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
42678         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
42679         versioned symbols for ____longjmp_chk.
42680         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
42681         Likewise.
42682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
42683         Regenerate.
42684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42685         Regenerate.
42686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
42687         Regenerate.
42688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42689         Regenerate.
42690         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
42691         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
42692         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
42693         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
42694         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
42695         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
42696         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
42697         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
42698         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
42699         * sysdeps/s390/rtld-__longjmp.c: New file.
42700         * sysdeps/s390/rtld-setjmp.S: New file.
42702 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
42704         [BZ #16400]
42705         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42706         Return -__logl (x) for small positive arguments without evaluating
42707         a polynomial.
42709 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
42711         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
42712         Rename to ...
42713         (__ptrace_peeksiginfo_args): ... this.
42714         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42715         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42716         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42718 2014-01-06  Allan McRae  <allan@archlinux.org>
42720         * inet/netinet/in.h: Fix typo in comment.
42722 2014-01-05  Andreas Jaeger  <aj@suse.de>
42724         * sysdeps/i386/fpu/libm-test-ulps: Update.
42726 2014-01-05  Allan McRae  <allan@archlinux.org>
42728         * po/libc.pot: Regenerated.
42730         * malloc/memusagestat.c: Fix gettext call formatting.
42732 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
42734         * nscd/nscd.c: Improve usage() output.
42736 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
42738         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
42739         * sysdeps/unix/sysv/linux/configure: Regenerated.
42740         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
42741         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
42743 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42745         [BZ #16390]
42746         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
42747         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
42749 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42751         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
42752         extra tokens at end of #undef directive.
42753         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
42754         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
42755         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42757 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42759         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42761         * math/auto-libm-test-in: Mark various tests with
42762         xfail-rounding:ldbl-128ibm.
42763         * math/auto-libm-test-out: Regenerated.
42765 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42767         [BZ #16386]
42768         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42769         numbers with subnormal high part when calculating exponent.
42771         [BZ #16385]
42772         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42773         fabs.
42775         [BZ #16384]
42776         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42777         M_LN2l.
42778         (__ieee754_acoshl): Use __log1pl not __log1p.
42780 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42782         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42783         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42784         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42785         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42786         (reused_arena, arena_get2): Convert to GNU style.
42787         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42788         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42789         (memalign_check, __malloc_set_state): Likewise.
42790         * malloc/mallocbug.c (main): Likewise.
42791         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42792         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42793         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42794         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42795         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42796         (__posix_memalign, malloc_info): Likewise.
42797         * malloc/malloc.h: Likewise.
42798         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42799         (mallochook, memalignhook, reallochook, mabort): Likewise.
42800         * malloc/mcheck.h: Likewise.
42801         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42802         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42803         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42804         * malloc/morecore.c (__default_morecore): Likewise.
42805         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42806         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42807         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42808         (print_and_abort): Likewise.
42809         * malloc/obstack.h: Likewise.
42810         * malloc/set-freeres.c (__libc_freeres): Likewise.
42811         * malloc/tst-mallocstate.c (main): Likewise.
42812         * malloc/tst-mtrace.c (main): Likewise.
42813         * malloc/tst-realloc.c (do_test): Likewise.
42815 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42817         [BZ #16366]
42818         * nscd/netgroupcache.c (do_notfound): New function.
42819         (addgetnetgrentX): Use it.
42821         [BZ # 16365]
42822         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42823         NSS_STATUS_NOTFOUND.
42825 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42827         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42830 2014-01-01  Allan McRae  <allan@archlinux.org>
42832         * scripts/update-copyrights: Update configure input file suffix.
42834         * NEWS: Update copyright year.
42835         * catgets/gencat.c: Likewise.
42836         * csu/version.c: Likewise.
42837         * debug/catchsegv.sh: Likewise.
42838         * debug/pcprofiledump.c: Likewise.
42839         * debug/xtrace.sh: Likewise.
42840         * elf/ldconfig.c: Likewise.
42841         * elf/ldd.bash.in: Likewise.
42842         * elf/pldd.c: Likewise.
42843         * elf/sotruss.ksh: Likewise.
42844         * elf/sprof.c: Likewise.
42845         * iconv/iconv_prog.c: Likewise.
42846         * iconv/iconvconfig.c: Likewise.
42847         * locale/programs/locale.c: Likewise.
42848         * locale/programs/localedef.c: Likewise.
42849         * login/programs/pt_chown.c: Likewise.
42850         * malloc/memusage.sh: Likewise.
42851         * malloc/memusagestat.c: Likewise.
42852         * malloc/mtrace.pl: Likewise.
42853         * manual/libc.texinfo: Likewise.
42854         * nscd/nscd.c: Likewise.
42855         * nss/getent.c: Likewise.
42856         * nss/makedb.c: Likewise.
42857         * posix/getconf.c: Likewise.
42858         * scripts/test-installation.pl: Likewise.
42860         * All files with FSF copyright notices: Update copyright dates
42861         using scripts/update-copyrights.
42862         * intl/plural.c: Regenerated.
42863         * locale/programs/charmap-kw.h: Likewise.
42864         * locale/programs/locfile-kw.h: Likewise.
42866 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42868         * sysdeps/unix/sysv/linux/configure: Regenerated.
42869         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42870         the linux/fanotify.h header.
42871         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42872         HAVE_LINUX_FANOTIFY_H is defined.
42874 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42876         * benchtests/cos-inputs: New inputs.
42877         * benchtests/sin-inputs: Likewise.
42879         * benchtests/atan-inputs: New inputs. Fix name of multiple
42880         precision fallback inputs.
42882         * benchtests/atanh-inputs: New inputs.
42883         * benchtests/tanh-inputs: Likewise.
42885         * benchtests/acosh-inputs: New inputs.
42886         * benchtests/asinh-inputs: Likewise.
42888         * benchtests/cosh-inputs: New inputs.
42889         * benchtests/sinh-inputs: Likewise.
42891         * benchtests/acos-inputs: Add more inputs.
42892         * benchtests/asin-inputs: Likewise.
42894 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42896         [BZ #16375]
42897         * manual/arith.texi: Fix spelling.
42898         * manual/charset.texi: Likewise.
42899         * manual/errno.texi: Likewise.
42900         * manual/filesys.texi: Likewise.
42901         * manual/lang.texi: Likewise.
42902         * manual/llio.texi: Likewise.
42903         * manual/locale.texi: Likewise.
42904         * manual/message.texi: Likewise.
42905         * manual/resource.texi: Likewise.
42906         * manual/search.texi: Likewise.
42907         * manual/setjmp.texi: Likewise.
42908         * manual/stdio.texi: Likewise.
42909         * manual/string.texi: Likewise.
42910         * manual/sysinfo.texi: Likewise.
42911         * manual/time.texi: Likewise.
42913 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42915         * po/sl.po: New file.
42917 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42919         * .gitignore: Add core/.gdbinit/.gdb_history.
42921 2013-12-27  Allan McRae  <allan@archlinux.org>
42923         [BZ #16369]
42924         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42925         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42927 2013-12-24  Brooks Moses  <bmoses@google.com>
42929         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42930         all compilers that claim C++98 compliance, not just GCC.
42931         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42932         Likewise.
42934 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42936         * NEWS: Restore accidentally deleted bug-fix entries.
42938 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42939             Ondřej Bílka  <neleai@seznam.cz>
42941         [BZ #15073]
42942         * malloc/malloc.c (_int_free): Perform sanity check only if we
42943         have_lock.
42945 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42947         [BZ #12986]
42948         * manual/stdio.texi (String Input Conversions): Clarify that character
42949         classes are not supported.
42951 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42955 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42957         [BZ #16337]
42958         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42959         Calculate results for small negative arguments directly rather
42960         than using reflection formula with special underflow handling.
42962         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42963         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42964         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42965         (fchflags): Likewise.
42966         (revoke): Likewise.
42967         (setlogin): Likewise.
42968         (sigaltstack): Likewise.
42969         (wait4): Likewise.
42970         (sigblock): Remove.
42971         (sigsetmask): Likewise.
42972         (wait3): Likewise.
42973         (waitpid): Likewise.
42974         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42975         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42976         file.
42977         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42978         * sysdeps/unix/bsd/Makefile: ... here.
42979         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42980         * sysdeps/unix/bsd/Versions: ... here.
42981         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42982         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42983         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42984         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42985         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42986         * sysdeps/unix/bsd/sigblock.c: ... here.
42987         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42988         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42989         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42990         * sysdeps/unix/bsd/sigvec.c: ... here.
42991         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42992         * sysdeps/unix/bsd/tcdrain.c: ... here.
42993         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42994         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42995         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42996         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42997         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42998         * sysdeps/unix/bsd/wait.c: ... here.
42999         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43000         * sysdeps/unix/bsd/wait3.c: ... here.
43001         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43002         * sysdeps/unix/bsd/waitpid.c: ... here.
43004 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43006         [BZ #16356]
43007         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43008         round-to-nearest for [!USE_AS_EXPM1L].
43009         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43010         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43011         more tests of exp and exp10.  Expect some exp10 tests to miss
43012         exceptions or fail in directed rounding modes.
43013         * math/auto-libm-test-out: Regenerated.
43014         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43015         (exp10_test_tonearest): New function.
43016         (exp10_towardzero_test_data): New array.
43017         (exp10_test_towardzero): New function.
43018         (exp10_downward_test_data): New array.
43019         (exp10_test_downward): New function.
43020         (exp10_upward_test_data): New array.
43021         (exp10_test_upward): New function.
43022         (main): Call the new functions.
43023         * sysdeps/i386/fpu/libm-test-ulps: Update.
43024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43026 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43028         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43029         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43030         * math/auto-libm-test-out: Regenerated.
43031         * math/libm-test.inc (acosh_test_data): Add more tests.
43032         (atanh_test_data): Likewise.
43033         (ceil_test_data): Likewise.
43034         (copysign_test_data): Likewise.
43035         * sysdeps/i386/fpu/libm-test-ulps: Update.
43036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43038         * timezone/checktab.awk: Update from tzcode 2013i.
43039         * timezone/private.h: Likewise.
43040         * timezone/scheck.c: Likewise.
43041         * timezone/tzfile.h: Likewise.
43042         * timezone/tzselect.ksh: Likewise.
43043         * timezone/zdump.c: Likewise.
43044         * timezone/zic.c: Likewise.
43046         * math/auto-libm-test-in: Add tests of cpow.
43047         * math/auto-libm-test-out: Regenerated.
43048         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43049         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43050         mpc_cc_c.
43051         (func_calc_desc): Add mpc_cc_c union field.
43052         (test_functions): Add cpow.
43053         (special_fill_2pi): New function.
43054         (special_real_inputs): Add 2pi.
43055         (calc_generic_results): Handle mpc_cc_c.
43056         * sysdeps/i386/fpu/libm-test-ulps: Update.
43057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43059         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43060         csqrt, ctan and ctanh.
43061         * math/auto-libm-test-out: Regenerated.
43062         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43063         (TEST_COND_x86): Likewise.
43064         (ccos_test_data): Use AUTO_TESTS_c_c.
43065         (ccosh_test_data): Likewise.
43066         (cexp_test_data): Likewise.
43067         (clog_test_data): Likewise.
43068         (csqrt_test_data): Likewise.
43069         (ctan_test_data): Likewise.
43070         (ctan_tonearest_test_data): Likewise.
43071         (ctan_towardzero_test_data): Likewise.
43072         (ctan_downward_test_data): Likewise.
43073         (ctan_upward_test_data): Likewise.
43074         (ctanh_test_data): Likewise.
43075         (ctanh_tonearest_test_data): Likewise.
43076         (ctanh_towardzero_test_data): Likewise.
43077         (ctanh_downward_test_data): Likewise.
43078         (ctanh_upward_test_data): Likewise.
43079         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43080         mpc_c_c.
43081         (func_calc_desc): Add mpc_c_c union field.
43082         (FUNC_mpc_c_c): New macro.
43083         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43084         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43085         ctanh.
43086         (special_fill_min_subnorm_p120): New function.
43087         (special_real_inputs): Add min_subnorm_p120.
43088         (calc_generic_results): Handle mpc_c_c.
43089         * sysdeps/i386/fpu/libm-test-ulps: Update.
43090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43092 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43094         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43095         (do_sin_slow): New functions.
43096         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43097         (cslow2, csloww1, csloww2): Use the new functions.
43099         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43100         Use M to change sign of result instead of X.  Assume X is
43101         positive.
43102         (csloww1): Likewise.
43103         (__sin): Adjust.
43104         (__cos): Adjust.
43106         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43107         arguments A and DA.
43108         (__sin): Adjust.
43109         (__cos): Likewise.
43111         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43112         (__cos): Likewise.
43113         (sloww1): Don't adjust sign of DX.
43114         (csloww1): Likewise.
43115         (sloww2): Use X directly and don't adjust sign of DX.
43116         (csloww2): Likewise.
43118 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43120         * math/auto-libm-test-in: Add tests of cabs and carg.
43121         * math/auto-libm-test-out: Regenerated.
43122         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43123         (carg_test_data): Likewise.
43124         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43125         mpc_c_f.
43126         (func_calc_desc): Add mpc_c_f union field.
43127         (test_functions): Add cabs and carg.
43128         (calc_generic_results): Handle mpc_c_f.
43130         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43131         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43132         as a macro and a compat symbol.
43133         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43134         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43135         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43136         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43137         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43138         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43139         not use .hidden.
43140         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43141         Likewise.
43142         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43143         Likewise.
43144         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43145         Likewise.
43146         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43147         Likewise.
43148         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43149         Likewise.
43150         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43151         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43152         from GLIBC_2.3.2.
43154 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43158 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43160         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43161         trailing whitespace removed.
43162         * scripts/config.guess: Update to version 2013-11-29.
43163         * scripts/config.sub: Update to version 2013-10-01.
43165         * math/auto-libm-test-in: Add tests of sincos.
43166         * math/auto-libm-test-out: Regenerated.
43167         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43168         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43169         mpfr_f_11.
43170         (func_calc_desc): Add mpfr_f_11 union field.
43171         (test_functions): Add sincos.
43172         (calc_generic_results): Handle mpfr_f_11.
43173         * sysdeps/i386/fpu/libm-test-ulps: Update.
43174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43176 2013-12-19  Andreas Schwab  <schwab@suse.de>
43178         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43179         CALL_MCOUNT.
43180         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43181         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43182         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43184 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43186         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43187         * sysdeps/i386/fpu/libm-test-ulps: Update.
43188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43190         [BZ #16293]
43191         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43192         round-to-nearest mode when using frndint.
43193         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43194         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43195         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43196         Likewise.
43197         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43198         sinh test to fail.
43199         * math/auto-libm-test-out: Regenerated.
43200         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43201         (TEST_COND_x86): Likewise.
43202         (expm1_tonearest_test_data): New array.
43203         (expm1_test_tonearest): New function.
43204         (expm1_towardzero_test_data): New array.
43205         (expm1_test_towardzero): New function.
43206         (expm1_downward_test_data): New array.
43207         (expm1_test_downward): New function.
43208         (expm1_upward_test_data): New array.
43209         (expm1_test_upward): New function.
43210         (main): Run the new test functions.
43211         * sysdeps/i386/fpu/libm-test-ulps: Update.
43212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43214         * include/features.h: Update comment documenting feature test
43215         macros.  Mention _DEFAULT_SOURCE in comment.
43216         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43217         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43218         _BSD_SOURCE and _SVID_SOURCE.
43219         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43220         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43221         !_SVID_SOURCE]: Likewise.
43222         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43223         (__USE_POSIX_IMPLICITLY): Define.
43224         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43225         (_POSIX_SOURCE): Undefine and redefine.
43226         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43227         (_POSIX_C_SOURCE): Likewise.
43228         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43229         (Feature Test Macros): Update documentation of default features.
43231 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43233         * benchtests/Makefile: Add bench-strtok.
43234         * benchtests/bench-strtok.c: New file: strtok benchtest.
43236 2013-12-19  Allan McRae  <allan@archlinux.org>
43238         * manual/install.texi: Suppress menu for plain text output.
43239         * INSTALL: Regenerated.
43241 2013-12-18  Brooks Moses  <bmoses@google.com>
43243         [BZ #15846]
43244         * misc/getauxval.c: Include errno.h.
43245         (__getauxval): Set errno to ENOENT if the requested type is not
43246         found.
43247         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43248         don't declare with __attribute_const__.
43249         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43250         * manual/startup.texi: Document that getauxval sets errno.
43252 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43254         * math/auto-libm-test-in: Add tests of jn and yn.
43255         * math/auto-libm-test-out: Regenerated.
43256         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43257         (yn_test_data): Likewise.
43258         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43259         mpfr_if_f.
43260         (func_calc_desc): Add mpfr_if_f union field.
43261         (FUNC_mpfr_if_f): New macro.
43262         (test_functions): Add jn and yn.
43263         (calc_generic_results): Assert type of second input for
43264         mpfr_ff_f.  Handle mpfr_if_f.
43265         (output_for_one_input_case): Disable all checking for arguments
43266         fitting floating-point types in case of an integer argument.
43267         * sysdeps/i386/fpu/libm-test-ulps: Update.
43268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43271         Don't expect fegetround reference in libm.so.
43273 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43275         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43276         $(config-cflags-nofma).
43278 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43280         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43281         * math/auto-libm-test-out: Regenerated.
43283         [BZ #16338]
43284         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43285         to determine exponent and adjust argument to have exponent of -1.
43286         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43287         log2.
43288         * math/auto-libm-test-out: Regenerated.
43289         * sysdeps/i386/fpu/libm-test-ulps: Update.
43290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43292 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43294         * manual/probes.texi: Remove cases when per-thread arenas are
43295         disabled.
43297 2013-12-18  Andreas Schwab  <schwab@suse.de>
43299         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43300         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43301         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43302         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43303         * sysdeps/i386/i686/multiarch/Makefile: Update.
43304         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43306 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43308         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43309         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43311 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43313         [BZ #15968]
43314         Support TZ transition times < 00:00:00.
43315         This is needed for version-3 tz-format files; it supports time
43316         stamps past 2037 for America/Godthab (the only entry in the tz
43317         database for which this change is relevant).
43318         * manual/time.texi (TZ Variable): Document transition times
43319         from -167:59:59 through -00:00:01.
43320         * time/tzset.c (tz_rule): Time of day is now signed.
43321         (__tzset_parse_tz): Parse negative time of day.
43323         Document TZ transition times >= 25:00:00.
43324         * manual/time.texi (TZ Variable): Document transition times from
43325         25:00:00 through 167:59:59.  These are already supported, and this
43326         support will help with version-3 tz-format files.
43328         * manual/time.texi (TZ Variable): Modernize North America example
43329         to reflect current (i.e., 2007-and-later) daylight saving rules.
43331         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43333 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43335         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43336         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43337         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43338         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43339         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43340         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43341         * sysdeps/unix/bsd/clock.c: Likewise.
43342         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43343         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43344         * sysdeps/unix/bsd/init-posix.c: Likewise.
43345         * sysdeps/unix/bsd/poll.c: Likewise.
43346         * sysdeps/unix/bsd/ptsname.c: Likewise.
43347         * sysdeps/unix/bsd/seekdir.c: Likewise.
43348         * sysdeps/unix/bsd/setegid.c: Likewise.
43349         * sysdeps/unix/bsd/seteuid.c: Likewise.
43350         * sysdeps/unix/bsd/setgid.c: Likewise.
43351         * sysdeps/unix/bsd/setrgid.c: Likewise.
43352         * sysdeps/unix/bsd/setruid.c: Likewise.
43353         * sysdeps/unix/bsd/setsid.c: Likewise.
43354         * sysdeps/unix/bsd/setuid.c: Likewise.
43355         * sysdeps/unix/bsd/sigaction.c: Likewise.
43356         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43357         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43358         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43359         * sysdeps/unix/bsd/telldir.c: Likewise.
43360         * sysdeps/unix/bsd/times.c: Likewise.
43361         * sysdeps/unix/bsd/usleep.c: Likewise.
43363         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43364         ($(objpfx)libbsd-compat.a): Remove rule.
43366         * include/features.h (__FAVOR_BSD): Do not define.
43367         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43368         features conflicting with POSIX.
43369         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43370         (_BSD_SOURCE): Remove description of not being a subset of other
43371         feature test macros.
43372         * manual/job.texi (getpgrp): Do not document BSD version.
43373         (getpgid): Do not document by reference to BSD getpgrp.
43374         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43375         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43376         * signal/signal.h [__FAVOR_BSD]: Likewise.
43377         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43378         instead of making contents conditional on [__FAVOR_BSD].
43379         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43381 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43385 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43387         [BZ #16314]
43388         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43389         values below 2**-450, not 2**-500.
43390         * math/auto-libm-test-in: Don't allow spurious underflow from
43391         hypot.
43392         * math/auto-libm-test-out: Regenerated.
43394         [BZ #16316]
43395         [BZ #16330]
43396         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43397         values of ha and hb and sort them after adjusting subnormal
43398         arguments.
43399         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43400         Likewise.
43401         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43402         values of ea and eb and sort them after adjusting subnormal
43403         arguments.
43404         * math/auto-libm-test-in: Do not expect some hypot tests of
43405         subnormals to fail.  Add more hypot tests.
43406         * math/auto-libm-test-out: Regenerated.
43408 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43410         [BZ #13304]
43411         * sysdeps/sh/s_fma.c: New file.
43412         * sysdeps/sh/s_fmaf.c: New file.
43413         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43414         version.
43415         * sysdeps/sh/Implies: Add sh/soft-fp.
43417 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43419         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43420         level of indirection to members `objname', `errstring', `malloced'.
43421         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43422         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43423         it as the __longjmp argument (just pass 1 instead).
43424         (_dl_catch_error): Initialize C with argument pointers and address of
43425         volatile local ERRCODE rather than copying values out of C at return.
43427 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43429         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43430         * math/auto-libm-test-out: Regenerated.
43431         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43432         (hypot_test_data): Likewise.
43433         (pow_test_data): Likewise.
43434         (pow_tonearest_test_data): Likewise.
43435         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43436         mpfr_ff_f.
43437         (func_calc_desc): Add mpfr_ff_f union field.
43438         (FUNC_mpfr_ff_f): New macro.
43439         (test_functions): Add atan2, hypot and pow.
43440         (special_fill_min): New function.
43441         (special_fill_minus_min): Likewise.
43442         (special_fill_min_subnorm): Likewise.
43443         (special_fill_minus_min_subnorm): Likewise.
43444         (special_real_inputs): Add min, -min, min_subnorm and
43445         -min_subnorm.
43446         (calc_generic_results): Handle mpfr_ff_f.
43447         * sysdeps/i386/fpu/libm-test-ulps: Update.
43448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43450 2013-12-16  Will Newton  <will.newton@linaro.org>
43452         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43453         (Aligned Memory Blocks): Add documentation for aligned_alloc
43454         and suggest it as an alternative to posix_memalign.
43455         (Hooks for Malloc): Document __memalign_hook is also called
43456         for aligned_alloc.  (Summary of Malloc): Add summary for
43457         aligned alloc.  Document __memalign_hook is also called
43458         for aligned_alloc.
43460 2013-12-16  Will Newton  <will.newton@linaro.org>
43462         * manual/memory.texi (Malloc Examples): Clarify default
43463         alignment documentation.  Suggest posix_memalign rather
43464         than memalign or valloc.
43465         (Aligned Memory Blocks): Remove suggestion to use memalign
43466         or valloc.  Remove obsolete comment about BSD.
43467         Document memalign errno values and mark the function obsolete.
43468         Document posix_memalign returned error codes.  Mark valloc
43469         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43470         called for posix_memalign and valloc.
43471         (Summary of Malloc): Add posix_memalign to function summary.
43472         __memalign_hook is also called for posix_memalign and valloc.
43474 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43476         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43477         TAYLOR_SIN.
43478         (__sin): Adjust.
43479         (__cos): Likewise.
43480         (sloww): Use mynumber union.  Expand ternary operator into
43481         if-else statements.
43482         (cslow): use mynumber union.
43484 2013-12-16  Allan McRae  <allan@archlinux.org>
43486         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43487         * configure: Regenerated.
43489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43491         [BZ #14120]
43492         * configure.ac: Added --enable-maintainer-mode. Check for
43493         autoconf when enabled.
43494         * configure: Regenerated.
43496         * nscd/nscd.service: New file.
43497         * nscd/nscd.tmpfiles: New file.
43499 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43501         [BZ #12100]
43502         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43503         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43504         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43505         (strstr): Add __strstr_sse2_unaligned ifunc.
43506         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43507         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43508         (strcasestr): Remove __strcasestr_sse42 ifunc.
43509         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43513 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43515         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43516         * sysdeps/sh/bits/fenv.h: ... here.
43517         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43519 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43521         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43524         hypotf multiarch implementations.
43525         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43526         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43527         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43528         multiarch hypot for PPC64.
43529         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43530         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43531         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43532         multiarch hypotf for PPC64.
43534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43535         modff multiarch implementations.
43536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43539         multiarch modf for PPC64.
43540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43543         multiarch modff for PPC64.
43545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43546         and logl multiarch implementations.
43547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43550         multiarch logb for PPC64.
43551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43554         multiarch logb for PPC64.
43555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43558         multiarch logb for PPC64.
43560         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43561         isinff multiarch implementation.
43562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43563         file.
43564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43566         multiarch isinf for PPC64.
43567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43568         file.
43569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43570         multiarch isinff for PPC64.
43572         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
43573         finitef multiarch implementation.
43574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
43575         file.
43576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
43577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
43578         multiarch finite for PPC64.
43579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
43580         file.
43581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
43582         multiarch finitef for PPC64.
43584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
43585         lrint multiarch implementation.
43586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
43587         file.
43588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
43589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
43590         multiarch llrint for PPC64.
43591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
43592         multiarch lrint for PPC64.
43594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
43595         copysignf multiarch implementation.
43596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
43597         file.
43598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
43599         file.
43600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
43601         multiarch copysign for PPC64.
43602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
43603         multiarch copysignf for PPC64.
43605         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
43606         multiarch implementation.
43607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
43608         file.
43609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
43610         file.
43611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
43612         file.
43613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
43614         file.
43615         multiarch llround for PPC64.
43616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
43617         multiarch trunc for PPC64.
43618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
43619         multiarch truncf for PPC64.
43621         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
43622         multiarch implementation.
43623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
43624         file.
43625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
43626         file.
43627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
43628         file.
43629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
43630         file.
43631         multiarch llround for PPC64.
43632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
43633         multiarch round for PPC64.
43634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
43635         multiarch roundf for PPC64.
43637         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
43638         multiarch implementation.
43639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
43640         file.
43641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
43642         file.
43643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
43644         file.
43645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
43646         file.
43647         multiarch llround for PPC64.
43648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
43649         multiarch floor for PPC64.
43650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
43651         multiarch floorf for PPC64.
43653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
43654         multiarch implementation.
43655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
43656         file.
43657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
43658         file.
43659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
43660         file.
43661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
43662         file.
43663         multiarch llround for PPC64.
43664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
43665         multiarch ceil for PPC64.
43666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
43667         multiarch ceilf for PPC64.
43669         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43670         multiarch implementation.
43671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
43672         file.
43673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
43674         file.
43675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
43676         file.
43677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
43678         multiarch llround for PPC64.
43679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
43680         multiarch lround for PPC64.
43682         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43683         multiarch implementation.
43684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
43685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
43686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
43687         file.
43688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
43689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
43690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
43691         multiarch isnan for PPC64.
43692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
43693         multiarch isnanf for PPC64.
43695         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
43696         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
43697         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
43698         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
43699         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
43700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
43702         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
43703         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43704         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43705         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
43708         multiarch implementations.
43709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43710         (__libc_ifunc_impl_list): Likewise.
43711         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
43712         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
43713         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
43714         multiarch stpcpy for PPC64.
43716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
43717         multiarch implementations.
43718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43719         (__libc_ifunc_impl_list): Likewise.
43720         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
43721         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
43722         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
43723         multiarch strcpy for PPC64.
43725         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
43726         redefine function name.
43727         (_wordcopy_fwd_dest_aligned): Likewise.
43728         (_wordcopy_bwd_aligned): Likewise.
43729         (_wordcopy_bwd_dest_aligned): Likewise.
43730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
43731         multiarch implementations.
43732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43733         (__libc_ifunc_impl_list): Likewise.
43734         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
43735         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
43736         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
43737         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
43738         multiarch wcscpy for PPC64.
43740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
43741         multiarch implementations.
43742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43743         (__libc_ifunc_impl_list): Likewise.
43744         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
43745         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
43746         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
43747         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
43748         multiarch wcscpy for PPC64.
43750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
43751         multiarch implementations.
43752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43753         (__libc_ifunc_impl_list): Likewise.
43754         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
43755         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
43756         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
43757         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43758         multiarch wcsrchr for PPC64.
43760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43761         multiarch implementations.
43762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43763         (__libc_ifunc_impl_list): Likewise.
43764         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43765         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43766         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43767         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43768         multiarch wcschr for PPC64.
43770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43771         multiarch implementations.
43772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43773         (__libc_ifunc_impl_list): Likewise.
43774         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43775         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43776         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43777         multiarch strchrnul for PPC64.
43779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43780         implementations.
43781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43782         (__libc_ifunc_impl_list): Likewise.
43783         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43784         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43785         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43786         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43787         strchr for PPC64.
43789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43790         implementations.
43791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43792         (__libc_ifunc_impl_list): Likewise.
43793         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43794         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43795         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43796         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43797         strncmp for PPC64.
43799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43800         multiarch implementations.
43801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43802         (__libc_ifunc_impl_list): Likewise.
43803         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43804         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43805         strncasecmp for PPC64.
43806         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43807         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43808         multiarch strncasecmp_l for PPC64.
43810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43811         multiarch implementations.
43812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43813         (__libc_ifunc_impl_list): Likewise.
43814         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43815         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43816         multiarch strcasecmp for PPC64.
43817         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43818         file.
43819         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43820         multiarch strcasecmp_l for PPC64.
43822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43823         implementations.
43824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43825         (__libc_ifunc_impl_list): Likewise.
43826         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43827         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43828         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43829         strnlen for PPC64.
43831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43832         implementations.
43833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43834         (__libc_ifunc_impl_list): Likewise.
43835         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43836         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43837         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43838         strlen for PPC64.
43840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43841         implementations.
43842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43843         (__libc_ifunc_impl_list): Likewise.
43844         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43845         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43846         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43847         rawmemrchr for PPC64.
43849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43850         implementation.
43851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43852         (__libc_ifunc_impl_list): Likewise.
43853         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43854         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43855         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43856         memrchr for PPC64.
43858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43859         implementation.
43860         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43861         (__libc_ifunc_impl_list): Likewise.
43862         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43863         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43864         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43865         memchr for PPC64.
43867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43868         implementation.
43869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43870         (__libc_ifunc_impl_list): Likewise.
43871         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43872         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43873         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43874         mempcpy for PPC64.
43876         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43877         avoid cretion of __bzero symbol.
43878         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43879         Likewise.
43880         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43881         Likewise.
43882         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43883         Likewise.
43884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43885         multiarch implementations.
43886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43887         (__libc_ifunc_impl_list): Likewise.
43888         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43889         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43890         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43891         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43892         bzero for PPC32.
43893         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43894         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43895         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43896         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43897         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43898         memset for PPC64.
43899         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43901         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43903         implementations.
43904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43905         (__libc_ifunc_impl_list): Likewise.
43906         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43907         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43908         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43909         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43910         memcmp for PPC64.
43912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43913         multiarch for POWER/PPC64.
43914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43915         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43916         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43917         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43918         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43919         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43920         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43921         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43922         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43923         memcpy for PPC64.
43925         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43926         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43927         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43928         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43929         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43930         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43931         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43932         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43933         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43934         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43935         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43936         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43937         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43938         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43939         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43948 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43950         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43952 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43954         * benchtests/Makefile (bench): Add exp2 and log2.
43955         (LDLIBS-bench-exp2): Add -lm.
43956         (LDLIBS-bench-log2): Likewise.
43957         * benchtests/exp2-inputs: New inputs file.
43958         * benchtests/log2-inputs: New inputs file.
43959         * benchtests/log-inputs: Add new inputs.
43960         * benchtests/tan-inputs: Likewise.
43962 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43964         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43965         definition...
43966         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43967         (csloww2): ... from here.
43969         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43970         instead of structures.
43971         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43972         (POLYNOMIAL): Likewise.
43973         (TAYLOR_SLOW): Likewise.
43974         (__sin): Likewise.
43975         (__cos): Likewise.
43976         (slow1): Likewise.
43977         (slow2): Likewise.
43978         (sloww): Likewise.
43979         (sloww1); Likewise.
43980         (sloww2): Likewise.
43981         (bsloww1): Likewise.
43982         (bsloww2): Likewise.
43983         (cslow2): Likewise.
43984         (csloww): Likewise.
43985         (csloww1): Likewise.
43986         (csloww2): Likewise.
43988 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43990         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43991         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43992         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43993         * malloc/hooks.c (realloc_check): Likewise.
43995         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43996         * malloc/arena.c: Remove PER_THREAD conditional.
43997         [!PER_THREAD]: Remove code.
43998         (ptmalloc_unlock_all2): Likewise.
43999         (ptmalloc_init): Likewise.
44000         (_int_new_arena): Likewise.
44001         (arena_get2): Likewise.
44002         * malloc/hooks.c (__malloc_get_state): Likewise.
44003         (__malloc_set_state): Likewise.
44004         * malloc/malloc.c: Likewise.
44005         (struct malloc_state): Likewise.
44006         (struct malloc_par): Likewise.
44007         (__libc_realloc): Likewise.
44008         (__libc_mallopt): Likewise.
44010 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44012         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44014 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44016         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44017         macro to a function.  Check for zero perturb_byte.
44018         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44020         * malloc/malloc.c: (force_reg): Remove.
44021         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44022         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44023         force_reg by atomic_forced_read.
44024         * malloc/arena.c (ptmalloc_init): Likewise.
44025         * malloc/hooks.c (top_check): Likewise.
44027 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44031 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44035 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44037         * math/auto-libm-test-in: Add tests of lgamma.
44038         * math/auto-libm-test-out: Regenerated.
44039         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44040         (M_LOG_2_SQRT_PIl): Likewise.
44041         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44042         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44043         mpfr_f_f1.
44044         (func_calc_desc): Add mpfr_f_f1 union field.
44045         (ARGS1): New macro.
44046         (ARGS2): Likewise.
44047         (ARGS3): Likewise.
44048         (ARGS4): Likewise.
44049         (RET1): Likewise.
44050         (RET2): Likewise.
44051         (CALC): Likewise.
44052         (FUNC): Likewise.
44053         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44054         (test_functions): Add lgamma.
44055         (calc_generic_results): Handle mpfr_f_f1.
44056         * sysdeps/i386/fpu/libm-test-ulps: Update.
44057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44059 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44061         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44062         __mpn_add_n for PowerPC64/POWER7.
44063         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44064         __mpn_sub_n for PowerPC64/POWER7.
44066         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44067         __mpn_addmul_1 for PowerPC64.
44068         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44069         __mpn_submul_1 for PowerPC64.
44070         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44071         for PowerPC64.
44072         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44073         for PowerPC64.
44075 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44077         [BZ #15089]
44078         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44080 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44082         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44084         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44085         add multiarch folders.
44086         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44087         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44088         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44089         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44090         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44091         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44092         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44093         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44094         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44095         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44096         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44105         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44107         New file.
44108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44109         New file.
44110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44111         multiarch __ieee754_hypot for PowerPC32.
44112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44113         New file.
44114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44115         New file.
44116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44117         multiarch __ieee754_hypotf for PowerPC32.
44119         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44120         long_double_symbol only if __logbl is defined.
44121         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44122         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44123         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44124         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44125         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44126         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44127         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44128         path for implementation.
44129         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44130         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44132         logb, and logbl multiarch implementations for PowerPC32.
44133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44134         file.
44135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44136         file.
44137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44138         multiarch logb for PowerPC32.
44139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44140         file.
44141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44142         file.
44143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44144         multiarch logbf for PowerPC32.
44145         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44147         file.
44148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44149         multiarch logbl implementation for PowerPC32.
44151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44152         and modff multiarch implementations.
44153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44154         New file.
44155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44156         New file.
44157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44158         multiarch modf for PowerPC32.
44159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44160         New file.
44161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44162         New file.
44163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44164         multiarch modff for PowerPC32.
44166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44167         and lrintf multiarch implementations.
44168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44169         New file.
44170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44171         New file.
44172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44173         multiarch lrint for PowerPC32.
44174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44175         file: multiarch lrintf for PowerPC32.
44177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44178         and lroundf multiarch implementations.
44179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44180         New file.
44181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44182         New file.
44183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44184         New file.
44185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44186         multiarch lround for PowerPC32.
44187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44188         file: multiarch lroundf for PowerPC32.
44190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44191         copysign and copysignf multiarch implementations.
44192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44193         New file.
44194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44195         New file.
44196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44197         file: multiarch copysign for PowerPC32.
44198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44199         file: multiarch copysignf for PowerPC32.
44201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44202         and truncf multiarch implementations.
44203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44204         New file.
44205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44206         file.
44207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44208         multiarch trunc for PowerPC32.
44209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44210         New file.
44211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44212         New file.
44213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44214         multiarch truncf for PowerPC32.
44216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44217         and roundf multiarch implementations.
44218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44219         New file.
44220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44221         file.
44222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44223         multiarch round for PowerPC32.
44224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44225         New file.
44226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44227         New file.
44228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44229         multiarch roundf for PowerPC32.
44231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44232         and floorf multiarch implementations.
44233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44234         New file.
44235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44236         file.
44237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44238         multiarch floor for PowerPC32.
44239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44240         New file.
44241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44242         New file.
44243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44244         multiarch floorf for PowerPC32.
44246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44247         and ceilf multiarch implementations.
44248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44249         New file.
44250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44251         file.
44252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44253         multiarch ceil for PowerPC32.
44254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44255         New file.
44256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44257         file.
44258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44259         multiarch ceilf for PowerPC32.
44261         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44262         is defined.
44263         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44264         FINITEF is defined.
44265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44266         and finitef multiarch implementations.
44267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44268         New file.
44269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44270         file.
44271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44272         multiarch finite for PowerPC32.
44273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44274         New file.
44275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44276         file: multiarch finitef for PowerPC32.
44278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44279         and isinff multiarch implementations.
44280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44281         file.
44282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44283         file.
44284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44285         multiarch isinf for PowerPC32.
44286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44287         New file.
44288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44289         multiarch isinff for PowerPC32.
44291         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44292         alias when __isnan is defined.
44293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44294         and isnanf multiarch implementations.
44295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44296         file.
44297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44298         file.
44299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44300         file.
44301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44302         file.
44303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44304         multiarch isnan for PowerPC32.
44305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44306         New file.
44307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44308         New file.
44309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44310         multiarch isnanf for PowerPC32.
44312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44313         and sqrtf multiarch implementations.
44314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44315         file.
44316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44317         file.
44318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44319         multiarch sqrt for PowerPC32.
44320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44321         file.
44322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44323         file.
44324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44325         multiarch sqrtf for PowerPC32.
44327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44328         and llroundf multiarch implementations.
44329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44330         New file.
44331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44332         New file.
44333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44334         New file.
44335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44336         file: multiarch llround for PowerPC32.
44337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44338         file: multiarch llroundf for PowerPC32.
44340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44341         multiarch PowerPC32 fpu implementations.
44342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44343         New file.
44344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44345         New file.
44346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44347         multiarch llrint for PowerPC32.
44348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44349         New file.
44350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44351         New file.
44352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44353         file.
44355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44357         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44358         file.
44359         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44360         file.
44361         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44362         file.
44363         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44364         multiarch wordcopy for PPC32.
44365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44366         wordcopy objects.
44367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44368         (__libc_ifunc_impl_list): Likewise.
44369         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44370         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44371         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44372         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44373         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44374         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44376         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44378         file.
44379         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44380         file.
44381         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44382         file.
44383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44384         multiarch wcscpy for PPC32.
44385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44386         multiarch objects.
44387         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44388         (__libc_ifunc_impl_list): Likewise.
44389         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44390         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44391         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44392         sysdeps/powerpc/power6/wcscpy.c.
44394         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44395         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44396         file.
44397         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44398         file.
44399         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44400         file.
44401         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44402         multiarch wcsrchr for PPC32.
44403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44404         multiarch objects.
44405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44406         (__libc_ifunc_impl_list): Likewise.
44407         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44408         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44409         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44410         sysdeps/powerpc/power6/wcsrchr.c.
44412         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44413         file.
44414         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44415         file.
44416         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44417         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44418         multiarch wcschr for PPc32.
44419         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44420         multiarch objects.
44421         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44422         (__libc_ifunc_impl_list): Likewise.
44423         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44424         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44425         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44426         sysdeps/powerpc/power6/wcschr.c.
44428         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44429         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44430         file.
44431         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44432         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44433         file: multiarch strchr for PPC32.
44434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44435         multiarch objects.
44436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44437         (__libc_ifunc_impl_list): Likewise.
44439         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44440         name.
44441         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44442         file.
44443         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44444         file.
44445         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44446         multiarch strchrnul for PPC32.
44447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44448         multiarch objects.
44449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44450         (__libc_ifunc_impl_list): Likewise.
44452         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44453         file.
44454         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44455         multiarch strncasecmp for PPC32.
44456         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44457         file.
44458         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44459         multiarch strncasecmp_l for PPC32.
44460         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44461         strncasecmp multiarch objects.
44462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44463         (__libc_ifunc_impl_list): Likewise.
44465         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44466         file.
44467         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44468         multiarch strncasecmp for PPC32.
44469         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44470         New file.
44471         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44472         multiarch strcasecmp_l for PPC32.
44473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44474         multiarch objects.
44475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44476         (__libc_ifunc_impl_list): Likewise.
44478         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44479         file.
44480         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44481         file.
44482         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44483         multiarch strncmp for PPC32.
44484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44485         multiarch objects.
44486         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44487         (__libc_ifunc_impl_list): Likewise.
44489         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44490         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44491         file.
44492         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44493         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44495         multiarch objects.
44496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44497         (__libc_ifunc_impl_list): Likewise.
44499         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44500         file.
44501         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44502         file.
44503         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44505         multiarch objects.
44506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44507         (__libc_ifunc_impl_list): Likewise.
44509         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44510         file.
44511         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44512         file.
44513         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44514         multiarch rawmemchr for PPC32.
44515         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44516         multiarch objects.
44517         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44518         (__libc_ifunc_impl_list): Likewise.
44520         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44521         file.
44522         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44523         file.
44524         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44525         file: memrchr multiarch for PPC32.
44526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44527         multiarch objects.
44528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44529         (__libc_ifunc_impl_list): Likewise.
44531         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44532         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44533         file.
44534         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44535         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44536         multiarch memchr for PPC32.
44537         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44538         multiarch objects.
44539         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44540         (__libc_ifunc_impl_list): Likewise.
44542         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44543         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44544         file.
44545         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44546         file.
44547         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44548         file: multiarch mempcpy for PPC32.
44549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44550         multiarch objects.
44551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44552         (__libc_ifunc_impl_list): Likewise.
44554         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44555         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44556         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44557         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44558         multiarch bzero for PPC32.
44559         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44560         file.
44561         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44562         file.
44563         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44564         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44565         file: multiarch memset for PPC32.
44566         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44567         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44568         memset multiarch objects.
44569         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44570         (__libc_ifunc_impl_list): Likewise.
44572         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
44573         file.
44574         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
44575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
44576         memcmp for PPC32.
44577         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
44578         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
44579         multiarch objects.
44580         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44581         (__libc_ifunc_impl_list): Likewise.
44583         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
44584         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
44585         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
44586         file.
44587         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
44588         file.
44589         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
44590         file.
44591         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
44592         multiarch memcpy for PPC32.
44593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
44594         multiarch objects.
44595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44596         (__libc_ifunc_impl_list): Likewise.
44598         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
44599         support multiarch for POWER/PPC32.
44600         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
44601         Likewise.
44602         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
44603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
44604         Implies file to make multiarch folder appers before the fpu and
44605         default folder for power4 configuration.
44607 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44609         * scripts/bench.pl: Append volatile keyword to type.
44611 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44613         * sysdeps/sh/sotruss-lib.c: New file.
44614         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
44616 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44620 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
44622         [BZ #6810]
44623         * math/w_tgamma.c: Include <errno.h>.
44624         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
44625         * math/w_tgammaf.c: Include <errno.h>.
44626         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
44627         * math/w_tgammal.c: Include <errno.h>.
44628         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
44629         * math/auto-libm-test-in: Do not allow missing errno on tgamma
44630         underflow.  Add more tgamma tests.
44631         * math/auto-libm-test-out: Regenerated.
44632         * sysdeps/i386/fpu/libm-test-ulps: Update.
44633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44635         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
44636         sin, sinh, tan, tanh, tgamma, y0 and y1.
44637         * math/auto-libm-test-out: Regenerated.
44638         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44639         (TEST_COND_x86): Likewise.
44640         (M_E2l): Remove macro.
44641         (M_E3l): Likewise.
44642         (M_2_SQRT_PIl): Likewise.
44643         (M_SQRT_PIl): Likewise.
44644         (M_1_DIV_El): Likewise.
44645         (log_test_data): Use AUTO_TESTS_f_f.
44646         (log10_test_data): Likewise.
44647         (log1p_test_data): Likewise.
44648         (log2_test_data): Likewise.
44649         (sin_test_data): Likewise.
44650         (sin_tonearest_test_data): Likewise.
44651         (sin_towardzero_test_data): Likewise.
44652         (sin_downward_test_data): Likewise.
44653         (sin_upward_test_data): Likewise.
44654         (sinh_test_data): Likewise.
44655         (sinh_tonearest_test_data): Likewise.
44656         (sinh_towardzero_test_data): Likewise.
44657         (sinh_downward_test_data): Likewise.
44658         (sinh_upward_test_data): Likewise.
44659         (tan_test_data): Likewise.
44660         (tan_tonearest_test_data): Likewise.
44661         (tan_towardzero_test_data): Likewise.
44662         (tan_downward_test_data): Likewise.
44663         (tan_upward_test_data): Likewise.
44664         (tanh_test_data): Likewise.
44665         (tgamma_test_data): Likewise.
44666         (y0_test_data): Likewise.
44667         (y1_test_data): Likewise.
44668         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
44669         (special_real_inputs): Add pi/4.
44670         * sysdeps/i386/fpu/libm-test-ulps: Update.
44671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44673 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44675         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
44676         "longjmp_target" static probes.
44677         (__longjmp): Rename to __longjmp_symbol.
44678         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44679         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
44680         on which longjmp to generate.
44681         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44682         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
44683         probe.
44684         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44685         (__sigjmp_save): Rename to __sigjmp_save_symbol.
44686         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
44687         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
44688         and __sigjmp_save_symbol based on which sigsetjmp to generated.
44689         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
44691         __longjmp_symbol based on which __longjmp to generate.
44692         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
44693         probe.
44694         (setjmp): Rename to setjmp_symbol.
44695         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44696         (_setjmp): Rename to _setjmp_symbol.
44697         (__sigsetjmp): Rename to __sigsetjmp_symbol.
44698         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
44699         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
44700         which setjmp to generate.
44701         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
44702         "longjmp_target" static probes.
44704 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44706         * benchtests/README: Add note about output arguments.
44707         * benchtests/bench-sincos.c: Remove file.
44708         * benchtests/sincos-inputs: New file.
44709         * scripts/bench.pl: Identify output arguments and define
44710         static variables for them.
44712         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
44714         [BZ #15941]
44715         * Makefile (INSTALL): Add install-plain.texi as the primary
44716         dependency.
44717         * manual/install-plain.texi: New file.
44718         * manual/install.texi: Include node directive only for
44719         non-plaintext output.
44721 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
44723         * stdlib/longlong.h: Update from GCC.
44725         [BZ #6807]
44726         [BZ #15901]
44727         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
44728         * math/w_j0f.c (y0f): Likewise.
44729         * math/w_j0l.c (__y0l): Likewise.
44730         * math/w_j1.c (y1): Likewise.
44731         * math/w_j1f.c (y1f): Likewise.
44732         * math/w_j1l.c (__y1l): Likewise.
44733         * math/w_jn.c (yn): Likewise.
44734         * math/w_jnf.c (ynf): Likewise.
44735         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
44736         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
44737         value for Bessel function domain errors outside _SVID_ mode.
44738         Adjust sign of return value for yn (negative integer, 0).
44739         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
44740         by zero in return for negative x and set sign appropriately for
44741         negative n.
44742         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
44743         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44744         * math/libm-test.inc (y0_test_data): Add more tests and adjust
44745         expectations in error cases.
44746         (y1_test_data): Likewise.
44747         (yn_test_data): Likewise.
44748         * sysdeps/i386/fpu/libm-test-ulps: Update.
44749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44751 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44753         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
44754         "64" to "64-v1".  Add "64-v2".
44755         (abi-64-options): Rename to ...
44756         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
44757         (abi-64-condition): Rename to ...
44758         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44759         (abi-64-ld-soname): Rename to ...
44760         (abi-64-v1-ld-soname): ... this.
44761         (abi-64-v2-options): Define.
44762         (abi-64-v2-condition): Likewise.
44763         (abi-64-v2-ld-soname): Likewise.
44764         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44765         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44770 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44771             Alan Modra  <amodra@gmail.com>
44773         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44774         New versions for use with the ELFv2 ABI.
44775         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44776         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44777         declaration.
44778         (struct La_ppc64v2_retval): Likewise.
44779         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44780         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44781         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44782         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44783         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44784         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44785         Do not save or restore CR.
44786         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44787         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44788         return values for ELFv2 ABI.  Fix location of FPR return registers.
44789         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44790         updated values for _CALL_ELF == 2.
44791         (La_regs, La_retval, int_retval): Likewise.
44793 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44795         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44796         (FRAME_MIN_SIZE_PARM): Likewise.
44797         (FRAME_BACKCHAIN): Likewise.
44798         (FRAME_CR_SAVE): Likewise.
44799         (FRAME_LR_SAVE): Likewise.
44800         (FRAME_TOC_SAVE): Likewise.
44801         (FRAME_PARM_SAVE): Likewise.
44802         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44803         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44804         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44805         (call_mcount_parm_offset): New macro.
44806         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44807         (PROF): Use symbolic stack frame offsets.
44808         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44809         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44810         Redefine in terms of FRAME_MIN_SIZE.
44811         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44812         (_dl_profile_resolve): Likewise.  Update comment.
44813         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44814         symbols stack frame offsets.
44815         (__sigsetjmp): Likewise.
44816         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44817         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44818         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44819         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44822         (FRAME_BACKCHAIN): Remove.
44823         (FRAME_CR_SAVE): Likewise.
44824         (FRAME_LR_SAVE): Likewise.
44825         (FRAME_COMPILER_DW): Likewise.
44826         (FRAME_LINKER_DW): Likewise.
44827         (FRAME_TOC_SAVE): Likewise.
44828         (FRAME_PARM_SAVE): Likewise.
44829         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44830         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44831         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44833         (CHECK_SP): Use symbolic stack frame offsets.
44834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44835         zone" instead of caller's parameter save area for temp storage.
44836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44837         Likewise.  Also, use symbolic stack frame offsets.
44838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44839         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44840         our own stack frame instead of the caller's.
44841         (__socket): Use symbolic stack frame offsets.
44843 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44844             Alan Modra  <amodra@gmail.com>
44846         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44847         Define.
44848         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44849         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44850         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44851         New function.
44852         (elf_machine_fixup_plt): Call it.
44853         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44854         reloc arguments.
44855         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44856         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44857         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44858         r2 before calling target.
44860 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44861             Alan Modra  <amodra@gmail.com>
44863         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44864         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44865         versions of macros to support ELFv2 ABI.
44866         (LOCALENTRY): New macro.
44867         (ENTRY, EALIGN): Use it.
44868         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44869         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44870         fall through into ENTRY entry point.
44871         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44872         Only define if _CALL_ELF != 2.
44874         (elf_machine_matches_host): Verify ABI version matches.
44875         (RTLD_START): Use LOCALENTRY.
44876         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44877         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44878         (PLT_ENTRY_WORDS): New macro.
44879         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44880         (elf_machine_runtime_setup): Support ELFv2 ABI.
44881         (elf_machine_fixup_plt): Likewise.
44882         (elf_machine_plt_conflict): Likewise.
44883         (resolve_ifunc): Likewise.
44884         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44885         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44886         Likewise.
44887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44888         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44890         (makecontext): Support ELFv2 ABI.
44891         * elf/elf.h (EF_PPC64_ABI): Define.
44893 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44895         * sysdeps/powerpc/powerpc64/sysdep.h
44896         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44897         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44898         (ENTRY) [ASSEMBLER]: ... but instead here ...
44899         (EALIGN) [ASSEMBLER]: ... and here.
44900         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44901         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44902         (ENTRY_2) [!ASSEMBLER]: Use it.
44903         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44904         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44905         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44906         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44907         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44909         Use PPC64_LOAD_FUNCPTR.
44911         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44913 2013-12-04  Alan Modra  <amodra@gmail.com>
44915         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44916         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44917         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44918         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44920         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44921         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44922         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44923         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44924         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44925         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44927 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44930         (__makecontext): Fix incorrect CFI when backtracing out of
44931         context created via makecontext.
44932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44933         (__setcontext): Fix incorrect CFI during switch to new context.
44934         (__novec_setcontext): Likewise.
44936 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44938         [BZ #4772]
44939         * time/strptime_l.c (__strptime_internal): Allow modifiers
44940         in strptime.
44941         * time/tst-strptime.c (day_tests): Add testcase.
44943 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44945         * scripts/bench.pl: Skip over blank lines.
44947 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44949         [BZ #926]
44950         * manual/time.texi (Calendar Time): Clarify what timezone functions
44951         use.
44953 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44957 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44959         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44960         implementation.
44961         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44962         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44963         * debug/memset_chk.c (__memset_chk): Likewise.
44964         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44965         * debug/strncpy_chk.c: Likewise.
44967 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44969         [BZ #15268]
44970         [BZ #15425]
44971         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44972         (__ieee754_exp): For possibly underflowing results, check size of
44973         result and force underflow exception if required.
44974         * math/auto-libm-test-in: Add more tests of exp.
44975         * math/auto-libm-test-out: Regenerated.
44976         * sysdeps/i386/fpu/libm-test-ulps: Update.
44977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44979         [BZ #16283]
44980         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44981         * math/w_exp2f.c (__exp2f): Likewise.
44982         * math/w_exp2l.c (__exp2l): Likewise.
44983         * math/auto-libm-test-in: Do not allow missing errno on exp2
44984         underflow.
44985         * math/auto-libm-test-out: Regenerated.
44987 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44989         [BZ #16274]
44990         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44991         handle filename validation.
44992         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44993         (do_open): Delete.
44995 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44997         [BZ #6786]
44998         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44999         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45000         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45001         <float.h>.
45002         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45003         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45004         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45005         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45006         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45007         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45008         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45009         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45010         Add more erfc tests.
45011         * math/auto-libm-test-out: Regenerated.
45012         * sysdeps/i386/fpu/libm-test-ulps: Update.
45013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45015         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45016         exp2, expm1, j0 and j1.
45017         * math/auto-libm-test-out: Regenerated.
45018         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45019         (erfc_test_data): Likewise.
45020         (exp_test_data): Likewise.
45021         (exp_tonearest_test_data): Likewise.
45022         (exp_towardzero_test_data): Likewise.
45023         (exp_downward_test_data): Likewise.
45024         (exp_upward_test_data): Likewise.
45025         (exp10_test_data): Likewise.
45026         (exp2_test_data): Likewise.
45027         (expm1_test_data): Likewise.
45028         (j0_test_data): Likewise.
45029         (j1_test_data): Likewise.
45030         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45031         (input_flag_type): Add flag_xfail_rounding.
45032         (input_flags): Add xfail-rounding.
45033         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45034         (output_for_one_input_case): Handle flag_xfail_rounding.
45035         * sysdeps/i386/fpu/libm-test-ulps: Update.
45036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45038 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45040         [BZ #16289]
45041         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45042         division by 0.
45044 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45046         [BZ #16195]
45047         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45048         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45049         (STAP_PROBE0): New macro.
45050         (STAP_PROBE1): Likewise.
45051         (STAP_PROBE2): Likewise.
45052         (STAP_PROBE3): Likewise.
45053         (STAP_PROBE4): Likewise.
45055 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45057         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45059 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45061         * benchtests/Makefile (bench): Add sqrt.
45062         (LDLIBS-bench-sqrt): New.
45063         * benchtests/sqrt-input: New.
45065 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45067         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45068         (GAIH_EAI): Likewise.
45069         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45070         (gaih_inet): Likewise.
45071         (getaddrinfo): Don't use GAIH_EAI.
45073         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45074         (struct gaih): Remove definition.
45076 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45078         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45079         Use HERRNOP directly.
45081 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45085 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45087         * math/gen-auto-libm-tests.c (test_functions): Add more
45088         single-argument functions.
45089         (special_fill_pi_2): New function.
45090         (special_fill_minus_pi_2): Likewise.
45091         (special_fill_pi_6): Likewise.
45092         (special_fill_minus_pi_6): Likewise.
45093         (special_fill_pi_3): Likewise.
45094         (special_fill_2pi_3): Likewise.
45095         (special_fill_e): Likewise.
45096         (special_fill_1_e): Likewise.
45097         (special_fill_e_minus_1): Likewise.
45098         (special_real_inputs): Add more special inputs.
45099         (output_for_one_input_case): Do not require ERANGE on underflow to
45100         zero if round-to-nearest result does not underflow to zero, unless
45101         exact results required.
45102         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45103         atan, atanh, cbrt, cos and cosh.
45104         * math/auto-libm-test-out: Regenerated.
45105         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45106         (acos_tonearest_test_data): Likewise.
45107         (acos_towardzero_test_data): Likewise.
45108         (acos_downward_test_data): Likewise.
45109         (acos_upward_test_data): Likewise.
45110         (acosh_test_data): Likewise.
45111         (asin_test_data): Likewise.
45112         (asin_tonearest_test_data): Likewise.
45113         (asin_towardzero_test_data): Likewise.
45114         (asin_upward_test_data): Likewise.
45115         (asinh_test_data): Likewise.
45116         (atan_test_data): Likewise.
45117         (atanh_test_data): Likewise.
45118         (cbrt_test_data): Likewise.
45119         (cos_test_data): Likewise.
45120         (cos_tonearest_test_data): Likewise.
45121         (cos_towardzero_test_data): Likewise.
45122         (cos_downward_test_data): Likewise.
45123         (cos_upward_test_data): Likewise.
45124         (cosh_test_data): Likewise.
45125         (cosh_tonearest_test_data): Likewise.
45126         (cosh_towardzero_test_data): Likewise.
45127         (cosh_downward_test_data): Likewise.
45128         (cosh_upward_test_data): Likewise.
45129         * sysdeps/i386/fpu/libm-test-ulps: Update.
45130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45132 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45134         [BZ #6787]
45135         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45136         * math/w_exp10f.c (__exp10f): Likewise.
45137         * math/w_exp10l.c (__exp10l): Likewise.
45138         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45139         errno settings in existing tests.
45141         [BZ #14032]
45142         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45143         precision control set to double precision.
45144         * sysdeps/i386/fpu/w_sqrt.c: New file.
45145         * math/auto-libm-test-in: Add more tests.
45146         * math/auto-libm-test-out: Update.
45148         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45149         (sqrt_test_tonearest): New function.
45150         (sqrt_towardzero_test_data): New variable.
45151         (sqrt_test_towardzero): New function.
45152         (sqrt_downward_test_data): New variable.
45153         (sqrt_test_downward): New function.
45154         (sqrt_upward_test_data): New variable.
45155         (sqrt_test_upward): New function.
45156         (main): Call the new functions.
45158         * math/gen-auto-libm-tests.c: New file.
45159         * math/auto-libm-test-in: Likewise.
45160         * math/auto-libm-test-out: New generated file.
45161         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45162         variables.
45163         (%beautify): Add generated representations of zero.
45164         (top level): Set $auto_input and call parse_auto_input.
45165         (beautify): Remove trailing "f" from hex float constants.
45166         (parse_args): Handle XFAIL_TEST.
45167         (convert_condition): New function.
45168         (or_value): Likewise.
45169         (or_cond_value): Likewise.
45170         (generate_testfile): Handle AUTO_TESTS_* lines.
45171         (parse_auto_input): New function.
45172         * math/libm-test.inc (XFAIL_TEST): New macro.
45173         (ERRNO_UNCHANGED): Update value.
45174         (ERRNO_EDOM): Likewise.
45175         (ERRNO_ERANGE): Likewise.
45176         (IGNORE_RESULT): Likewise.
45177         (TEST_COND_flt_32): New macro.
45178         (TEST_COND_dbl_64): Likewise.
45179         (TEST_COND_ldbl_96_intel): Likewise.
45180         (TEST_COND_ldbl_96_m68k): Likewise.
45181         (TEST_COND_ldbl_128): Likewise.
45182         (TEST_COND_ldbl_128ibm): Likewise.
45183         (TEST_COND_long32): Likewise.
45184         (TEST_COND_long64): Likewise.
45185         (TEST_COND_before_rounding): Likewise.
45186         (TEST_COND_after_rounding): Likewise.
45187         (enable_test): Handle XFAIL_TEST flag.
45188         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45189         with finite results.
45190         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45191         auto-libm-test-out.
45193 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45194             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45196         [BZ #16214]
45197         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45198         __tls_get_addr_internal instead of __tls_get_offset in order to
45199         avoid GOT pointer dependency.  Make rtld export
45200         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45201         __tls_get_addr since we are a __tls_get_offset platform.
45202         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45203         GOT pointer being set up before.
45204         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45206 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45208         * manual/math.texi (Errors in Math Functions): Document accuracy
45209         goals.
45211         [BZ #15004]
45212         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45213         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45214         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45215         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45216         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45217         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45218         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45219         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45220         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45221         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45222         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45223         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45224         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45225         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45226         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45227         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45229         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45230         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45231         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45232         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45233         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45234         Likewise.
45235         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45236         Likewise.
45237         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45238         Likewise.
45239         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45240         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45241         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45242         atomic-feupdateenv and flt-rounds.
45243         * sysdeps/powerpc/nofpu/Versions (libc): Add
45244         __atomic_feholdexcept, __atomic_feclearexcept,
45245         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45246         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45247         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45248         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45249         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45250         here.
45251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45252         Update.
45254         * manual/arith.texi (FP Exceptions): Document that exceptions may
45255         not be raised when matherr is used.
45256         (Math Error Reporting): Document overflow in directed rounding
45257         modes.  Document that errno may not be set when finite values are
45258         returned on overflow.  Document intent to set errno on underflow
45259         only for underflow to zero.
45261         [BZ #16271]
45262         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45263         round-to-nearest then adjust result for other rounding modes.
45264         * include/fenv.h (fegetround): Use libm_hidden_proto.
45265         * math/fegetround.c (fegetround): Use libm_hidden_def.
45266         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45267         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45268         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45269         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45270         Likewise.
45271         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45272         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45273         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45274         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45276 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45278         [BZ #16077]
45279         * nss/Versions (libnss_files): Add
45280         _nss_files_gethostbyname3_r.
45281         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45282         New function.
45283         (HOST_DB_LOOKUP): Remove macro.
45284         (_nss_files_gethostbyname_r): Implement function without the
45285         HOST_DB_LOOKUP macro.
45286         (_nss_files_gethostbyname2_r): Likewise.
45288 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45290         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45292 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45294         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45295         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45296         warning.
45298 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45300         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45301         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45302         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45303         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45304         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45305         __fe_nomask_env_priv and attribute_hidden.
45306         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45307         (libc_feupdateenv_test_ppc): Likewise.
45308         (libc_feresetround_ppc): Likewise.
45309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45310         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45311         compat_symbol macro.
45312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45313         (__fe_nomask_env): Likewise.
45314         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45316 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45318         * string/Makefile: Remove ifunc tests.
45319         * string/test-string.h: Define TEST_IFUNC.
45320         * string/test-bcopy-ifunc.c: Remove.
45321         * string/test-bzero-ifunc.c: Likewise.
45322         * string/test-memccpy-ifunc.c: Likewise.
45323         * string/test-memchr-ifunc.c: Likewise.
45324         * string/test-memcmp-ifunc.c: Likewise.
45325         * string/test-memcpy-ifunc.c: Likewise.
45326         * string/test-memmem-ifunc.c: Likewise.
45327         * string/test-memmove-ifunc.c: Likewise.
45328         * string/test-mempcpy-ifunc.c: Likewise.
45329         * string/test-memrchr-ifunc.c: Likewise.
45330         * string/test-memset-ifunc.c: Likewise.
45331         * string/test-rawmemchr-ifunc.c: Likewise.
45332         * string/test-stpcpy-ifunc.c: Likewise.
45333         * string/test-stpncpy-ifunc.c: Likewise.
45334         * string/test-strcasecmp-ifunc.c: Likewise.
45335         * string/test-strcasestr-ifunc.c: Likewise.
45336         * string/test-strcat-ifunc.c: Likewise.
45337         * string/test-strchr-ifunc.c: Likewise.
45338         * string/test-strchrnul-ifunc.c: Likewise.
45339         * string/test-strcmp-ifunc.c: Likewise.
45340         * string/test-strcpy-ifunc.c: Likewise.
45341         * string/test-strcspn-ifunc.c: Likewise.
45342         * string/test-strlen-ifunc.c: Likewise.
45343         * string/test-strncasecmp-ifunc.c: Likewise.
45344         * string/test-strncat-ifunc.c: Likewise.
45345         * string/test-strncmp-ifunc.c: Likewise.
45346         * string/test-strncpy-ifunc.c: Likewise.
45347         * string/test-strnlen-ifunc.c: Likewise.
45348         * string/test-strpbrk-ifunc.c: Likewise.
45349         * string/test-strrchr-ifunc.c: Likewise.
45350         * string/test-strspn-ifunc.c: Likewise.
45351         * string/test-strstr-ifunc.c: Likewise.
45353 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45355         * benchtests/Makefile: Remove ifunc tests.
45356         * benchtests/bench-string.h: Define TEST_IFUNC.
45357         * benchtests/bench-bcopy-ifunc.c: Remove.
45358         * benchtests/bench-bzero-ifunc.c: Likewise.
45359         * benchtests/bench-memccpy-ifunc.c: Likewise.
45360         * benchtests/bench-memchr-ifunc.c: Likewise.
45361         * benchtests/bench-memcmp-ifunc.c: Likewise.
45362         * benchtests/bench-memcpy-ifunc.c: Likewise.
45363         * benchtests/bench-memmem-ifunc.c: Likewise.
45364         * benchtests/bench-memmove-ifunc.c: Likewise.
45365         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45366         * benchtests/bench-memrchr-ifunc.c: Likewise.
45367         * benchtests/bench-memset-ifunc.c: Likewise.
45368         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45369         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45370         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45371         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45372         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45373         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45374         * benchtests/bench-strcat-ifunc.c: Likewise.
45375         * benchtests/bench-strchr-ifunc.c: Likewise.
45376         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45377         * benchtests/bench-strcmp-ifunc.c: Likewise.
45378         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45379         * benchtests/bench-strcpy-ifunc.c: Likewise.
45380         * benchtests/bench-strcspn-ifunc.c: Likewise.
45381         * benchtests/bench-strlen-ifunc.c: Likewise.
45382         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45383         * benchtests/bench-strncat-ifunc.c: Likewise.
45384         * benchtests/bench-strncmp-ifunc.c: Likewise.
45385         * benchtests/bench-strncpy-ifunc.c: Likewise.
45386         * benchtests/bench-strnlen-ifunc.c: Likewise.
45387         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45388         * benchtests/bench-strrchr-ifunc.c: Likewise.
45389         * benchtests/bench-strsep-ifunc.c: Likewise.
45390         * benchtests/bench-strspn-ifunc.c: Likewise.
45391         * benchtests/bench-strstr-ifunc.c: Likewise.
45393 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45395         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45397 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45399         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45400         * rt/aio.h: Likewise.
45401         * sysdeps/gnu/bits/utmp.h: Likewise.
45402         * sysdeps/gnu/bits/utmpx.h: Likewise.
45403         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45404         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45405         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45406         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45407         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45408         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45409         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45410         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45411         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45412         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45413         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45414         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45415         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45417         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45418         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45419         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45420         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45421         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45422         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45423         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45424         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45425         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45426         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45427         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45428         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45429         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45430         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45431         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45432         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45433         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45434         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45435         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45436         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45437         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45438         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45439         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45440         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45441         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45442         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45443         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45444         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45446 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45448         [BZ #16245]
45449         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45450         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45452 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45454         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45455         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45456         Likewise.
45458 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45460         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45461         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45462         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45463         (__fesetround): Remove define.
45464         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45465         rounding and exceptions handling.
45466         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45467         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45468         (__fe_nomask_env): Likewise.
45469         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45470         __fegetround instead of fegetround.
45471         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45472         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45474 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45476         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45477         it's there.
45479         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45481 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45483         [BZ #11157]
45484         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45485         (encrypt_r): Likewise.
45486         * malloc/obstack.h (obstack_free): Likewise.
45487         * posix/unistd.h (encrypt): Likewise.
45489 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45491         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45492         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45493         DL_CALL_DT_FINI() that call the functions directly.
45494         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45495         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45496         * elf/dl-fini.c: Likewise.
45498 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45500         * malloc/hooks.c (memalign_check): Add alignment rounding.
45501         * malloc/malloc.c (_mid_memalign): New function.
45502         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45503         Implement by calling _mid_memalign.
45504         * manual/probes.texi (Memory Allocation Probes): Remove
45505         memory_valloc_retry and memory_pvalloc_retry.
45507 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45509         * locale/programs/locarchive.c (open_archive): Add const
45510         qualifier to ARCHIVEFNAME and copy default fname to
45511         DEFAULT_FNAME.
45513         [BZ #15601]
45514         * libio/tst-widetext.input: Rename Oriya to Odia.
45515         * locale/iso-639.def: Likewise.
45517         * manual/probes.texi (Mathematical Function Probes): Add
45518         documentation for sin, cos, asin and acos probes.
45519         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45520         (__sin32): Add slowasin probe.
45521         (__cos32): Add slowacos probe.
45522         (__mpsin): Add slowsin probe.
45523         (__mpcos): Add slowcos probe.
45525 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45527         [BZ #15483]
45528         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45529         thread-local __sim_exceptions_thread and global
45530         __sim_exceptions_global.
45531         (__sim_disabled_exceptions): Change to thread-local
45532         __sim_disabled_exceptions_thread and global
45533         __sim_disabled_exceptions_global.
45534         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45535         and global __sim_round_mode_global.
45536         (__simulate_exceptions): Use thread-local floating-point state and
45537         set global state from it as needed.
45538         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45539         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45540         __sim_round_mode_thread.
45541         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45542         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45543         and global __sim_exceptions_global.
45544         (__sim_disabled_exceptions): Change to thread-local
45545         __sim_disabled_exceptions_thread and global
45546         __sim_disabled_exceptions_global.
45547         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45548         and global __sim_round_mode_global.
45549         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45550         (SIM_SET_GLOBAL): Likewise.
45551         * sysdeps/powerpc/soft-fp/sfp-machine.h
45552         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45553         __sim_round_mode_thread.
45554         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45555         __sim_disabled_exceptions_thread.
45556         (__sim_exceptions): Change to __sim_exceptions_thread.
45557         (__sim_disabled_exceptions): Change to
45558         __sim_disabled_exceptions_thread.
45559         (__sim_round_mode): Change to __sim_round_mode_thread.
45560         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45561         thread-local floating-point state and set global state from it as
45562         needed.
45563         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45564         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45565         (__sim_disabled_exceptions): Remove extern declaration.
45566         (feenableexcept): Use thread-local floating-point state and set
45567         global state from it as needed.
45568         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45569         extern declaration.
45570         (__sim_disabled_exceptions): Likewise.
45571         (__sim_round_mode): Likewise.
45572         (__fegetenv): Use thread-local floating-point state.
45573         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
45574         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45575         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
45576         floating-point state and set global state from it as needed.
45577         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
45578         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
45579         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
45580         Likewise.
45581         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
45582         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
45583         Likewise.
45584         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
45585         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
45586         Use __sim_round_mode_thread.
45587         * math/test-fenv-tls.c: New file.
45588         * math/Makefile (tests): Add test-fenv-tls.
45589         ($(objpfx)test-fenv-tls): Depend on
45590         $(common-objpfx)nptl/libpthread.so.
45592 2013-11-19  Andreas Schwab  <schwab@suse.de>
45594         * locale/programs/locale.c (show_info): Decode wordarray elements.
45595         * locale/categories.def (LC_MONETARY): Add element for
45596         _NL_MONETARY_CRNCYSTR.
45597         * locale/C-monetary.c (conversion_rate): New variable.
45598         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
45599         element.
45601 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
45603         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
45604         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
45606 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45608         * elf/Makefile (tst-auxv): New test.
45609         * elf/tst-auxv.c: New
45610         * elf/rtld.c (dl_main): Adjust AT_EXECFN
45612 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
45614         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
45615         (hidden_proto): Caller changed.
45616         (hidden_tls_proto): New macro.
45617         (libc_hidden_tls_proto): Likewise.
45618         (rtld_hidden_tls_proto): Likewise.
45619         (libm_hidden_tls_proto): Likewise.
45620         (libresolv_hidden_tls_proto): Likewise.
45621         (librt_hidden_tls_proto): Likewise.
45622         (libdl_hidden_tls_proto): Likewise.
45623         (libnss_files_hidden_tls_proto): Likewise.
45624         (libnsl_hidden_tls_proto): Likewise.
45625         (libnss_nisplus_hidden_tls_proto): Likewise.
45626         (libutil_hidden_tls_proto): Likewise.
45628 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
45630         [BZ #10253]
45631         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
45632         (decompose_rpath): Defer expansion to fillin_rpath.
45633         (_dl_init_paths): Pass linkmap to fillin_rpath.
45635 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45637         * benchtests/Makefile: Add strsep.
45638         * benchtests/bench-strsep.c: New file: strsep benchtest.
45639         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
45641 2013-11-18  Andreas Schwab  <schwab@suse.de>
45643         * locale/programs/locale.c (show_info) [case byte]: Check for
45644         '\377' instead of '\177'.
45645         * locale/C-monetary.c (not_available): Always use "\377".
45646         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
45647         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
45648         detect unavailable sign_posn locale elements.
45649         * locale/localeconv.c (__localeconv): For grouping and
45650         mon_grouping handle "\177" and "\377" like no grouping.
45651         (INT_ELEM): New macro.  Use it to set all numeric members.
45652         * locale/programs/ld-monetary.c (monetary_read)
45653         <tok_mon_grouping>: Normalize single -1 to the empty string.
45654         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
45655         Likewise.
45657 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45659         [BZ #16055]
45660         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
45661         when we match (nil).
45662         * stdio-common/tst-sscanf.c (struct test): Add testcase.
45664 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
45666         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
45667         (NO_TEST_INLINE): Update value.
45668         (ERRNO_UNCHANGED): Likewise.
45669         (ERRNO_EDOM): Likewise.
45670         (ERRNO_ERANGE): Likewise.
45671         (IGNORE_RESULT): Likewise.
45672         (check_float_internal): Check signs of NaN results if
45673         TEST_NAN_SIGN used.
45674         (check_complex): Pass TEST_NAN_SIGN flag through to second
45675         check_float_internal call.
45676         (copysign_test_data): Add tests with quiet NaNs as second
45677         argument.  Use TEST_NAN_SIGN.
45678         (fabs_test_data): Add test of negative quiet NaN argument.  Use
45679         TEST_NAN_SIGN.
45680         (signbit_test_data): Add tests of quiet NaN argument.
45681         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
45683         * math/gen-libm-test.pl (show_exceptions): Take extra argument
45684         $ignore_result.
45685         (parse_args): Handle function results specified as IGNORE.
45686         * math/libm-test.inc (IGNORE_RESULT): New macro.
45687         (check_float_internal): Do not check numerical result if flag
45688         IGNORE_RESULT set.
45689         (check_complex): Pass through IGNORE_RESULT to second
45690         check_float_internal call.
45691         (check_int): Do not check numerical result if flag IGNORE_RESULT
45692         set.
45693         (check_long): Likewise.
45694         (check_bool): Likewise.
45695         (check_longlong): Likewise.
45696         (lrint_test_data): Add tests of infinite and NaN arguments.
45697         (lrint_tonearest_test_data): Likewise.
45698         (lrint_towardzero_test_data): Likewise.
45699         (lrint_downward_test_data): Likewise.
45700         (lrint_upward_test_data): Likewise.
45701         (llrint_test_data): Likewise.
45702         (llrint_tonearest_test_data): Likewise.
45703         (llrint_towardzero_test_data): Likewise.
45704         (llrint_downward_test_data): Likewise.
45705         (llrint_upward_test_data): Likewise.
45706         (lround_test_data): Likewise.
45707         (llround_test_data): Likewise.
45709         * math/libm-test.inc (NO_TEST_INLINE): New macro.
45710         (ERRNO_UNCHANGED): Update value.
45711         (ERRNO_EDOM): Likewise.
45712         (ERRNO_ERANGE): Likewise.
45713         (NO_TEST_INLINE_FLOAT): New macro.
45714         (NO_TEST_INLINE_DOUBLE): Likewise.
45715         (enable_test): New function.
45716         (RUN_TEST_f_f): Check enable_test before running test.
45717         (RUN_TEST_2_f): Likewise.
45718         (RUN_TEST_fff_f): Likewise.
45719         (RUN_TEST_c_f): Likewise.
45720         (RUN_TEST_f_f1): Likewise.
45721         (RUN_TEST_fF_f1): Likewise.
45722         (RUN_TEST_fI_f1): Likewise.
45723         (RUN_TEST_ffI_f1): Likewise.
45724         (RUN_TEST_c_c): Likewise.
45725         (RUN_TEST_cc_c): Likewise.
45726         (RUN_TEST_f_i): Likewise.
45727         (RUN_TEST_f_i_tg): Likewise.
45728         (RUN_TEST_ff_i_tg): Likewise.
45729         (RUN_TEST_f_b): Likewise.
45730         (RUN_TEST_f_b_tg): Likewise.
45731         (RUN_TEST_f_l): Likewise.
45732         (RUN_TEST_f_L): Likewise.
45733         (RUN_TEST_fFF_11): Likewise.
45734         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
45735         conditionals.
45736         (cosh_test_data): Likewise.
45737         (exp_test_data): Likewise.
45738         (expm1_test_data): Likewise.
45739         (hypot_test_data): Likewise.
45740         (pow_test_data): Likewise.
45741         (sinh_test_data): Likewise.
45742         (tanh_test_data): Likewise.
45743         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
45744         flags argument.
45746         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
45747         tests with quiet NaN input and output.
45748         (acosh_test_data): Likewise.
45749         (asin_test_data): Likewise.
45750         (asinh_test_data): Likewise.
45751         (atan_test_data): Likewise.
45752         (atanh_test_data): Likewise.
45753         (atan2_test_data): Likewise.
45754         (cbrt_test_data): Likewise.
45755         (cos_test_data): Likewise.
45756         (cosh_test_data): Likewise.
45757         (erf_test_data): Likewise.
45758         (erfc_test_data): Likewise.
45759         (exp_test_data): Likewise.
45760         (exp10_test_data): Likewise.
45761         (exp2_test_data): Likewise.
45762         (expm1_test_data): Likewise.
45763         (hypot_test_data): Likewise.
45764         (j0_test_data): Likewise.
45765         (j1_test_data): Likewise.
45766         (jn_test_data): Likewise.
45767         (lgamma_test_data): Likewise.
45768         (log_test_data): Likewise.
45769         (log10_test_data): Likewise.
45770         (log1p_test_data): Likewise.
45771         (log2_test_data): Likewise.
45772         (pow_test_data): Likewise.
45773         (scalb_test_data): Likewise.
45774         (sin_test_data): Likewise.
45775         (sincos_test_data): Likewise.
45776         (sinh_test_data): Likewise.
45777         (tan_test_data): Likewise.
45778         (tanh_test_data): Likewise.
45779         (tgamma_test_data): Likewise.
45780         (y0_test_data): Likewise.
45781         (y1_test_data): Likewise.
45782         (yn_test_data): Likewise.
45784         [BZ #16167]
45785         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45786         argument being NaN and avoid computations with second argument in
45787         that case.
45788         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45789         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45790         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45792 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45794         * locale/iso-639.def: Add Chitwani Tharu (the).
45796 2013-11-14  Andreas Schwab  <schwab@suse.de>
45798         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45799         word instead of empty string.
45801 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45804         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45806         (__fe_nomask_env): Likewise.
45808 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45810         * benchtests/bench-timing.h: Include time.h.
45812 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45814         [BZ #15997]
45815         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45816         to 3.4.0 for x32.
45817         * sysdeps/unix/sysv/linux/configure: Regenerated.
45819 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45821         [BZ #16151]
45822         * stdlib/strtod_l.c (round_and_return): Do not consider
45823         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45824         exponent one less than half the least subnormal exponent.
45825         * stdlib/test-strtod-round-data: Add more tests.
45826         * stdlib/tst-strtod-round.c (tests): Regenerated.
45828 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45830         [BZ #14143]
45831         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45832         (__fe_mask_env): Likewise.
45833         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45834         libm_hidden_proto and add function prototype.
45835         (__fe_mask_env): Add function prototype.
45836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45837         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45839         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45841         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45843 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45845         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45846         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45848 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45850         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45851         of htab_find_slot().
45853 2013-11-11  David S. Miller  <davem@davemloft.net>
45855         [BZ #16150]
45856         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45857         symbol in the non-vis3 case in static builds.
45858         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45859         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45860         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45861         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45863 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45865         [BZ #387]
45866         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45867         it is empty.
45869 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45871         * benchtests/Makefile: Add bench-strtod.
45872         * benchtests/bench-strtod.c: New file: strtod benchtest
45874 2013-11-11  Andreas Schwab  <schwab@suse.de>
45876         [BZ #16153]
45877         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45878         terminating NUL in key length.
45880 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45882         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45883         Add artificial ODP entry for vDSO symbol for PPC64.
45884         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45885         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45887 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45889         [BZ #15374]
45890         * nss/getent.c (services_keys): Recognize services starting with digit.
45892 2013-11-06  David S. Miller  <davem@davemloft.net>
45894         [BZ #15985]
45895         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45896         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45898 2013-11-06  Will Newton  <will.newton@linaro.org>
45900         * manual/memory.texi (Malloc Examples): Remove register
45901         keyword from examples.
45903 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45905         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45907 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45909         [BZ #6981]
45910         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45911         depending on [__GCC_IEC_559 > 0].
45912         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45913         depending on [__GCC_IEC_559_COMPLEX > 0].
45915 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45917         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45918         to iso-639.def.
45920 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45922         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45924 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45926         [BZ #16112]
45927         * malloc/malloc (malloc_info): Do not handle first bin as
45928         special case.
45930 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45932         * locale/iso-639.def: Add Central Nahuatl (nhn).
45934 2013-11-01  Bruno Haible  <bruno@clisp.org>
45936         [BZ #7003]
45937         * manual/math.texi (BSD Random): Specify range upper bound as
45938         in POSIX.
45940 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45942         * locale/iso-639.def: Add Meadow Mari (mhr).
45944 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45946         [BZ #14752], [BZ #15763]
45947         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45948         Validate name.
45949         * rt/tst_shm.c: Add test for escaping directory.
45951 2013-10-31  Andreas Schwab  <schwab@suse.de>
45953         [BZ #15917]
45954         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45955         followed by 'x' as part of digit sequence.
45956         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45958 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45960         [BZ #16037]
45961         * configure.ac: allow GNU Make 4.0 and greater.
45962         * configure: Regenerated.
45964 2013-10-30  Will Newton  <will.newton@linaro.org>
45966         [BZ #16038]
45967         * malloc/hooks.c (memalign_check): Limit alignment to the
45968         maximum representable power of two.
45969         * malloc/malloc.c (__libc_memalign): Likewise.
45970         * malloc/tst-memalign.c (do_test): Add test for very
45971         large alignment values.
45972         * malloc/tst-posix_memalign.c (do_test): Likewise.
45974 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45976         [BZ #11087]
45977         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45978         (munmap_chunk): Likewise.
45979         (mremap_chunk): Likewise.
45981 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45983         [BZ #15799]
45984         * stdlib/div.c (div): Remove obsolete code.
45985         * stdlib/ldiv.c (ldiv): Likewise.
45986         * stdlib/lldiv.c (lldiv): Likewise.
45988 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45990         [BZ #16071]
45991         * nss/nss_files/files-XXX.c (get_contents_ret): New
45992         enumerator.
45993         (get_contents): New function.
45994         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45996 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45998         * configure.in: Moved to ...
45999         * configure.ac: ... here. Change reference to configure.in
46000         to configure.ac.
46001         * sysdeps/arm/preconfigure.ac: ... here.
46002         configure.in to configure.ac.
46003         * sysdeps/gnu/configure.in: Moved to ...
46004         * sysdeps/gnu/configure.ac: ... here.
46005         * sysdeps/i386/configure.in: Moved to ...
46006         * sysdeps/i386/configure.ac: ... here.
46007         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46008         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46009         * sysdeps/mach/configure.in: Moved to ...
46010         * sysdeps/mach/configure.ac: ... here.
46011         * sysdeps/mach/hurd/configure.in: Moved to ...
46012         * sysdeps/mach/hurd/configure.ac: ... here.
46013         * sysdeps/powerpc/configure.in: Moved to ...
46014         * sysdeps/powerpc/configure.ac: ... here.
46015         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46016         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46017         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46018         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46019         * sysdeps/s390/s390-32/configure.in: Moved to ...
46020         * sysdeps/s390/s390-32/configure.ac: ... here.
46021         * sysdeps/s390/s390-64/configure.in: Moved to ...
46022         * sysdeps/s390/s390-64/configure.ac: ... here.
46023         * sysdeps/sh/configure.in: Moved to ...
46024         * sysdeps/sh/configure.ac: ... here.
46025         * sysdeps/sparc/configure.in: Moved to ...
46026         * sysdeps/sparc/configure.ac: ... here.
46027         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46028         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46029         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46030         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46031         * sysdeps/x86_64/configure.in: Moved to ...
46032         * sysdeps/x86_64/configure.ac: ... here.
46033         * sysdeps/x86_64/preconfigure.in: Moved to ...
46034         * sysdeps/x86_64/preconfigure.ac: ... here.
46035         * aclocal.m4: Change reference to configure.in to configure.ac.
46036         * config.h.in: Likewise.
46037         * manual/install.texi: Likewise.
46038         * manual/maint.texi: Likewise.
46039         * Makefile: Likewise.
46040         * malloc/Makefile: Likewise.
46041         * nscd/Makefile: Likewise.
46042         * Makeconfig: Change reference to configure.in and
46043         preconfigure.in to configure.ac and preconfigure.ac
46044         respectively.
46045         * INSTALL: Regenerated.
46046         * configure: Likewise.
46047         * sysdeps/gnu/configure: Likewise.
46048         * sysdeps/i386/configure: Likewise.
46049         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46050         * sysdeps/mach/configure: Likewise.
46051         * sysdeps/mach/hurd/configure: Likewise.
46052         * sysdeps/powerpc/configure: Likewise.
46053         * sysdeps/powerpc/powerpc32/configure: Likewise.
46054         * sysdeps/powerpc/powerpc64/configure: Likewise.
46055         * sysdeps/s390/s390-32/configure: Likewise.
46056         * sysdeps/s390/s390-64/configure: Likewise.
46057         * sysdeps/sh/configure: Likewise.
46058         * sysdeps/sparc/configure: Likewise.
46059         * sysdeps/unix/sysv/linux/configure: Likewise.
46060         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46061         * sysdeps/x86_64/configure: Likewise.
46062         * sysdeps/x86_64/preconfigure: Likewise.
46064 2013-10-29  Andreas Schwab  <schwab@suse.de>
46066         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46068 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46070         * benchtests/pow-inputs: Add new inputs.
46072         * benchtests/exp-inputs: Add new inputs.
46074         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46075         conditional check for return value.
46076         (__cos32): Likewise.
46078 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46080         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46081         to provide a boost for large inputs with word alignment.
46082         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46083         implementation based on optimized PPC64 strcpy.
46084         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46085         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46086         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46087         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46089 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46091         [BZ #2801]
46092         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46094 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46096         [BZ #14876]
46097         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46098         * time/tst-strptime.c (day_tests): Add testcase.
46100 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46102         [BZ #14029]
46103         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46105 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46107         [BZ #16074]
46108         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46109         MAP_FAILED on error.
46111 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46113         [BZ #16072]
46114         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46115         heap for large requests.
46117 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46119         [BZ #9954]
46120         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46121         result if the result has no associated interface.
46122         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46123         interface for all 127.X.Y.Z addresses.
46125 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46127         * locale/iso-639.def: Add Ligurian (lij)
46129 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46131         [BZ #15825]
46132         * sunrpc/rpc_main.c: Document rpcgen -5.
46134 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46136         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46138 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46140         [BZ #10278]
46141         * posix/glob.c: Match only directories when trailing slash is present.
46142         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46143         (main): Add testcase.
46145 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46147         [BZ #15670]
46148         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46150 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46152         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46153         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46154         AUTH_DES and cindex for FIPS 140-2.
46155         (DES Encryption): Add cindex FIPS 46-3.
46157         * locale/locarchive.h (struct locarhandle): Add fname.
46158         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46159         if an optional argument was specified to --list-archive,
46160         otherwise NULL.
46161         * locale/programs/locarchive.c (show_archive_content): Take new
46162         argument fname and pass it via ah.fname to open_archive.
46163         * locale/programs/localedef.h: Update decl.
46164         (open_archive): If AH->fname is non-null, open that file
46165         rather than the default file name, and don't ignore ENOENT.
46166         (create_archive): Set AH.fname to NULL.
46167         (delete_locales_from_archive): Likewise.
46168         (add_locales_to_archive): Likewise.
46169         * locale/programs/locfile.c (write_all_categories): Likewise.
46171 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46172             Aldy Hernandez  <aldyh@redhat.com>
46174         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46175         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46176         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46177         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46178         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46179         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46180         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46181         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46182         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46183         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46184         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46185         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46186         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46187         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46188         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46189         Likewise.
46190         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46191         Likewise.
46192         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46193         Likewise.
46194         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46195         Likewise.
46196         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46197         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46198         Likewise.
46199         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46200         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46201         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46202         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46203         Likewise.
46204         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46205         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46206         * sysdeps/powerpc/preconfigure: Likewise.
46207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46208         Likewise.
46209         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46210         Replace contents of file by #include of <fenv_libc.h>.
46211         * sysdeps/powerpc/soft-fp/sfp-machine.h
46212         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46213         and <sys/prctl.h>.
46214         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46215         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46216         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46217         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46218         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46219         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46220         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46221         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46222         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46223         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46224         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46225         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46227         Allow copysignl PLT reference to be missing.
46229 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46230             Joseph Myers  <joseph@codesourcery.com
46232         [BZ #15948]
46233         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46234         single character.
46235         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46237 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46239         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46240         * elf/tst-tls1.c: Likewise.
46241         * elf/tst-tls10.h: Likewise.
46242         * elf/tst-tls14.c: Likewise.
46243         * elf/tst-tls2.c: Likewise.
46244         * elf/tst-tls3.c: Likewise.
46245         * elf/tst-tls4.c: Likewise.
46246         * elf/tst-tls5.c: Likewise.
46247         * elf/tst-tls6.c: Likewise.
46248         * elf/tst-tls7.c: Likewise.
46249         * elf/tst-tls8.c: Likewise.
46250         * elf/tst-tls9.c: Likewise.
46251         * elf/tst-tlsmod1.c: Likewise.
46252         * elf/tst-tlsmod13.c: Likewise.
46253         * elf/tst-tlsmod13a.c: Likewise.
46254         * elf/tst-tlsmod14a.c: Likewise.
46255         * elf/tst-tlsmod16a.c: Likewise.
46256         * elf/tst-tlsmod16b.c: Likewise.
46257         * elf/tst-tlsmod2.c: Likewise.
46258         * elf/tst-tlsmod3.c: Likewise.
46259         * elf/tst-tlsmod4.c: Likewise.
46260         * elf/tst-tlsmod5.c: Likewise.
46261         * elf/tst-tlsmod6.c: Likewise.
46263 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46265         [BZ #12486]
46266         * malloc/malloc.c: remove checks for statistics.
46268 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46270         [BZ #15277]
46271         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46272         * inet/tst-network.c: Add testcase.
46274 2013-10-17  Andreas Schwab  <schwab@suse.de>
46276         [BZ #15218]
46277         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46278         to determine canonical name.
46280 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46282         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46283         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46284         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46285         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46286         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46287         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46288         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46289         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46290         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46291         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46292         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46293         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46294         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46295         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46296         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46297         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46298         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46299         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46300         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46301         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46302         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46304         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46305         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46306         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46307         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46308         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46309         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46310         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46311         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46312         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46313         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46314         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46315         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46316         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46317         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46318         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46319         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46320         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46321         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46322         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46323         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46324         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46325         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46326         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46327         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46328         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46329         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46330         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46331         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46332         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46333         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46334         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46335         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46336         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46337         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46338         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46339         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46341 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46343         [BZ #16041]
46344         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46345         make result into a quiet NaN.
46347 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46349         * soft-fp/adddf3.c: Fix horizontal whitespace.
46350         * soft-fp/addsf3.c: Likewise.
46351         * soft-fp/addtf3.c: Likewise.
46352         * soft-fp/divdf3.c: Likewise.
46353         * soft-fp/divsf3.c: Likewise.
46354         * soft-fp/divtf3.c: Likewise.
46355         * soft-fp/double.h: Likewise.
46356         * soft-fp/eqdf2.c: Likewise.
46357         * soft-fp/eqsf2.c: Likewise.
46358         * soft-fp/eqtf2.c: Likewise.
46359         * soft-fp/extenddftf2.c: Likewise.
46360         * soft-fp/extended.h: Likewise.
46361         * soft-fp/extendsfdf2.c: Likewise.
46362         * soft-fp/extendsftf2.c: Likewise.
46363         * soft-fp/extendxftf2.c: Likewise.
46364         * soft-fp/fixdfdi.c: Likewise.
46365         * soft-fp/fixdfsi.c: Likewise.
46366         * soft-fp/fixdfti.c: Likewise.
46367         * soft-fp/fixsfdi.c: Likewise.
46368         * soft-fp/fixsfsi.c: Likewise.
46369         * soft-fp/fixsfti.c: Likewise.
46370         * soft-fp/fixtfdi.c: Likewise.
46371         * soft-fp/fixtfsi.c: Likewise.
46372         * soft-fp/fixtfti.c: Likewise.
46373         * soft-fp/fixunsdfdi.c: Likewise.
46374         * soft-fp/fixunsdfsi.c: Likewise.
46375         * soft-fp/fixunsdfti.c: Likewise.
46376         * soft-fp/fixunssfdi.c: Likewise.
46377         * soft-fp/fixunssfsi.c: Likewise.
46378         * soft-fp/fixunssfti.c: Likewise.
46379         * soft-fp/fixunstfdi.c: Likewise.
46380         * soft-fp/fixunstfsi.c: Likewise.
46381         * soft-fp/fixunstfti.c: Likewise.
46382         * soft-fp/floatdidf.c: Likewise.
46383         * soft-fp/floatdisf.c: Likewise.
46384         * soft-fp/floatditf.c: Likewise.
46385         * soft-fp/floatsidf.c: Likewise.
46386         * soft-fp/floatsisf.c: Likewise.
46387         * soft-fp/floatsitf.c: Likewise.
46388         * soft-fp/floattidf.c: Likewise.
46389         * soft-fp/floattisf.c: Likewise.
46390         * soft-fp/floattitf.c: Likewise.
46391         * soft-fp/floatundidf.c: Likewise.
46392         * soft-fp/floatundisf.c: Likewise.
46393         * soft-fp/floatunditf.c: Likewise.
46394         * soft-fp/floatunsidf.c: Likewise.
46395         * soft-fp/floatunsisf.c: Likewise.
46396         * soft-fp/floatunsitf.c: Likewise.
46397         * soft-fp/floatuntidf.c: Likewise.
46398         * soft-fp/floatuntisf.c: Likewise.
46399         * soft-fp/floatuntitf.c: Likewise.
46400         * soft-fp/fmadf4.c: Likewise.
46401         * soft-fp/fmasf4.c: Likewise.
46402         * soft-fp/fmatf4.c: Likewise.
46403         * soft-fp/gedf2.c: Likewise.
46404         * soft-fp/gesf2.c: Likewise.
46405         * soft-fp/getf2.c: Likewise.
46406         * soft-fp/ledf2.c: Likewise.
46407         * soft-fp/lesf2.c: Likewise.
46408         * soft-fp/letf2.c: Likewise.
46409         * soft-fp/muldf3.c: Likewise.
46410         * soft-fp/mulsf3.c: Likewise.
46411         * soft-fp/multf3.c: Likewise.
46412         * soft-fp/negdf2.c: Likewise.
46413         * soft-fp/negsf2.c: Likewise.
46414         * soft-fp/negtf2.c: Likewise.
46415         * soft-fp/op-1.h: Likewise.
46416         * soft-fp/op-2.h: Likewise.
46417         * soft-fp/op-4.h: Likewise.
46418         * soft-fp/op-8.h: Likewise.
46419         * soft-fp/op-common.h: Likewise.
46420         * soft-fp/quad.h: Likewise.
46421         * soft-fp/single.h: Likewise.
46422         * soft-fp/soft-fp.h: Likewise.
46423         * soft-fp/sqrtdf2.c: Likewise.
46424         * soft-fp/sqrtsf2.c: Likewise.
46425         * soft-fp/sqrttf2.c: Likewise.
46426         * soft-fp/subdf3.c: Likewise.
46427         * soft-fp/subsf3.c: Likewise.
46428         * soft-fp/subtf3.c: Likewise.
46429         * soft-fp/truncdfsf2.c: Likewise.
46430         * soft-fp/trunctfdf2.c: Likewise.
46431         * soft-fp/trunctfsf2.c: Likewise.
46432         * soft-fp/trunctfxf2.c: Likewise.
46433         * soft-fp/unorddf2.c: Likewise.
46434         * soft-fp/unordsf2.c: Likewise.
46435         * soft-fp/unordtf2.c: Likewise.
46437 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46439         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46440         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46442 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46444         * elf/dl-libc.c: Clear initfini list after freeing.
46446 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46448         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46449         * soft-fp/addsf3.c: Likewise.
46450         * soft-fp/addtf3.c: Likewise.
46451         * soft-fp/divdf3.c: Likewise.
46452         * soft-fp/divsf3.c: Likewise.
46453         * soft-fp/divtf3.c: Likewise.
46454         * soft-fp/double.h: Likewise.
46455         * soft-fp/eqdf2.c: Likewise.
46456         * soft-fp/eqsf2.c: Likewise.
46457         * soft-fp/eqtf2.c: Likewise.
46458         * soft-fp/extenddftf2.c: Likewise.
46459         * soft-fp/extended.h: Likewise.
46460         * soft-fp/extendsfdf2.c: Likewise.
46461         * soft-fp/extendsftf2.c: Likewise.
46462         * soft-fp/extendxftf2.c: Likewise.
46463         * soft-fp/fixdfdi.c: Likewise.
46464         * soft-fp/fixdfsi.c: Likewise.
46465         * soft-fp/fixdfti.c: Likewise.
46466         * soft-fp/fixsfdi.c: Likewise.
46467         * soft-fp/fixsfsi.c: Likewise.
46468         * soft-fp/fixsfti.c: Likewise.
46469         * soft-fp/fixtfdi.c: Likewise.
46470         * soft-fp/fixtfsi.c: Likewise.
46471         * soft-fp/fixtfti.c: Likewise.
46472         * soft-fp/fixunsdfdi.c: Likewise.
46473         * soft-fp/fixunsdfsi.c: Likewise.
46474         * soft-fp/fixunsdfti.c: Likewise.
46475         * soft-fp/fixunssfdi.c: Likewise.
46476         * soft-fp/fixunssfsi.c: Likewise.
46477         * soft-fp/fixunssfti.c: Likewise.
46478         * soft-fp/fixunstfdi.c: Likewise.
46479         * soft-fp/fixunstfsi.c: Likewise.
46480         * soft-fp/fixunstfti.c: Likewise.
46481         * soft-fp/floatdidf.c: Likewise.
46482         * soft-fp/floatdisf.c: Likewise.
46483         * soft-fp/floatditf.c: Likewise.
46484         * soft-fp/floatsidf.c: Likewise.
46485         * soft-fp/floatsisf.c: Likewise.
46486         * soft-fp/floatsitf.c: Likewise.
46487         * soft-fp/floattidf.c: Likewise.
46488         * soft-fp/floattisf.c: Likewise.
46489         * soft-fp/floattitf.c: Likewise.
46490         * soft-fp/floatundidf.c: Likewise.
46491         * soft-fp/floatundisf.c: Likewise.
46492         * soft-fp/floatunsidf.c: Likewise.
46493         * soft-fp/floatunsisf.c: Likewise.
46494         * soft-fp/floatuntidf.c: Likewise.
46495         * soft-fp/floatuntisf.c: Likewise.
46496         * soft-fp/floatuntitf.c: Likewise.
46497         * soft-fp/fmadf4.c: Likewise.
46498         * soft-fp/fmasf4.c: Likewise.
46499         * soft-fp/fmatf4.c: Likewise.
46500         * soft-fp/gedf2.c: Likewise.
46501         * soft-fp/gesf2.c: Likewise.
46502         * soft-fp/getf2.c: Likewise.
46503         * soft-fp/ledf2.c: Likewise.
46504         * soft-fp/lesf2.c: Likewise.
46505         * soft-fp/letf2.c: Likewise.
46506         * soft-fp/muldf3.c: Likewise.
46507         * soft-fp/mulsf3.c: Likewise.
46508         * soft-fp/multf3.c: Likewise.
46509         * soft-fp/negdf2.c: Likewise.
46510         * soft-fp/negsf2.c: Likewise.
46511         * soft-fp/negtf2.c: Likewise.
46512         * soft-fp/op-1.h: Likewise.
46513         * soft-fp/op-2.h: Likewise.
46514         * soft-fp/op-4.h: Likewise.
46515         * soft-fp/op-8.h: Likewise.
46516         * soft-fp/op-common.h: Likewise.
46517         * soft-fp/quad.h: Likewise.
46518         * soft-fp/single.h: Likewise.
46519         * soft-fp/soft-fp.h: Likewise.
46520         * soft-fp/sqrtdf2.c: Likewise.
46521         * soft-fp/sqrtsf2.c: Likewise.
46522         * soft-fp/sqrttf2.c: Likewise.
46523         * soft-fp/subdf3.c: Likewise.
46524         * soft-fp/subsf3.c: Likewise.
46525         * soft-fp/subtf3.c: Likewise.
46526         * soft-fp/truncdfsf2.c: Likewise.
46527         * soft-fp/trunctfdf2.c: Likewise.
46528         * soft-fp/trunctfsf2.c: Likewise.
46529         * soft-fp/trunctfxf2.c: Likewise.
46530         * soft-fp/unorddf2.c: Likewise.
46531         * soft-fp/unordsf2.c: Likewise.
46532         * soft-fp/unordtf2.c: Likewise.
46534 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46536         [BZ #15672]
46537         * misc/error.c (error_tail): Fix possible buffer overflow.
46539 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46541         [BZ #13028]
46542         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46543         address.
46545 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46547         [BZ #832]
46548         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46549         testing pipefail option.
46551 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46553         * soft-fp/double.h: Indent preprocessor directives inside #if.
46554         * soft-fp/extended.h: Likewise.
46555         * soft-fp/op-2.h: Likewise.
46556         * soft-fp/op-4.h: Likewise.
46557         * soft-fp/op-common.h: Likewise.
46558         * soft-fp/quad.h: Likewise.
46559         * soft-fp/single.h: Likewise.
46560         * soft-fp/soft-fp.h: Likewise.
46562 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46564         * iconv/iconv_prog.c: Fix typos.
46565         * stdio-common/psiginfo-data.h: Likewise.
46567 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46569         [BZ #15764]
46570         * locale/setlocale.c: Fix typo.
46572 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46574         [BZ #16036]
46575         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
46576         signaling NaN arguments.
46577         * soft-fp/unordsf2.c (__unordsf2): Likewise.
46578         * soft-fp/unordtf2.c (__unordtf2): Likewise.
46580         [BZ #14910]
46581         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
46582         unordered operands.
46583         * soft-fp/gesf2.c (__gesf2): Likewise.
46584         * soft-fp/getf2.c (__getf2): Likewise.
46585         * soft-fp/ledf2.c (__ledf2): Likewise.
46586         * soft-fp/lesf2.c (__lesf2): Likewise.
46587         * soft-fp/letf2.c (__letf2): Likewise.
46589         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
46590         * soft-fp/eqsf2.c (__eqsf2): Likewise.
46591         * soft-fp/eqtf2.c (__eqtf2): Likewise.
46592         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
46593         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
46594         * soft-fp/fixdfti.c (__fixdfti): Likewise.
46595         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
46596         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
46597         * soft-fp/fixsfti.c (__fixsfti): Likewise.
46598         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
46599         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
46600         * soft-fp/fixtfti.c (__fixtfti): Likewise.
46601         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
46602         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
46603         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
46604         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
46605         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
46606         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
46607         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
46608         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
46609         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
46610         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
46611         * soft-fp/floatdisf.c (__floatdisf): Likewise.
46612         * soft-fp/floatsisf.c (__floatsisf): Likewise.
46613         * soft-fp/floattidf.c (__floattidf): Likewise.
46614         * soft-fp/floattisf.c (__floattisf): Likewise.
46615         * soft-fp/floattitf.c (__floattitf): Likewise.
46616         * soft-fp/floatundidf.c (__floatundidf): Likewise.
46617         * soft-fp/floatundisf.c (__floatundisf): Likewise.
46618         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
46619         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
46620         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
46621         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
46622         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
46623         * soft-fp/gesf2.c (__gesf2): Likewise.
46624         * soft-fp/getf2.c (__getf2): Likewise.
46625         * soft-fp/ledf2.c (__ledf2): Likewise.
46626         * soft-fp/lesf2.c (__lesf2): Likewise.
46627         * soft-fp/letf2.c (__letf2): Likewise.
46629         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
46630         Undefine and redefine.
46631         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
46632         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
46633         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
46634         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
46635         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46636         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
46637         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46638         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
46639         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46640         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
46641         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46642         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
46643         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46644         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
46645         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
46647         [BZ #16032]
46648         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
46649         without decrementing exponent if mantissa >= that for the
46650         denominator, not >.
46651         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
46652         denominator, not >.  Decrement exponent in < case instead of
46653         incrementing in >= case.
46654         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
46655         without decrementing exponent if mantissa >= that for the
46656         denominator, not >.
46658         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
46659         computing saturated result for unsigned overflow.
46661 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46662             Jeff Law  <law@redhat.com>
46664         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
46665         (atan2Mp): Add systemtap probe marker.
46666         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
46667         (__ieee754_log): Add systemtap probe marker.
46668         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
46669         (atanMp): Add systemtap probe marker.
46670         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
46671         (tanMp): Add systemtap probe marker.
46672         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
46673         (__slowexp): Add systemtap probe marker.
46674         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
46675         (__slowpow): Add systemtap probe marker.
46676         * manual/probes.texi: Document probes.
46678 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
46680         [BZ #15362]
46681         * libio/fileops.c (_IO_new_file_write): Return count of bytes
46682         written.
46683         (_IO_new_file_xsputn): Don't return EOF if nothing has been
46684         written.
46685         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
46686         written to buffer but not flushed.
46687         * libio/iofwrite_u.c:  Likewise.
46688         * libio/iopadn.c:  Return bytes returned even if EOF was
46689         encountered.
46690         * libio/iowpadn.c:  Likewise.
46691         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
46692         if _IO_padn does not write the whole buffer.
46693         [!COMPILE_WPRINTF] (PAD): Likewise.
46695 2013-10-10  David S. Miller  <davem@davemloft.net>
46697         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
46698         directory block.
46700 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46702         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
46703         instead of FSF address.
46704         * soft-fp/fixdfti.c: Likewise.
46705         * soft-fp/fixsfti.c: Likewise.
46706         * soft-fp/fixtfti.c: Likewise.
46707         * soft-fp/fixunsdfti.c: Likewise.
46708         * soft-fp/fixunssfti.c: Likewise.
46709         * soft-fp/fixunstfti.c: Likewise.
46710         * soft-fp/floattidf.c: Likewise.
46711         * soft-fp/floattisf.c: Likewise.
46712         * soft-fp/floattitf.c: Likewise.
46713         * soft-fp/floatuntidf.c: Likewise.
46714         * soft-fp/floatuntisf.c: Likewise.
46715         * soft-fp/floatuntitf.c: Likewise.
46716         * soft-fp/trunctfxf2.c: Likewise.
46718         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
46719         * soft-fp/fixdfti.c: Likewise.
46720         * soft-fp/fixsfti.c: Likewise.
46721         * soft-fp/fixtfti.c: Likewise.
46722         * soft-fp/fixunsdfti.c: Likewise.
46723         * soft-fp/fixunssfti.c: Likewise.
46724         * soft-fp/fixunstfti.c: Likewise.
46725         * soft-fp/floattidf.c: Likewise.
46726         * soft-fp/floattisf.c: Likewise.
46727         * soft-fp/floattitf.c: Likewise.
46728         * soft-fp/floatuntidf.c: Likewise.
46729         * soft-fp/floatuntisf.c: Likewise.
46730         * soft-fp/floatuntitf.c: Likewise.
46731         * soft-fp/trunctfxf2.c: Likewise.
46733 2013-10-10  David S. Miller  <davem@davemloft.net>
46735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46737 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
46739         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
46740         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
46741         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
46742         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
46743         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
46744         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
46745         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
46747         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
46748         for NaNs before doing comparisons on argument.
46749         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
46750         Likewise.
46752 2013-10-10  Will Newton  <will.newton@linaro.org>
46754         * malloc/hooks.c (memalign_check): Ensure the value of bytes
46755         passed to _int_memalign does not overflow.
46757 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46759         * scripts/bench.pl: Add include-sources directive.
46760         * benchtests/README: Update documentation.
46762 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46764         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46765         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46766         instead of FP_INIT_ROUNDMODE.
46767         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46768         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46770         [BZ #16034]
46771         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46772         copy class of input value.
46773         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46774         not handle exceptions.
46775         * soft-fp/negsf2.c (__negsf2): Likewise.
46776         * soft-fp/negtf2.c (__negtf2): Likewise.
46777         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46779 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46781         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46782         semicolon.  From Linux kernel.
46784 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46786         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46788 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46790         [BZ #156]
46791         * manual/socket.texi: Added statement about buffer
46792         for gethostbyname2_r.
46794 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46796         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46797         Use .p2align directive instead, throughout.
46798         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46799         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46800         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46801         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46802         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46803         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46804         * sysdeps/x86_64/strchr.S: Likewise.
46805         * sysdeps/x86_64/strrchr.S: Likewise.
46807 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46809         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46811         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46813         * sysdeps/generic/math_private.h (__mpsin1): Remove
46814         declaration.
46815         (__mpcos1): Likewise.
46816         (__mpsin): New argument __range_reduce.
46817         (__mpcos): Likewise.
46818         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46819         (slow): Use __mpsin and __mpcos.
46820         (slow1): Likewise.
46821         (slow2): Likewise.
46822         (sloww): Likewise.
46823         (sloww1): Likewise.
46824         (sloww2): Likewise.
46825         (bsloww): Likewise.
46826         (bsloww1): Likewise.
46827         (bsloww2): Likewise.
46828         (cslow2): Likewise.
46829         (csloww): Likewise.
46830         (csloww1): Likewise.
46831         (csloww2): Likewise.
46832         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46833         range_reduce.  Merge in __mpsin1.
46834         (__mpcos): Likewise.
46835         (__mpsin1): Remove.
46836         (__mpcos1): Likewise.
46838 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46840         * locale/loadlocale.c (_nl_intern_locale_data): Use
46841         LOCFILE_ALIGNED_P.
46842         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46843         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46844         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46845         obstack data is appropriately aligned.
46846         (obstack_int32_grow_fast): Likewise.
46847         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46848         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46849         (add_locale_uint32_array): Likewise.
46851 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46853         * benchtests/Makefile: Remove ARGLIST and RET variables.
46854         ($(objpfx)bench-%.c): Pass only function name to the script.
46855         * benchtests/README: Update documentation.
46856         * benchtests/acos-inputs: Add new directives.
46857         * benchtests/acosh-inputs: Likewise.
46858         * benchtests/asin-inputs: Likewise.
46859         * benchtests/asinh-inputs: Likewise.
46860         * benchtests/atan-inputs: Likewise.
46861         * benchtests/atanh-inputs: Likewise.
46862         * benchtests/cos-inputs: Likewise.
46863         * benchtests/cosh-inputs: Likewise.
46864         * benchtests/exp-inputs: Likewise.
46865         * benchtests/log-inputs: Likewise.
46866         * benchtests/pow-inputs: Likewise.
46867         * benchtests/rint-inputs: Likewise.
46868         * benchtests/sin-inputs: Likewise.
46869         * benchtests/sinh-inputs: Likewise.
46870         * benchtests/tan-inputs: Likewise.
46871         * benchtests/tanh-inputs: Likewise.
46872         * scripts/bench.pl: Add support for new directives.
46874 2013-10-07  Alan Modra  <amodra@gmail.com>
46876         * README: Fix careless merge.
46878 2013-10-05  Alan Modra  <amodra@gmail.com>
46880         * NEWS: Mention powerpc64le support and bugs fixed.
46881         * README: Both big-endian and little-endian powerpc64 supported.
46883 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46885         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46886         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46887         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46888         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46890 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46892         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46893         match prototype.
46895 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46897         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46898         Move -mhard-float appending from
46899         ports/sysdeps/powerpc/powerpc32/Makefile.
46900         [$(with-fp) = yes] (ASFLAGS): Likewise.
46901         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46902         * sysdeps/powerpc/nofpu: Move directory from
46903         ports/sysdeps/powerpc/nofpu.
46904         * sysdeps/powerpc/soft-fp: Move directory from
46905         ports/sysdeps/powerpc/soft-fp.
46906         * sysdeps/powerpc/powerpc32/405: Move directory from
46907         ports/sysdeps/powerpc/powerpc32/405.
46908         * sysdeps/powerpc/powerpc32/440: Move directory from
46909         ports/sysdeps/powerpc/powerpc32/440.
46910         * sysdeps/powerpc/powerpc32/464: Move directory from
46911         ports/sysdeps/powerpc/powerpc32/464.
46912         * sysdeps/powerpc/powerpc32/476: Move directory from
46913         ports/sysdeps/powerpc/powerpc32/476.
46914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46915         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46917         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46919         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46921         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46923         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46924         * README: Update for powerpc-*-linux-gnu software floating point
46925         support in libc.
46927         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46928         case to powerpc/powerpc32*.
46929         * sysdeps/unix/sysv/linux/configure: Regenerated.
46931         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46932         (_FPU_MASK_OM): Define as 0x04.
46933         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46934         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46935         0x00c10080.
46936         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46937         0x0000003c.
46938         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46941         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46942         getcontext_e500.
46943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46944         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46945         setcontext_e500.
46946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46947         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46948         and setcontext_e500.
46950 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46952         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46954 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46956         * manual/threads.texi (Default Thread Attributes): Fix typo.
46958 2013-10-04  Will Newton  <will.newton@linaro.org>
46960         * malloc/Makefile: Add tst-memalign.
46961         * malloc/tst-memalign.c: New file.
46963         * malloc/tst-posix_memalign.c: Add comments.
46964         (do_test): Add comments and call free on all potentially
46965         allocated pointers. Add space after cast.
46967         * malloc/tst-pvalloc.c: Add comments.
46968         (do_test): Add comments and call free on all potentially
46969         allocated pointers. Remove duplicate check for NULL pointer.
46970         Add space after cast.
46972         * malloc/tst-valloc.c: Add comments.
46973         (do_test): Add comments and call free on all potentially
46974         allocated pointers. Remove duplicate check for NULL pointer.
46975         Add space after cast.
46977 2013-10-04  Alan Modra  <amodra@gmail.com>
46979         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46980         Use stdint types in rather than __attribute__((mode())).
46981         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46983 2013-10-04  Alan Modra  <amodra@gmail.com>
46985         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46986         Correct handling of unaligned relocs for little-endian.
46987         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46989 2013-10-04  Alan Modra  <amodra@gmail.com>
46991         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46992         * configure: Regenerate.
46993         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46994         * shlib-versions: Likewise.
46996 2013-10-04  Alan Modra  <amodra@gmail.com>
46998         * string/tester.c (test_memrchr): Increment reported test cycle.
47000 2013-10-04  Alan Modra  <amodra@gmail.com>
47002         * string/test-memcpy.c (do_one_test): When reporting errors, print
47003         string address and don't overrun end of string.
47005 2013-10-04  Alan Modra  <amodra@gmail.com>
47007         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47008         insrdi.  Make better use of reg selection to speed exit slightly.
47009         Schedule entry path a little better.  Remove useless "are we done"
47010         checks on entry to main loop.  Handle wrapping around zero address.
47011         Correct main loop count.  Handle single left-over word from main
47012         loop inline rather than by using loop_small.  Remove extra word
47013         case in loop_small caused by wrong loop count.  Add little-endian
47014         support.
47015         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47016         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47017         cache hint.
47018         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47019         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47020         support.  Avoid rlwimi.
47021         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47023 2013-10-04  Alan Modra  <amodra@gmail.com>
47025         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47026         insrdi.  Formatting.
47027         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47028         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47029         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47030         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47031         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47032         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47034 2013-10-04  Alan Modra  <amodra@gmail.com>
47036         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47037         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47038         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47039         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47040         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47041         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47042         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47043         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47044         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47045         use of regs.  Use power7 mtocrf.  Tidy function tails.
47047 2013-10-04  Alan Modra  <amodra@gmail.com>
47049         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47050         Formatting.  Consistently use rXXX register defines or rN defines.
47051         Use early exit labels that avoid restoring unused non-volatile regs.
47052         Make cr field use more consistent with rWORDn compares.  Rename
47053         regs used as shift registers for unaligned loop, using rN defines
47054         for short lifetime/multiple use regs.
47055         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47056         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47057         addi 1,1,64 to pop stack frame.  Simplify return value code.
47058         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47060 2013-10-04  Alan Modra  <amodra@gmail.com>
47062         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47063         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47064         rather than rlwimi.
47065         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47066         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47067         little-endian support.  Correct typos.
47068         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47069         rather than rlwimi.
47070         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47071         in loop and entry code to keep "and." results.
47072         (strchr): Add little-endian support.  Comment.  Move cntlzd
47073         earlier in tail.
47074         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47076 2013-10-04  Alan Modra  <amodra@gmail.com>
47078         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47079         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47080         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47081         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47083 2013-10-04  Alan Modra  <amodra@gmail.com>
47085         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47086         (rTMP): Define as r11.
47087         (strcmp): Add little-endian support.  Optimise tail.
47088         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47089         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47090         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47091         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47092         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47093         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47094         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47096 2013-10-04  Alan Modra  <amodra@gmail.com>
47098         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47099         little-endian support.  Remove unnecessary "are we done" tests.
47100         Handle "s" wrapping around zero and extremely large "size".
47101         Correct main loop count.  Handle single left-over word from main
47102         loop inline rather than by using small_loop.  Correct comments.
47103         Delete "zero" tail, use "end_max" instead.
47104         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47106 2013-10-04  Alan Modra  <amodra@gmail.com>
47108         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47109         support.  Don't branch over align.
47110         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47111         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47112         support.  Rearrange tmp reg use to suit.  Comment.
47113         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47115 2013-10-04  Alan Modra  <amodra@gmail.com>
47117         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47119 2013-10-04  Alan Modra  <amodra@gmail.com>
47121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47122         conditional form of branch and link when obtaining pc.
47123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47125 2013-10-04  Alan Modra  <amodra@gmail.com>
47127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47128         HIWORD/LOWORD.
47129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47132 2013-10-04  Alan Modra  <amodra@gmail.com>
47134         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47135         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47136         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47137         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47138         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47139         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47140         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47141         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47142         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47143         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47145 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47146             Alistair Popple <alistair@ozlabs.au.ibm.com>
47147             Alan Modra <amodra@gmail.com>
47149         [BZ #15723]
47150         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47151         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47152         _dl_hwcap access for little-endian.
47153         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47154         destroy vmx regs when saving unaligned.
47155         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47156         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47157         destroy vmx regs when saving unaligned.
47159 2013-10-04  Alan Modra  <amodra@gmail.com>
47161         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47162         Don't use a union to pack hi/low value.
47164 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47166         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47167         for little-endian.
47168         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47169         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47170         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47171         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47172         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47174 2013-10-04  Alan Modra  <amodra@gmail.com>
47176         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47177         constants to usual value for .cst8 section, and remove redundant
47178         high address load.
47179         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47180         constant for 0x1p52.  Load little-endian words of double from
47181         correct stack offsets.
47183 2013-10-04  Alan Modra  <amodra@gmail.com>
47185         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47186         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47187         words of double from correct stack offsets.
47188         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47189         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47190         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47191         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47192         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47193         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47194         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47195         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47196         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47197         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47198         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47199         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47200         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47201         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47202         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47203         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47204         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47206 2013-10-04  Alan Modra  <amodra@gmail.com>
47208         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47209         64-bit int/double union.
47210         (_FPU_SETCW): Likewise.
47211         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47212         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47214 2013-10-04  Alan Modra  <amodra@gmail.com>
47216         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47217         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47219 2013-10-04  Alan Modra  <amodra@gmail.com>
47221         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47222         use vector int constants.
47223         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47225 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47227         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47228         array with long long.
47229         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47230         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47231         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47232         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47233         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47234         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47235         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47236         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47237         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47238         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47239         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47240         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47241         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47243 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47245         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47246         (__signbit): Likewise.  Correct for little-endian.
47247         (__signbitl): Call __signbit.
47248         (lrint): Correct for little-endian.
47249         (lrintf): Call lrint.
47251 2013-10-04  Alan Modra  <amodra@gmail.com>
47253         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47254         union 32-bit int array member with 64-bit int array.
47255         (t515, tm256): Double rather than long double.
47256         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47258 2013-10-04  Alan Modra  <amodra@gmail.com>
47260         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47261         Delete.
47262         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47263         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47264         version of math_ldbl.h.
47266 2013-10-04  Alan Modra  <amodra@gmail.com>
47268         [BZ #15734], [BZ #15735]
47269         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47270         all uses of ieee875 long double macros and unions.  Simplify test
47271         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47272         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47273         normalize after ldbl_extract_mantissa, and don't add hidden bit
47274         already handled.  Don't treat low word of ieee854 mantissa like
47275         low word of IBM long double and mask off bit when testing for
47276         zero.
47277         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47278         all uses of ieee875 long double macros and unions.  Simplify tests
47279         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47280         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47281         two1022, instead use their values.  Recognise that tests for large
47282         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47283         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47284         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47285         test for 0.0L and nan.  Correct negation.
47286         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47287         ieee875 long double macros and unions.  Correct output for large
47288         magnitude x.  Correct absolute value calculation.
47289         (__erfcl): Likewise.
47290         * math/libm-test.inc: Add tests for errors discovered in IBM long
47291         double versions of fmodl, remainderl, erfl and erfcl.
47293 2013-10-04  Alan Modra  <amodra@gmail.com>
47295         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47296         all uses of ieee854 long double macros and unions.  Simplify tests
47297         for long doubles that are fully specified by the high double.
47298         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47299         Likewise.
47300         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47301         Remove dead code too.
47302         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47303         (__ieee754_ynl): Likewise.
47304         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47305         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47306         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47307         Remove dead code too.
47308         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47309         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47310         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47311         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47312         Simplify.
47313         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47314         Simplify.
47315         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47316         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47317         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47318         Comment on variable precision.
47319         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47320         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47321         Likewise.
47322         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47323         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47324         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47325         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47326         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47328 2013-10-04  Alan Modra  <amodra@gmail.com>
47330         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47331         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47332         all uses of ieee854 long double macros and unions.
47333         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47334         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47335         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47336         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47337         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47338         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47339         Likewise.
47340         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47341         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47342         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47343         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47344         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47345         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47346         Simplify sign and nan test too.
47347         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47348         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47349         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47350         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47351         Likewise.
47352         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47353         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47354         Likewise.
47355         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47356         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47357         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47358         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47359         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47360         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47362 2013-10-04  Alan Modra  <amodra@gmail.com>
47364         * stdio-common/printf_size.c (__printf_size): Don't use
47365         union ieee854_long_double in fpnum union.
47366         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47367         signbit macro to retrieve sign from long double.
47368         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47369         retrieve sign from long double.
47370         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47371         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47372         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47373         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47374         * math/test-misc.c (main): Don't use union ieee854_long_double.
47376 2013-10-04  Alan Modra  <amodra@gmail.com>
47378         [BZ #15680]
47379         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47380         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47381         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47382         calculation.  Remove unnecessary test for denormal exponent.
47383         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47384         Correct handling of denormals.  Avoid undefined shift behaviour.
47385         Correct normalisation of low mantissa when low double is denormal.
47386         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47387         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47388         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47389         Correct normalisation of low mantissa.  Test for overflow of high
47390         mantissa and normalise.
47391         (ldbl_nearbyint): Use more readable constant for two52.
47392         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47393         (__mpn_construct_long_double): Fix test for overflow of high
47394         mantissa and correct normalisation.  Avoid undefined shift.
47396 2013-10-04  Alan Modra  <amodra@gmail.com>
47398         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47399         (union ibm_extended_long_double): Define as an array of ieee754_double.
47400         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47401         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47402         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47403         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47404         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47405         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47406         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47407         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47408         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47409         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47410         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47412 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47414         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47415         page size instead of calling getpagesize.
47417         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47418         (LOCFILE_ALIGN_MASK): Likewise.
47419         (LOCFILE_ALIGN_UP): Likewise.
47420         (LOCFILE_ALIGNED_P): Likewise.
47421         * locale/programs/ld-collate.c (collate_output): Use the new
47422         macros instead of __alignof__ (int32_t).
47423         * locale/weight.h (findidx): Likewise.
47425 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47427         [BZ #431]
47428         * manual/string.texi: Fix strncat and wcsncat.
47430 2013-10-03  Brooks Moses  <bmoses@google.com>
47432         [BZ #15915]
47433         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47434         * Makerules: ...here, and adjust associated comments.
47436 2013-10-02  Will Newton  <will.newton@linaro.org>
47438         * malloc/Makefile: Add tst-pvalloc.
47439         * malloc/tst-pvalloc.c: New file.
47441 2013-10-02  Will Newton  <will.newton@linaro.org>
47443         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47444         improve test coverage.
47446 2013-10-02  Will Newton  <will.newton@linaro.org>
47448         * malloc/Makefile: Add tst-posix_memalign.
47449         * malloc/tst-posix_memalign.c: New file.
47451 2013-10-01  Eric Blake  <eblake@redhat.com>
47453         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47454         Use __THROWNL rather than __THROW on static functions.
47456 2013-09-30  Petr Machata  <pmachata@redhat.com>
47458         * elf/elf.h (R_AARCH64_ABS16): New macro.
47459         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47460         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47461         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47462         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47463         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47464         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47465         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47466         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47467         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47468         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47469         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47470         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47471         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47472         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47473         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47474         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47475         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47476         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47477         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47478         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47479         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47480         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47481         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47482         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47483         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47484         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47485         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47486         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47487         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47488         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47489         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47490         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47491         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47492         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47493         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47494         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47495         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47496         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47497         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47498         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47499         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47500         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47501         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47502         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47503         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47504         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47505         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47506         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47507         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47508         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47509         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47510         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47511         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47512         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47513         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47514         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47515         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47516         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47517         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47518         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47519         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47520         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47521         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47522         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47523         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47524         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47525         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47526         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47527         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47528         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47529         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47530         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47531         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47532         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47533         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47534         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47535         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47536         (R_AARCH64_TLSDESC_LDR): Likewise.
47537         (R_AARCH64_TLSDESC_ADD): Likewise.
47538         (R_AARCH64_TLSDESC_CALL): Likewise.
47540 2013-09-30  Andreas Schwab  <schwab@suse.de>
47542         [BZ #15048]
47543         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47544         the nss database lookup.
47545         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47546         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47548 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47550         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47552 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47554         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47555         ${Bash-specific parameter/pattern/string} parameter expansion.
47556         * sysdeps/unix/make-syscalls.sh: Likewise.
47558 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47560         * sysdeps/sh/stackguard-macros.h: New file.
47562 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47564         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47566         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47567         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47568         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47569         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47571 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47573         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
47574         Fix thread ID register.
47576 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
47578         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
47579         [POSIX || UNIX98]: Require rather than permitting all symbols from
47580         <time.h>.
47581         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
47582         element of struct sched_param.
47583         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
47584         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
47585         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
47586         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
47587         constant.
47589 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
47591         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
47592         argument calculation.
47594 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47596         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
47597         Expect macro.
47598         [POSIX] (pthread_attr_t): Do not require type.
47599         [POSIX] (pthread_cond_t): Likewise.
47600         [POSIX] (pthread_condattr_t): Likewise.
47601         [POSIX] (pthread_key_t): Likewise.
47602         [POSIX] (pthread_mutex_t): Likewise.
47603         [POSIX] (pthread_mutexattr_t): Likewise.
47604         [POSIX] (pthread_once_t): Likewise.
47605         [POSIX] (pthread_t): Likewise.
47606         [POSIX-based standards] (pthread_atfork): Expect function.
47608 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
47609             Richard Sandiford  <richard@codesourcery.com>
47611         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
47612         (swap_endianness_p): New extern variable.
47613         (set_big_endian): New inline function.
47614         (maybe_swap_uint32): Likewise.
47615         (maybe_swap_uint32_array): Likewise.
47616         (maybe_swap_uint32_obstack): Likewise.
47617         * locale/programs/locfile.c: Include <stdbool.h>.
47618         (swap_endianness_p): New variable.
47619         (add_locale_uint32): Call maybe_swap_uint32.
47620         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
47621         (write_locale_data): Call maybe_swap_uint32_array.
47622         * locale/programs/ld-collate.c (obstack_int32_grow): Call
47623         maybe_swap_uint32.
47624         (obstack_int32_grow_fast): Likewise.
47625         (output_weightwc): Call maybe_swap_uint32_obstack.
47626         (collate_output): Likewise.
47627         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
47628         (OPT_LITTLE_ENDIAN): Likewise.
47629         (options): Add --little-endian and --big-endian options.
47630         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
47631         * locale/programs/locarchive.c: Include "locfile.h".
47632         (GET): New macro.
47633         (SET): Likewise.
47634         (INC): Likewise.
47635         (create_archive): Use the new macros to access fields of
47636         structures directly mapped from or written to locale archives.
47637         (oldlocrecentcmp): Likewise.
47638         (enlarge_archive): Likewise.
47639         (insert_name): Likewise.
47640         (add_alias): Likewise.
47641         (add_locale): Likewise.
47642         (delete_locales_from_archive): Likewise.
47643         (show_archive_content): Likewise.
47644         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
47645         locale data.
47647 2013-09-24  Roland McGrath  <roland@hack.frob.com>
47649         * manual/freemanuals.texi: Updated from (newly) canonical copy at
47650         http://www.gnu.org/doc/freemanuals.texi.
47651         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
47653 2013-09-24  Will Newton  <will.newton@linaro.org>
47655         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
47656         macro.
47658 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
47660         * locale/hashval.h (compute_hashval): Interpret bytes of key as
47661         unsigned char.
47663 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
47665         * manual/threads.texi (POSIX Threads): Fix a typo.
47667 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47669         [BZ #14547]
47670         * string/tst-strcoll-overflow.c: New test case.
47671         * string/Makefile (xtests): Add tst-strcoll-overflow.
47672         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
47673         cache if string sizes may cause integer overflow.
47675         [BZ #14547]
47676         * string/strcoll_l.c (coll_seq): New members rule, idx,
47677         save_idx and back_us.
47678         (get_next_seq_nocache): New function.
47679         (do_compare_nocache): New function.
47680         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
47681         when malloc fails.
47683 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
47685         [BZ #15754]
47686         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
47687         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
47688         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
47690         [BZ #15754]
47691         * elf/Makefile (tests): Add tst-ptrguard1.
47692         (tests-static): Add tst-ptrguard1-static.
47693         (tst-ptrguard1-ARGS): Define.
47694         (tst-ptrguard1-static-ARGS): Define.
47695         * elf/tst-ptrguard1.c: New file.
47696         * elf/tst-ptrguard1-static.c: New file.
47697         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
47698         * sysdeps/i386/stackguard-macros.h: Likewise.
47699         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47700         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47701         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47702         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47703         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47704         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47706 2013-09-23  Hector Marco  <hecmargi@upv.es>
47707             Ismael Ripoll  <iripoll@disca.upv.es>
47708             Carlos O'Donell  <carlos@redhat.com>
47710         [BZ #15754]
47711         * sysdeps/generic/stackguard-macros.h: Define
47712         __pointer_chk_guard_local and POINTER_CHK_GUARD.
47713         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
47714         Define __pointer_chk_guard_local.
47715         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
47716         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
47718 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
47720         [BZ #15859]
47721         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
47723 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
47725         * include/string.h (__ffs): Declare as hidden.
47726         * string/ffs.c (__ffs): Define as hidden.
47727         * sysdeps/i386/ffs.c (__ffs): Likewise.
47728         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
47729         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
47730         * sysdeps/s390/ffs.c (__ffs): Likewise.
47731         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
47733 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
47735         * NEWS: Mention malloc probes.
47737         * malloc/arena.c (new_heap): New memory_heap_new probe.
47738         (grow_heap): New memory_heap_more probe.
47739         (shrink_heap): New memory_heap_less probe.
47740         (heap_trim): New memory_heap_free probe.
47741         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
47742         (systrim): New memory_sbrk_less probe.
47743         * manual/probes.texi: Document them.
47745         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
47746         * manual/probes.texi: Document it.
47748         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
47749         (__libc_realloc): Add memory_realloc_retry probe.
47750         (__libc_memalign): Add memory_memalign_retry probe.
47751         (__libc_valloc): Add memory_valloc_retry probe.
47752         (__libc_pvalloc): Add memory_pvalloc_retry probe.
47753         (__libc_calloc): Add memory_calloc_retry probe.
47754         * manual/probes.texi: Document them.
47756         * malloc/arena.c (get_free_list): Add probe
47757         memory_arena_reuse_free_list.
47758         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47759         and memory_arena_reuse.
47760         (arena_get2) [!PER_THREAD]: Likewise.
47761         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47762         memory_arena_reuse_realloc.
47763         * manual/probes.texi: Document them.
47765         * malloc/malloc.c (__libc_free): Add
47766         memory_mallopt_free_dyn_thresholds probe.
47767         (__libc_mallopt): Add multiple memory_mallopt probes.
47768         * manual/probes.texi: Document them.
47770         * malloc/malloc.c: Include stap-probe.h.
47771         (__libc_mallopt): Add memory_mallopt probe.
47772         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47773         * manual/probes.texi: New.
47774         * manual/Makefile (chapters): Add probes.
47775         * manual/threads.texi: Set next node.
47777 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47779         [BZ #15963, #13985]
47780         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47781         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47782         Add `Chinese' to `nan' entry name.
47784 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47786         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47787         (POLYNOMIAL): Likewise.
47788         (TAYLOR_SINCOS): Likewise.
47789         (TAYLOR_SLOW): Likewise.
47790         (__sin): Use TAYLOR_SINCOS.
47791         (__cos): Likewise.
47792         (slow): Use TAYLOR_SLOW.
47793         (sloww): Likewise.
47794         (bsloww): Likewise.
47795         (csloww): Likewise.
47797 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47799         * stdlib/strtod_l.c: Fix buffer overrun.
47801 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47803         * benchtests/Makefile (bench): Add sincos.
47804         * benchtests/bench-sincos.c: New file.
47806         * math/libm-test.inc (cos_test_data): New test inputs.
47807         (sin_test_data): Likewise.
47809         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47810         macro.
47811         (__sin): Use it.
47812         (__cos): Likewise.
47813         (slow1): Likewise.
47814         (slow2): Likewise.
47815         (sloww1): Likewise.
47816         (sloww2): Likewise.
47817         (bsloww1): Likewise.
47818         (bsloww2): Likewise.
47819         (cslow2): Likewise.
47820         (csloww1): Likewise.
47821         (csloww2): Likewise.
47823         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47824         function.
47825         (__sin): Use it.
47826         (__cos): Likewise.
47828         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47829         gotos.
47830         (__cos): Likewise.
47832 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47834         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47835         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47836         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47837         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47838         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47839         * elf/cache.c (print_entry): Handle the new cache flags.
47841 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47842             Aldy Hernandez  <aldyh@redhat.com>
47844         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47845         Change condition to [_SOFT_FLOAT].
47846         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47847         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47848         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47849         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47850         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47851         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47852         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47853         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47854         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47855         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47856         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47858         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47861         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47862         declaration.
47864 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47866         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47867         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47868         (__longjmp): Use LOAD_GP to load saved GPRs.
47869         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47870         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47871         (__sigsetjmp): Use SAVE_GP to save GPRs.
47873         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47874         Do not append -msoft-float.
47875         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47877 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47879         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47881 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47883         [BZ #15966]
47884         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47885         (_FPU_GETCW): Use initial "__" on variable and field names but not
47886         on macro parameter name.
47887         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47888         parentheses around reference to macro parameter.
47890 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47892         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47893         prototype.
47894         (ctype_startup): Use uint32_t in cast and sizeof for
47895         ctype->charnames.
47897 2013-09-11  Jia Liu  <proljc@gmail.com>
47899         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47900         __daddr_t_defined.
47901         [__FreeBSD__]: Likewise.
47903 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47906         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47907         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47908         (strchr): Remove __strchr_sse42 ifunc selection.
47909         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47910         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47912 2013-09-11  Will Newton  <will.newton@linaro.org>
47914         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47915         parameter to RES. Remove hardcoded 1000 value.
47916         * benchtests/bench-skeleton.c (main): Pass RES parameter
47917         to TIMING_INIT and multiply result by 1000.
47919 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47923 2013-09-11  Andreas Schwab  <schwab@suse.de>
47925         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47926         if not defined.
47927         (O_TMPFILE) [__USE_GNU]: Define.
47928         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47929         Define.
47931 2013-09-11  Will Newton  <will.newton@linaro.org>
47933         [BZ #15857]
47934         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47935         does not overflow.
47937 2013-09-11  Will Newton  <will.newton@linaro.org>
47939         [BZ #15856]
47940         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47941         does not overflow.
47943 2013-09-11  Will Newton  <will.newton@linaro.org>
47945         [BZ #15855]
47946         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47947         does not overflow.
47949 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47951         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47952         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47953         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47954         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47955         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47957 2013-09-10  Allan McRae  <allan@archlinux.org>
47959         [BZ #15748]
47960         * manual/arith.texi (Parsing of Floats): Clarify
47961         cross-reference.
47963         [BZ #15849]
47964         * manual/install.texi (Running make install): Mention
47965         --enable-pt-chown.
47966         * INSTALL: Regenerated.
47968 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47970         * csu/init-first.c (_init): Remove the !SHARED condition around
47971         FPU control word initialization.
47972         * elf/dl-support.c (_dl_fpu_control): New variable.
47973         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47974         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47975         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47976         * math/test-fpucw-static.c: New file.
47977         * math/test-fpucw-ieee.c: New file.
47978         * math/test-fpucw-ieee-static.c: New file.
47979         * math/Makefile (tests): Add `test-fpucw-ieee' and
47980         `$(tests-static)'.
47981         (tests-static): New variable.
47982         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47983         dependency to...
47984         [($(build-shared),yes)]
47985         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47986         ... this.
47987         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47988         New dependency.
47990 2013-09-09  Allan McRae  <allan@archlinux.org>
47992         [BZ #15939]
47993         * manual/string.texi (Collation Functions): Fix typo in
47994         strcoll example.
47995         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47997         [BZ #15893]
47998         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48000         [BZ #15892]
48001         * libio/memstream.c (open_memstream): Fix memory leak.
48002         * libio/wmemstream.c (open_wmemstream): Likewise.
48004         [BZ #15895]
48005         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48007 2013-09-09  Will Newton  <will.newton@linaro.org>
48009         * malloc/Makefile: Add tst-realloc to tests.
48010         * malloc/tst-realloc.c: New file.
48012 2013-09-09  Allan McRae  <allan@archlinux.org>
48014         [BZ #15844]
48015         * COPYING: Update from GNU website to fix FSF address.
48016         * COPYING.LIB: Likewise.
48018 2013-09-06  David S. Miller  <davem@davemloft.net>
48020         * po/zh_TW.po: Update Chinese (traditional) translation from
48021         translation project.
48023 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48024             Joseph Myers  <joseph@codesourcery.com>
48026         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48027         "localeinfo.h".
48028         (obstack_chunk_alloc): New macro.
48029         (obstack_chunk_free): Likewise.
48030         (record_offset): New function.
48031         (init_locale_data): Likewise.
48032         (align_locale_data): Likewise.
48033         (add_locale_empty): Likewise.
48034         (add_locale_raw_data): Likewise.
48035         (add_locale_raw_obstack): Likewise.
48036         (add_locale_string): Likewise.
48037         (add_locale_wstring): Likewise.
48038         (add_locale_uint32): Likewise.
48039         (add_locale_uint32_array): Likewise.
48040         (add_locale_char): Likewise.
48041         (start_locale_structure): Likewise.
48042         (end_locale_structure): Likewise.
48043         (start_locale_prelude): Likewise.
48044         (end_locale_prelude): Likewise.
48045         (write_locale_data): Take locale_file structure rather than an
48046         iovec.
48047         * locale/programs/locfile.h: Include "obstack.h".
48048         (struct locale_file): Change to store locale file contents instead
48049         of header.
48050         (init_locale_data): New prototype.
48051         (align_locale_data): Likewise.
48052         (add_locale_empty): Likewise.
48053         (add_locale_raw_data): Likewise.
48054         (add_locale_raw_obstack): Likewise.
48055         (add_locale_string): Likewise.
48056         (add_locale_wstring): Likewise.
48057         (add_locale_uint32): Likewise.
48058         (add_locale_uint32_array): Likewise.
48059         (add_locale_char): Likewise.
48060         (start_locale_structure): Likewise.
48061         (end_locale_structure): Likewise.
48062         (start_locale_prelude): Likewise.
48063         (end_locale_prelude): Likewise.
48064         (write_locale_data): Update prototype.
48065         * locale/programs/3level.h (struct TABLE): Remove result field.
48066         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48067         Use new locale_file interface.
48068         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48069         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48070         * locale/programs/ld-address.c (address_output): Use new
48071         locale_file interface.
48072         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48073         NO_ADD_LOCALE.
48074         (collate_finish): Don't call collseq_table_finalize.
48075         (collate_output): Use new locale_file interface.
48076         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48077         in file.
48078         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48079         (TABLE): Move defines earlier in file.
48080         (ELEMENT): Likewise.
48081         (DEFAULT): Likewise.
48082         (wctrans_table_add): Move macro and inline function earlier in
48083         file.
48084         (struct wctype_table): Move type earlier in file.
48085         (add_locale_wctype_table): New static prototype.
48086         (struct locale_ctype_t): Use logical types instead of struct iovec
48087         pointers for members.
48088         (ctype_output): Use new locale_file interface.
48089         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48090         new locale_file interface.
48091         (allocate_arrays): Update for use of new locale_file interface.
48092         * locale/programs/ld-identification.c (identification_output): Use
48093         new locale_file interface.
48094         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48095         * locale/programs/ld-messages.c (messages_output): Likewise.
48096         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48097         * locale/programs/ld-name.c (name_output): Likewise.
48098         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48099         * locale/programs/ld-paper.c (paper_output): Likewise.
48100         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48101         * locale/programs/ld-time.c (time_output): Likewise.
48103 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48105         * benchtests/Makefile: Add memrchr benchmark.
48106         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48107         benchmark as memrchr.
48108         * benchtests/bench-memrchr-ifunc.c: New file.
48109         * benchtests/bench-memrchr.c: New file.
48111 2013-09-06   Will Newton  <will.newton@linaro.org>
48113         * benchtests/Makefile (string-bench): Add memcpy.
48115 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48116             Cong Wang  <amwang@redhat.com>
48118         [BZ #15850]
48119         * sysdeps/unix/sysv/linux/bits/in.h
48120         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48121         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48122         before __USE_KERNEL_IPV6_DEFS uses.
48123         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48124         IPPROTO_BEETPH.
48125         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48126         sockaddr_in6, or ipv6_mreq.
48128 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48130         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48131         memory access for final bytes in some large inputs.
48132         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48134 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48136         * string/test-memrchr.c: New file.
48137         * string/test-memrchr-ifunc.c: New file.
48138         * string/Makefile: Add new memrchr testcase.
48140 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48142         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48143         fanotify_init returns EPERM.
48145 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48147         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48148         errors.
48149         (top level): Treat second token from macro or constant entries for
48150         allowed headers as allowed.
48151         * include/complex.h: Condition internal declarations on
48152         [!_ISOMAC].
48153         * include/fenv.h: Condition include of <stdbool.h> and internal
48154         declarations on [!_ISOMAC].
48156 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48158         [BZ #15923]
48159         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48161 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48163         * configure.in (--enable-versioning): Remove configure option.
48164         (libc_cv_asm_symver_directive): Remove configure test.
48165         (libc_cv_ld_version_script_option): Likewise.
48166         (VERSIONING): Remove variable and AC_SUBST.
48167         (DO_VERSIONING): Remove AC_DEFINE.
48168         * configure: Regenerated.
48169         * config.h.in (DO_VERSIONING): Remove macro.
48170         * Makerules [$(versioning) = yes]: Change conditionals to
48171         [$(build-shared) = yes].
48172         * config.make.in (versioning): Remove variable.
48173         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48174         [$(build-shared) = yes].
48175         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48176         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48177         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48178         [$(build-shared) = yes].
48179         * extra-lib.mk [$(versioning) = yes]: Likewise.
48180         * hurd/Makefile [$(versioning) = yes]: Likewise.
48181         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48182         [SHARED].
48183         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48184         [SHARED].
48185         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48186         [SHARED && !NO_HIDDEN].
48187         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48188         [SHARED].
48189         [SHARED && DO_VERSIONING]: Likewise..
48190         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48191         [$(build-shared) = yes].
48192         * manual/install.texi (--disable-versioning): Remove
48193         documentation.
48194         * INSTALL: Regenerated.
48195         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48196         to [SHARED].
48197         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48198         [$(build-shared) = yes].
48199         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48200         * sysdeps/i386/i686/multiarch/strstr-c.c
48201         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48202         [SHARED && !NO_HIDDEN].
48203         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48204         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48205         * sysdeps/powerpc/powerpc32/dl-machine.c
48206         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48207         * sysdeps/powerpc/powerpc32/sysdep.h
48208         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48209         to [SHARED && PIC && !NO_HIDDEN].
48210         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48211         conditional to [SHARED].
48213 2013-09-04   Will Newton  <will.newton@linaro.org>
48215         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48216         * benchtests/bench-string.h: Include bench-timing.h instead
48217         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48218         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48219         call to HP_TIMING_DIFF_INIT.
48220         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48221         instead of hp-timing.h macros.
48222         * benchtests/bench-memchr.c: Likewise.
48223         * benchtests/bench-memcmp.c: Likewise.
48224         * benchtests/bench-memcpy.c: Likewise.
48225         * benchtests/bench-memmem.c: Likewise.
48226         * benchtests/bench-memmove.c: Likewise.
48227         * benchtests/bench-memset.c: Likewise.
48228         * benchtests/bench-rawmemchr.c: Likewise.
48229         * benchtests/bench-strcasecmp.c: Likewise.
48230         * benchtests/bench-strcasestr.c: Likewise.
48231         * benchtests/bench-strcat.c: Likewise.
48232         * benchtests/bench-strchr.c: Likewise.
48233         * benchtests/bench-strcmp.c: Likewise.
48234         * benchtests/bench-strcpy.c: Likewise.
48235         * benchtests/bench-strcpy_chk.c: Likewise.
48236         * benchtests/bench-strlen.c: Likewise.
48237         * benchtests/bench-strncasecmp.c: Likewise.
48238         * benchtests/bench-strncat.c: Likewise.
48239         * benchtests/bench-strncmp.c: Likewise.
48240         * benchtests/bench-strncpy.c: Likewise.
48241         * benchtests/bench-strnlen.c: Likewise.
48242         * benchtests/bench-strpbrk.c: Likewise.
48243         * benchtests/bench-strrchr.c: Likewise.
48244         * benchtests/bench-strspn.c: Likewise.
48245         * benchtests/bench-strstr.c: Likewise.
48247 2013-09-04  Will Newton  <will.newton@linaro.org>
48249         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48251 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48253         [BZ #15427]
48254         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48255         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48256         * math/libm-test.inc (lgamma_test_data): Add more tests.
48257         * sysdeps/i386/fpu/libm-test-ulps: Update.
48258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48260 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48262         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48264         Add ifunc.
48265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48266         Add strcmp-sse2-unaligned
48267         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48269 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48271         * Versions.def (libc): Add GLIBC_2.19.
48273 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48275         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48276         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48278 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48280         [BZ #14155]
48281         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48282         intermediate calculations in recurrence.
48283         (__ieee754_ynf): Likewise.
48284         * math/libm-test.inc (jn_test_data): Do not allow spurious
48285         underflow exception.  Add more tests.
48286         (yn_test_data): Add more tests.
48287         * sysdeps/i386/fpu/libm-test-ulps: Update.
48288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48290 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48292         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48294 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48296         * csu/init-first.c: Fix then/than typos.
48297         * locale/programs/ld-collate.c: Likewise.
48298         * locale/programs/linereader.h: Likewise.
48299         * manual/charset.texi: Likewise.
48300         * manual/filesys.texi: Likewise.
48301         * manual/stdio.texi: Likewise.
48302         * manual/string.texi: Likewise.
48303         * stdlib/fmtmsg.c: Likewise.
48304         * sysdeps/i386/stpncpy.S: Likewise.
48305         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48306         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48307         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48308         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48310 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48312         * elf/dl-open.c: Fix typos.
48313         * iconvdata/gbbig5.c: Likewise.
48314         * iconvdata/iso-2022-jp.c: Likewise.
48315         * iconv/gconv_int.h: Likewise.
48316         * iconv/loop.c: Likewise.
48317         * nis/rpcsvc/nis.h: Likewise.
48318         * resolv/ns_name.c: Likewise.
48319         * stdio-common/vfscanf.c: Likewise.
48320         * streams/stropts.h: Likewise.
48321         * sunrpc/rpc_thread.c: Likewise.
48322         * sysdeps/i386/strpbrk.S: Likewise.
48323         * sysdeps/ieee754/k_standard.c: Likewise.
48324         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48325         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48326         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48327         * sysdeps/mach/hurd/profil.c: Likewise.
48328         * sysdeps/s390/dl-procinfo.h: Likewise.
48329         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48330         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48331         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48332         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48333         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48335 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48337         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48340 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48342         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48343         aix specific files.
48344         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48345         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48346         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48347         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48348         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48349         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48350         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48351         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48353 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48354             Roland McGrath  <roland@hack.frob.com>
48356         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48357         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48359 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48361         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48362         __executable_start symbol instead of _start.
48364 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48366         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48367         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48368         Move macros to...
48369         * sysdeps/gnu/ldsodefs.h: ... this new file.
48371         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48372         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48373         instead of ELFOSABI_LINUX.
48375         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48376         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48377         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48378         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48379         Likewise.
48380         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48381         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48382         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48383         Likewise.
48384         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48385         (ibm_extended_long_double): Add ieee_nan member.
48386         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48387         (do_test): New function.
48389         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48390         TEST_TRUNC.
48391         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48392         functions, renamed from truncdfsf_test, trunctfsf_test,
48393         trunctfdf_test.
48394         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48395         functions.
48396         (do_test): Run all these.
48398 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48400         * argp/argp-help.c: Fix typos.
48401         * argp/argp-parse.c: Likewise.
48402         * debug/backtracesyms.c: Likewise.
48403         * elf/elf.h: Likewise.
48404         * malloc/malloc.c: Likewise.
48405         * nis/nis_print.c: Likewise.
48406         * resolv/res_comp.c: Likewise.
48407         * stdlib/stdlib.h: Likewise.
48408         * sunrpc/clnt_tcp.c: Likewise.
48409         * sunrpc/clnt_udp.c: Likewise.
48410         * sunrpc/clnt_unix.c: Likewise.
48411         * sysdeps/unix/bsd/ptsname.c: Likewise.
48412         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48413         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48415         Likewise.
48416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48417         Likewise.
48418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48419         Likewise.
48420         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48422 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48424         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48427 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48429         [BZ #15897]
48430         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48431         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48432         ($(objpfx)bug-dl-leaf): New rule.
48433         ($(objpfx)bug-dl-leaf.so): Likewise.
48434         ($(objpfx)bug-dl-leaf.out): Likewise.
48435         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48436         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48437         * dlfcn/bug-dl-leaf.c: New test.
48438         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48439         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48440         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48441         (dlclose): Likewise.
48442         (dlmopen): Likewise.
48444 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48446         * include/netdb.h [!_ISOMAC]:
48447         Don't include <tls.h>.
48448         (h_errno, __libc_h_errno): Move declaration and macros out of
48449         [_LIBC_REENTRANT].
48451         * include/resolv.h [_RESOLV_H_]:
48452         Don't include <tls.h>.
48453         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48454         * resolv/res_libc.c: Don't include <tls.h>.
48455         (_res): Use __attribute__ ((nocommon)) in place of
48456         __attribute__ ((section (".bss"))).
48458         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48459         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48461         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48463         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48464         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48466         * resolv/res_mkquery.c: Include <sys/time.h>.
48468         * inet/ifreq.c: Moved to ...
48469         * sysdeps/unix/ifreq.c: ... here.
48470         * inet/ifreq.c: New file, true stub version.
48472         * socket/sa_len.c: New file.
48473         * socket/Makefile (aux): Add it.
48474         * sysdeps/unix/sysv/linux/Makefile
48475         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48476         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48477         and #include <socket/sa_len.c>.
48478         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48479         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48481         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48482         * bits/socket.h: ... here.
48484         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48485         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48486         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48488 2013-08-27  Andreas Schwab  <schwab@suse.de>
48490         [BZ #15736]
48491         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48492         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48493         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48494         * string/test-strcasecmp.c (test_main): Run tests in several
48495         locales.
48496         * string/test-strncasecmp.c (test_main): Likewise.
48498         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48499         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48500         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48501         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48502         (__strncasecmp_ssse3) [PIC]: Likewise.
48504 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48506         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48508         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48509         instead of explicitly declaring xdecrypt.
48510         * nis/nss_nis/nis-publickey.c: Likewise.
48512 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48514         [BZ #15890]
48515         * nscd/aicache.c: Include res_hconf.h.
48516         (addhstaiX): Initialize res_hconf.
48518 2013-08-26  Andreas Schwab  <schwab@suse.de>
48520         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48521         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48523 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48525         * nscd/aicache.c (addhstaiX): Fix indentation.
48527 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48529         * configure.ac: Quote $build_pt_chown test.
48530         * configure: Regenerated.
48532 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48534         [BZ #15532]
48535         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48536         * math/s_cexpf.c (__cexpf): Likewise.
48537         * math/s_cexpl.c (__cexpl): Likewise.
48538         * math/libm-test.inc (cexp_test_data): Correct expected return
48539         value for NaN + i0.  Add another test.
48541 2013-08-22  David S. Miller  <davem@davemloft.net>
48543         * po/ca.po: Update Catalan translation from translation project.
48544         * po/uk.po: Add Ukrainian translations from translation project.
48546 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48548         [BZ #15797]
48549         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48550         is infinite, not alongside NaN test.
48551         * math/s_fdimf.c (__fdimf): Likewise.
48552         * math/s_fdiml.c (__fdiml): Likewise.
48553         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48554         errno is unchanged.
48556 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48558         * argp/argp-help.c: Fix typos.
48559         * crypt/speeds.c: Likewise.
48560         * csu/check_fds.c: Likewise.
48561         * elf/dl-load.c: Likewise.
48562         * elf/dl-open.c: Likewise.
48563         * elf/reldep3.c: Likewise.
48564         * elf/reldep.c: Likewise.
48565         * elf/sprof.c: Likewise.
48566         * iconv/iconv_charmap.c: Likewise.
48567         * iconv/skeleton.c: Likewise.
48568         * iconv/strtab.c: Likewise.
48569         * io/lockf64.c: Likewise.
48570         * libio/libioP.h: Likewise.
48571         * resolv/gai_notify.c: Likewise.
48572         * resolv/ns_name.c: Likewise.
48573         * resolv/ns_samedomain.c: Likewise.
48574         * resolv/res_send.c: Likewise.
48575         * stdlib/random.c: Likewise.
48576         * sunrpc/rpc/xdr.h: Likewise.
48577         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
48578         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48579         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48580         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48581         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48582         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48584         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48585         * sysdeps/mach/hurd/check_fds.c: Likewise.
48586         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
48587         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48588         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48589         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
48590         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48591         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
48592         * sysdeps/pthread/aio_notify.c: Likewise.
48593         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
48594         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
48595         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
48596         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48597         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48599 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48601         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
48602         version if bit_Slow_SSE4_2 is set.
48603         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48604         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48606 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48608         [BZ #15867]
48609         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
48610         trampoline stack frame information.
48611         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
48612         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
48613         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
48614         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
48615         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
48616         * sysdeps/unix/sysv/linux/powerpc/init-first.c
48617         (_libc_vdso_platform_setup): Initialize the signal trampolines.
48618         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
48619         sa_flags value.
48620         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
48621         interrupting a syscall and set with option SA_SIGINFO.
48623 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48625         [BZ #15531]
48626         * math/s_cproj.c (__cproj): Only return an infinity if one part of
48627         argument is infinite.
48628         * math/s_cprojf.c (__cprojf): Likewise.
48629         * math/s_cprojl.c (__cprojl): Likewise.
48630         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
48631         * math/libm-test.inc (cproj_test_data): Add more tests.
48633         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
48635         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
48636         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
48637         size.  Use __ffs to determine corresponding shift.
48639 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
48640             Roland McGrath  <roland@hack.frob.com>
48642         * Makefile (INSTALL): Remove trailing blank lines from output of
48643         makeinfo.
48645 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48647         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
48648         Align 32 bit compat elf_greg to 8 bytes.
48650 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
48652         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
48654 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48656         * string/strcoll_l.c (coll_seq): New structure.
48657         (get_next_seq_cached): New function.
48658         (get_next_seq): New function.
48659         (do_compare): New function.
48660         (STRCOLL): Use GNU style definition.  Simplify implementation
48661         by using get_next_seq, get_next_seq_cached and do_compare.
48663 2013-08-16  Florian Weimer  <fweimer@redhat.com>
48665         [BZ #14699]
48666         CVE-2013-4237
48667         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
48668         member.
48669         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
48670         member.
48671         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
48672         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
48673         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
48674         conditional.
48675         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
48676         GETDENTS_64BIT_ALIGNED.
48677         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48678         * manual/filesys.texi (Reading/Closing Directory): Document
48679         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
48680         strongly.
48681         * manual/conf.texi (Limits for Files): Add portability note to
48682         NAME_MAX, PATH_MAX.
48683         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
48685 2013-08-13  Andreas Schwab  <schwab@suse.de>
48687         [BZ #15749]
48688         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
48689         of fabs.
48690         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
48691         LDBL_MAX_EXP >= 16384]: Add tests for it.
48693 2013-08-12  David S. Miller  <davem@davemloft.net>
48695         * version.h (RELEASE): Set to "development".
48696         (VERSION): Set to "2.18.90".
48697         * NEWS: Add 2.19 section.
48699 2013-08-03  David S. Miller  <davem@davemloft.net>
48701         * po/ko.po: Update Korean translation from translation project.
48703 2013-08-01  David S. Miller  <davem@davemloft.net>
48705         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
48706         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
48707         Bilka.
48709 2013-07-30  David S. Miller  <davem@davemloft.net>
48711         * po/fr.po: Update French translation from translation project.
48713 2013-07-28  David S. Miller  <davem@davemloft.net>
48715         * po/cs.po: Update Czech translation from translation project.
48717         * po/sv.po: Update Swedish translation from translation project.
48719 2013-07-27  David S. Miller  <davem@davemloft.net>
48721         * po/eo.po: Update Esperanto translation from translation project.
48723         * po/vi.po: Update Vietnamese translation from translation project.
48725         * po/de.po: Update German translation from translation project.
48727 2013-07-26  David S. Miller  <davem@davemloft.net>
48729         * po/bg.po: Update Bulgarian translation from translation project.
48731         * po/nl.po: Update Dutch translation from translation project.
48732         * po/pl.po: Update Polish translation from translation project.
48733         * po/ru.po: Update Russian translation from translation project.
48735 2013-07-24  David S. Miller  <davem@davemloft.net>
48737         * po/libc.pot: Update.
48739 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48741         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
48742         variable page size.
48743         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
48744         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
48745         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
48747 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48749         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
48751 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48752             Andreas Schwab  <schwab@suse.de>
48753             Roland McGrath  <roland@hack.frob.com>
48754             Joseph Myers  <joseph@codesourcery.com>
48755             Carlos O'Donell  <carlos@redhat.com>
48757         [BZ #15755]
48758         * config.h.in: Define HAVE_PT_CHOWN.
48759         * config.make.in (build-pt-chown): New variable.
48760         * configure.in (--enable-pt_chown): New configure option.
48761         * configure: Regenerate.
48762         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48763         build-pt-chown is enabled.
48764         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48765         pt_chown to fix pty ownership.
48766         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48767         CLOSE_ALL_FDS.
48768         * manual/install.texi (Configuring and compiling): Mention
48769         --enable-pt_chown. Add @findex for grantpt.
48770         * INSTALL: Regenerate.
48772 2013-07-20  David S. Miller  <davem@davemloft.net>
48774         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48775         difference between 32-bit and 64-bit.
48777 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48779         [BZ #15711]
48780         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48781         Avoid system header dependency with -ffreestanding.
48782         ($(objpfx)bits/syscall%d): Likewise.
48784 2013-07-13  David S. Miller  <davem@davemloft.net>
48786         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48787         underflows from atanl/atan2l due to bug 15319.
48788         (casinh_test_data): Likewise.
48790 2013-07-07  David S. Miller  <davem@davemloft.net>
48792         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48794 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48796         * sysdeps/i386/fpu/libm-test-ulps: Update.
48797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48799 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48801         * configure.in (--enable-lock-elision): Fix message text.
48802         * INSTALL: Regenerate.
48803         * configure: Regenerate.
48805 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48809 2013-07-03  Andreas Jaeger  <aj@suse.de>
48811         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48812         define.
48813         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48814         (ptrace_peeksiginfo_args): Add.
48815         (__ptrace_peeksiginfo_flags): Add.
48816         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48817         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48818         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48820 2013-07-03  Allan McRae  <allan@archlinux.org>
48822         * sysdeps/i386/fpu/libm-test-ulps: Update.
48824 2013-07-02  David S. Miller  <davem@davemloft.net>
48826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48828 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48832 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48834         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48837 2013-07-02  Andi Kleen <ak@linux.intel.com>
48839         * config.h.in (ENABLE_LOCK_ELISION): Add.
48840         * configure.in (--enable-lock-elision): Add option.
48841         * manual/install.texi: Document --enable lock elision.
48842         * configure: Regenerate
48843         * INSTALL: Regenerate.
48845 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48847         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48848         SSE4.2 strcasecmp for libc.a.
48849         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48851 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48853         [BZ #13304]
48854         * soft-fp/op-common.h (_FP_FMA): New macro.
48855         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48856         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48857         (_FP_MUL_MEAT_1_imm): ... here.
48858         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48859         (_FP_MUL_MEAT_1_wide): ... here.
48860         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48861         (_FP_MUL_MEAT_1_hard): ... here.
48862         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48863         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48864         (_FP_MUL_MEAT_2_wide): ... here.
48865         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48866         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48867         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48868         (_FP_MUL_MEAT_2_gmp): ... here.
48869         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48870         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48871         (_FP_MUL_MEAT_4_wide): ... here.
48872         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48873         (_FP_MUL_MEAT_4_gmp): ... here.
48874         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48875         (_FP_WFRACBITS_DW_S): Likewise.
48876         (_FP_WFRACXBITS_DW_S): Likewise.
48877         (_FP_HIGHBIT_DW_S): Likewise.
48878         (FP_FMA_S): Likewise.
48879         (_FP_FRAC_HIGH_DW_S): Likewise.
48880         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48881         (_FP_WFRACBITS_DW_D): Likewise.
48882         (_FP_WFRACXBITS_DW_D): Likewise.
48883         (_FP_HIGHBIT_DW_D): Likewise.
48884         (FP_FMA_D): Likewise.
48885         (_FP_FRAC_HIGH_DW_D): Likewise.
48886         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48887         (_FP_WFRACBITS_DW_E): Likewise.
48888         (_FP_WFRACXBITS_DW_E): Likewise.
48889         (_FP_HIGHBIT_DW_E): Likewise.
48890         (FP_FMA_E): Likewise.
48891         (_FP_FRAC_HIGH_DW_E): Likewise.
48892         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48893         (_FP_WFRACBITS_DW_Q): Likewise.
48894         (_FP_WFRACXBITS_DW_Q): Likewise.
48895         (_FP_HIGHBIT_DW_Q): Likewise.
48896         (FP_FMA_Q): Likewise.
48897         (_FP_FRAC_HIGH_DW_Q): Likewise.
48898         * soft-fp/fmasf4.c: New file.
48899         * soft-fp/fmadf4.c: Likewise.
48900         * soft-fp/fmatf4.c: Likewise.
48902 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48905         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48906         Silvermont.
48907         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48908         macro.
48909         (index_Slow_SSE4_2): Likewise.
48910         (index_Prefer_PMINUB_for_stringop): Likewise.
48911         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48912         bit_Slow_SSE4_2 is set.
48913         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48914         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48916 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48918         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48919         rtld_global._dl_hwcap2.
48920         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48921         POWER8.
48922         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48923         POWER8 feature descriptions defined in _dl_hwcap2.
48924         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48925         string handling for POWER8 feature bits.
48926         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48927         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48928         _dl_powerpc_cap_flags.
48929         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48930         * sysdeps/powerpc/rtld-global-offsets.sym
48931         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48932         _dl_hwcap2 in the rtld_global_ro structure.
48934 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48936         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48937         hardware capabilities in support of AT_HWCAP2.
48938         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48939         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48940         GLRO(dl_hwcap2).
48941         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48942         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48943         explicitly the unknown a_type display mechanism is used.
48944         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48945         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48946         struct member.
48947         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48948         to macro prototype for AT_HWCAP2 support.
48949         * sysdeps/i386/dl-procinfo.h: Likewise.
48950         * sysdeps/s390/dl-procinfo.h: Likewise.
48951         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48952         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48953         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48954         return -1 for unknown a_type display fallback.
48955         * sysdeps/sparc/dl-procinfo.h: Likewise.
48956         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48957         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48959 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48961         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48962         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48964 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48966         [BZ #12492]
48967         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48968         mprotect making __stack_prot writable.
48970 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48971             Joseph Myers  <joseph@codesourcery.com>
48973         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48974         as being properly aligned.
48976 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48978         * dlfcn/modstatic5.c: New file.
48979         * dlfcn/tststatic5.c: New file.
48980         * dlfcn/Makefile (tests): Add tststatic5.
48981         (tests-static): Likewise.
48982         (modules-names): Add modstatic5.
48983         (tststatic5-ENV): New variable.
48984         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48986         [BZ #15022]
48987         * elf/dl-support.c (_dl_main_map): New variable.
48988         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48989         (_dl_nns, _dl_load_adds): Set to 1.
48990         (_dl_initial_searchlist): Refer to _dl_main_map.
48991         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48992         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48993         call to _dl_get_origin.
48994         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48995         around call_map.
48996         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48997         * dlfcn/modstatic3.c: New file.
48998         * dlfcn/tststatic3.c: New file.
48999         * dlfcn/tststatic4.c: New file.
49000         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49001         (tests-static): Likewise.
49002         (modules-names): Add modstatic3.
49003         (tststatic3-ENV, tststatic4-ENV): New variables.
49004         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49005         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49007 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49009         * configure.in (CC): Require GCC version 4.4 or later.
49010         * configure: Regenerated.
49011         * manual/install.texi (Tools for Compilation): Update GCC version
49012         requirement.
49013         * INSTALL: Regenerated.
49015 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49017         [BZ #15674]
49018         * string/test-memcmp.c (check2): New.
49019         (main): Call check2.
49021         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49023 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49025         [BZ #15022]
49026         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49027         over to...
49028         (dl_open_worker) [!SHARED]: ... here.
49030 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49032         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49034 2013-06-25  Richard Henderson  <rth@redhat.com>
49036         * locale/programs/locarchive.c: Include <libc-internal.h>
49038 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49040         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49041         trailing whitespace removed.
49043 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49045         [BZ #10283]
49046         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49047         * locale/programs/locarchive.c: Include libc-mmap.h.
49048         (prepare_address_space): Take two new outputs (the mmap base and len).
49049         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49050         values.
49051         (create_archive): Declare new mmap base and len values for
49052         prepare_address_space, and store the result in ah.
49053         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49054         (enlarge_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         Declare new mmap base and len values for
49057         prepare_address_space, and store the result in new_ah.
49058         (open_archive): Declare new mmap base and len values for
49059         prepare_address_space, and store the result in ah.
49060         (close_archive): If ah->mmap_base is not NULL, use that and
49061         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49062         * sysdeps/generic/libc-mmap.h: New file.
49064 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49066         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49067         (ALIGN_UP): Likewise.
49068         (PTR_ALIGN_DOWN): Likewise.
49069         (PTR_ALIGN_UP): Likewise.
49071 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49073         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49074         entry mapped to PPC_PLATFORM_POWER8.
49075         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49076         POWER8.
49077         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49078         (_dl_string_platform): Add case for exporting platform position for
49079         POWER8.
49080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49081         search path to sysdeps/powerpc/powerpc32/power8 directory.
49082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49083         search path to sysdeps/powerpc/powerpc64/power8 directory.
49084         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49085         power7 directories.
49086         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49087         power7 directories.
49089 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49091         * INSTALL: Regenerate.
49093         * nscd/connections.c (nscd_init): Fix comment.
49095 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49097         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49099         [BZ #15667]
49100         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49101         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49103 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49105         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49106         DL_DST_REQ_STATIC.
49107         (DL_DST_REQ_STATIC): Remove macro.
49109 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49111         [BZ #7006]
49112         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49113         with a shift of 0 bits.
49115 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49117         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49118         $(tststatic-ENV).
49120 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49122         [BZ #15655]
49123         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49125 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49127         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49128         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49129         accepts -fno-tree-loop-distribute-patterns.
49130         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49131         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49132         recursive call.
49133         * string/memset.c (memset): Likewise.
49134         * string/test-memmove.c (simple_memmove): Disable loop transformation
49135         to library calls.
49136         * string/test-memset.c (simple_memset): Likewise.
49137         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49138         * benchtests/bench-memset.c (simple_memset): Likewise.
49139         * configure: Regenerated.
49141 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49143         * math/test-misc.c (main): Ignore fesetround failure when failures
49144         of subsequent rounding tests would be ignored.
49146         [BZ #15654]
49147         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49148         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49149         * math/fegetenv.c (__fegetenv): Return 0.
49150         * math/fegetexcept.c (fegetexcept): Return 0.
49151         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49152         FE_TONEAREST.
49153         * math/feholdexcpt.c (feholdexcept): Return 0.
49154         * math/fesetenv.c (__fesetenv): Return 0.
49155         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49156         argument FE_TONEAREST.
49157         * math/feupdateenv.c (__feupdateenv): Return 0.
49158         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49160 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49162         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49163         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49164         ($(objpfx)rtld-%.os rules): Use them.
49166 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49168         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49169         fields.
49171 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49173         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49174         length of target pattern, then descending length of dependency pattern.
49175         * configure.in (AWK): Require gawk 3.1.2 or newer.
49176         * manual/install.texi (Tools for Compilation): Say that we do.
49177         * configure: Regenerated.
49179         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49180         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49181         * scripts/sysd-rules.awk: ... this new script.
49182         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49183         than a glob-style pattern.
49185 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49187         * math/test-misc.c (main): Do not treat incorrectly rounded
49188         conversions as failure unless ROUNDING_TESTS passes.
49190 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49192         [BZ #15631]
49193         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49194         restore exception state around main square root computation, then
49195         check for inexactness explicitly.
49197         * math/libm-test.inc (fma_test_data): Add another test.
49199 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49201         * manual/threads.texi (Non-POSIX Extensions): New document
49202         node.  Document pthread_getattr_default_np and
49203         pthread_setattr_default_np.
49205         * Versions.def (libpthread): Add GLIBC_2.18.
49206         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49208         Likewise.
49209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49210         Likewise.
49211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49212         Likewise.
49213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49214         Likewise.
49215         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49216         Likewise.
49217         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49218         Likewise.
49219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49220         Likewise.
49221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49222         Likewise.
49223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49224         Likewise.
49226 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49228         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49229         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49231 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49232             H.J. Lu  <hjl.tools@gmail.com>
49234         [BZ #15627]
49235         * sysdeps/x86_64/rtld-memset.c: Remove file.
49236         * sysdeps/x86_64/rtld-memset.S: New file.
49238 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49240         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49241         (test_in_one_mode): Take arguments for whether the rounding mode
49242         is supported for each floating-point type.
49243         (do_test): Pass new arguments to test_in_one_mode using
49244         ROUNDING_TESTS.
49246 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49248         * posix/tst-waitid.c (do_test): Distinguish different instances of
49249         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49250         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49251         before entering the kernel for waitpid.
49253 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49255         * NEWS: Fix note on clock function precision.  Text by Roland
49256         McGrath.
49258 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49260         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49261         it into place only when and if the sanity check passes.
49263 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49265         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49266         output for whether conversion result is exact.  Take argument
49267         indicating whether type is IBM long double.
49268         (round_for_all): Change need_exact field to ibm_ld.
49269         * stdlib/tst-strtod-round.c (struct exactness): New type.
49270         (struct test): Change bool ld_ok field to struct exactness exact.
49271         (TEST): Update all definitions for change to field.
49272         (tests): Regenerate array contents.
49273         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49274         field value.  Check for IBM long double here.
49275         (do_test): Update calls to test_in_one_mode.
49277 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49279         [BZ #12515]
49280         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49281         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49283 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49285         [BZ #15605]
49286         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49287         generated by the compiler on loop optimizations.
49288         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49289         general definitions.
49291 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49293         * math/bug-nextafter.c: Include <math-tests.h>.
49294         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49295         the relevant type.
49296         * math/bug-nexttoward.c: Include <math-tests.h>.
49297         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49298         the relevant type.
49299         * math/test-misc.c: Include <math-tests.h>.
49300         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49301         the relevant type.
49303 2013-06-12  Andreas Jaeger  <aj@suse.de>
49305         * po/ia.po: Update Interlingua translation from translation
49306         project.
49308 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49310         * include/fenv.h: Include stdbool.h.
49311         (struct rm_ctx): New structure.
49312         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49313         Define macro.
49314         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49315         (SET_RESTORE_ROUNDF): Likewise.
49316         (SET_RESTORE_ROUNDL): Likewise.
49317         (SET_RESTORE_ROUND_NOEX): Likewise.
49318         (SET_RESTORE_ROUND_NOEXF): Likewise.
49319         (SET_RESTORE_ROUND_NOEXL): Likewise.
49320         (SET_RESTORE_ROUND_53BIT): Likewise.
49321         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49322         (libc_feresetround_noexf_ctx): Likewise.
49323         (libc_feresetround_noexl_ctx): Likewise.
49324         (libc_feholdsetround_53bit_ctx): Likewise.
49325         (libc_feresetround_53bit_ctx): Likewise.
49326         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49327         (libc_feholdexcept_setround_sse_ctx): New function.
49328         (libc_fesetenv_sse_ctx): Likewise.
49329         (libc_feupdateenv_sse_ctx): Likewise.
49330         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49331         (libc_feholdexcept_setround_387_ctx): Likewise.
49332         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49333         (libc_feholdsetround_387_prec_ctx): Likewise.
49334         (libc_feholdsetround_387_ctx): Likewise.
49335         (libc_feholdsetround_387_53bit_ctx): Likewise.
49336         (libc_feholdsetround_sse_ctx): Likewise.
49337         (libc_feresetround_sse_ctx): Likewise.
49338         (libc_feresetround_387_ctx): Likewise.
49339         (libc_feupdateenv_387_ctx): Likewise.
49340         (libc_feholdexcept_setroundf_ctx): Define macro.
49341         (libc_fesetenvf_ctx): Likewise.
49342         (libc_feupdateenvf_ctx): Likewise.
49343         (libc_feholdsetroundf_ctx): Likewise.
49344         (libc_feresetroundf_ctx): Likewise.
49345         (libc_feholdexcept_setround_ctx): Likewise.
49346         (libc_fesetenv_ctx): Likewise.
49347         (libc_feupdateenv_ctx): Likewise.
49348         (libc_feholdsetround_ctx): Likewise.
49349         (libc_feresetround_ctx): Likewise.
49350         (libc_feholdexcept_setroundl_ctx): Likewise.
49351         (libc_feupdateenvl_ctx): Likewise.
49352         (libc_feholdsetroundl_ctx): Likewise.
49353         (libc_feresetroundl_ctx): Likewise.
49354         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49355         (libc_feresetround_53bit_ctx): Likewise.
49357 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49359         * locale/iso-639.def: Convert to UTF-8.
49361 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49363         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49364         (EXCEPTION_TESTS_double): Likewise.
49365         (EXCEPTION_TESTS_long_double): Likewise.
49366         (EXCEPTION_TESTS): Likewise.
49367         * math/libm-test.inc (test_exceptions): Only test exceptions if
49368         EXCEPTION_TESTS (FLOAT).
49370 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49372         * benchtests/Makefile (string-bench): Add strcpy_chk and
49373         stpcpy_chk.
49374         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49375         * benchtests/bench-stpcpy_chk.c: New file.
49376         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49377         * benchtests/bench-strcpy_chk.c: New file.
49378         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49379         code.
49380         (do_test): Likewise.
49382 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49384         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49385         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49386         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49387         with tabs where appropriate.
49388         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49389         dl-procinfo.h.
49390         [PPC_PLATFORM_PPC440]: Likewise.
49391         [PPC_PLATFORM_PPC464]: Likewise.
49392         [PPC_PLATFORM_PPC476]: Likewise.
49393         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49394         ppc464, and ppc476 platform strings merging from ports/
49395         dl-procinfo.h.
49397 2013-06-11  Andreas Schwab  <schwab@suse.de>
49399         [BZ #14991]
49400         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49401         (from_ucs4_idx): Regenerate.
49402         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49403         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49404         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49405         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49406         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49407         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49408         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49409         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49410         from FROM_LOOP and TO_LOOP specific macros.
49411         (BODY): Handle combining characters.
49412         * iconvdata/BIG5HKSCS.irreversible: Update.
49413         * iconvdata/BIG5HKSCS.precomposed: New file.
49414         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49415         characters.
49416         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49418 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49420         * include/sys/time.h: Fix indentation and add copyright header.
49422         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49423         (do_test): Likewise.
49424         * string/test-memchr.c (do_one_test): Likewise.
49425         (do_test): Likewise.
49426         * string/test-memcmp.c (do_one_test): Likewise.
49427         (do_test): Likewise.
49428         * string/test-memcpy.c (do_one_test): Likewise.
49429         (do_test): Likewise.
49430         * string/test-memmem.c (do_one_test): Likewise.
49431         (do_test): Likewise.
49432         (do_random_tests): Likewise.
49433         * string/test-memmove.c (do_one_test): Likewise.
49434         (do_test): Likewise.
49435         * string/test-memset.c (do_one_test): Likewise.
49436         (do_test): Likewise.
49437         * string/test-rawmemchr.c (do_one_test): Likewise.
49438         (do_test): Likewise.
49439         * string/test-strcasecmp.c (do_one_test): Likewise.
49440         (do_test): Likewise.
49441         * string/test-strcasestr.c (do_one_test): Likewise.
49442         (do_test): Likewise.
49443         * string/test-strcat.c (do_one_test): Likewise.
49444         (do_test): Likewise.
49445         * string/test-strchr.c (do_one_test): Likewise.
49446         (do_test): Likewise.
49447         * string/test-strcmp.c (do_one_test): Likewise.
49448         (do_test): Likewise.
49449         * string/test-strcpy.c (do_one_test): Likewise.
49450         (do_test): Likewise.
49451         * string/test-string.h: Likewise.
49452         (test_init): Likewise.
49453         * string/test-strlen.c (do_one_test): Likewise.
49454         (do_test): Likewise.
49455         * string/test-strncasecmp.c (do_one_test): Likewise.
49456         (do_test): Likewise.
49457         * string/test-strncat.c (do_one_test): Likewise.
49458         (do_test): Likewise.
49459         * string/test-strncmp.c (do_one_test): Likewise.
49460         (do_test_limit): Likewise.
49461         (do_test): Likewise.
49462         * string/test-strncpy.c (do_one_test): Likewise.
49463         (do_test): Likewise.
49464         * string/test-strnlen.c (do_one_test): Likewise.
49465         (do_test): Likewise.
49466         * string/test-strpbrk.c (do_one_test): Likewise.
49467         (do_test): Likewise.
49468         * string/test-strrchr.c (do_one_test): Likewise.
49469         (do_test): Likewise.
49470         * string/test-strspn.c (do_one_test): Likewise.
49471         (do_test): Likewise.
49472         * string/test-strstr.c (do_one_test): Likewise.
49473         (do_test): Likewise.
49475         * benchtests/Makefile (string-bench): Add string benchmarks.
49476         * benchtests/bench-bcopy-ifunc.c: New file.
49477         * benchtests/bench-bcopy.c: New file.
49478         * benchtests/bench-bzero-ifunc.c: New file.
49479         * benchtests/bench-bzero.c: New file.
49480         * benchtests/bench-memccpy-ifunc.c: New file.
49481         * benchtests/bench-memccpy.c: New file.
49482         * benchtests/bench-memchr-ifunc.c: New file.
49483         * benchtests/bench-memchr.c: New file.
49484         * benchtests/bench-memcmp-ifunc.c: New file.
49485         * benchtests/bench-memcmp.c: New file.
49486         * benchtests/bench-memmem-ifunc.c: New file.
49487         * benchtests/bench-memmem.c: New file.
49488         * benchtests/bench-memmove-ifunc.c: New file.
49489         * benchtests/bench-memmove.c: New file.
49490         * benchtests/bench-mempcpy-ifunc.c: New file.
49491         * benchtests/bench-mempcpy.c: New file.
49492         * benchtests/bench-memset-ifunc.c: New file.
49493         * benchtests/bench-memset.c: New file.
49494         * benchtests/bench-rawmemchr-ifunc.c: New file.
49495         * benchtests/bench-rawmemchr.c: New file.
49496         * benchtests/bench-stpcpy-ifunc.c: New file.
49497         * benchtests/bench-stpcpy.c: New file.
49498         * benchtests/bench-stpncpy-ifunc.c: New file.
49499         * benchtests/bench-stpncpy.c: New file.
49500         * benchtests/bench-strcasecmp-ifunc.c: New file.
49501         * benchtests/bench-strcasecmp.c: New file.
49502         * benchtests/bench-strcasestr-ifunc.c: New file.
49503         * benchtests/bench-strcasestr.c: New file.
49504         * benchtests/bench-strcat-ifunc.c: New file.
49505         * benchtests/bench-strcat.c: New file.
49506         * benchtests/bench-strchr-ifunc.c: New file.
49507         * benchtests/bench-strchr.c: New file.
49508         * benchtests/bench-strchrnul-ifunc.c: New file.
49509         * benchtests/bench-strchrnul.c: New file.
49510         * benchtests/bench-strcmp-ifunc.c: New file.
49511         * benchtests/bench-strcmp.c: New file.
49512         * benchtests/bench-strcpy-ifunc.c: New file.
49513         * benchtests/bench-strcpy.c: New file.
49514         * benchtests/bench-strcspn-ifunc.c: New file.
49515         * benchtests/bench-strcspn.c: New file.
49516         * benchtests/bench-strlen-ifunc.c: New file.
49517         * benchtests/bench-strlen.c: New file.
49518         * benchtests/bench-strncasecmp-ifunc.c: New file.
49519         * benchtests/bench-strncasecmp.c: New file.
49520         * benchtests/bench-strncat-ifunc.c: New file.
49521         * benchtests/bench-strncat.c: New file.
49522         * benchtests/bench-strncmp-ifunc.c: New file.
49523         * benchtests/bench-strncmp.c: New file.
49524         * benchtests/bench-strncpy-ifunc.c: New file.
49525         * benchtests/bench-strncpy.c: New file.
49526         * benchtests/bench-strnlen-ifunc.c: New file.
49527         * benchtests/bench-strnlen.c: New file.
49528         * benchtests/bench-strpbrk-ifunc.c: New file.
49529         * benchtests/bench-strpbrk.c: New file.
49530         * benchtests/bench-strrchr-ifunc.c: New file.
49531         * benchtests/bench-strrchr.c: New file.
49532         * benchtests/bench-strspn-ifunc.c: New file.
49533         * benchtests/bench-strspn.c: New file.
49534         * benchtests/bench-strstr-ifunc.c: New file.
49535         * benchtests/bench-strstr.c: New file.
49537         * benchtests/Makefile: Disable parallel execution of targets.
49538         (string-bench): Add memcpy.
49539         (benchset): New variable to store a list of benchmark sets.
49540         (bench-func): Renamed from bench.
49541         (bench-set): New target.
49542         (bench): Depend on bench-func and bench-set.
49543         * benchtests/README: Add section on benchmark sets.
49544         * benchtests/bench-memcpy-ifunc.c: New file.
49545         * benchtests/bench-memcpy.c: New file.
49546         * benchtests/bench-string.h: New file.
49548 2013-06-11  Andreas Schwab  <schwab@suse.de>
49550         [BZ #15577]
49551         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49552         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49553         values in the triple.
49554         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49555         terminator in the group key.
49557 2013-06-11  Andreas Jaeger  <aj@suse.de>
49559         * po/zh_TW.po: Update Chinese (traditional) translation from
49560         translation project.
49562 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49564         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49565         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49566         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49567         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49568         (clock_getcpuclockid): Likewise.
49569         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49570         Add weak_alias and libc_hidden_def.
49571         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49572         * rt/clock_gettime.c (clock_gettime): Rename to
49573         __clock_gettime.  Add weak_alias and libc_hidden_def.
49574         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
49575         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
49576         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
49577         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
49578         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
49579         Likewise.
49580         * rt/clock_settime.c (clock_settime): Rename to
49581         __clock_settime.  Add weak_alias and libc_hidden_def.
49582         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
49584 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
49586         * mach/err_boot.sub: Remove trailing whitespace.
49587         * mach/err_ipc.sub: Likewise.
49588         * mach/err_mach.sub: Likewise.
49590         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
49591         (ROUNDING_TESTS_double): Likewise.
49592         (ROUNDING_TESTS_long_double): Likewise.
49593         (ROUNDING_TESTS): Likewise.
49594         * math/libm-test.inc: Include <math-tests.h>.
49595         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
49596         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49597         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49598         (IF_ROUND_INIT_FE_UPWARD): Likewise.
49600 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49602         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
49603         of assigning.
49605 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
49607         * sysdeps/gnu/errlist.awk: Do not generate space at end of
49608         otherwise empty TRANS lines.
49609         * sysdeps/gnu/errlist.c: Regenerated.
49611         * catgets/gencat.c (error_print): Use (void) in function
49612         definition.
49613         * crypt/crypt_util.c (__init_des): Likewise.
49614         * crypt/speeds.c (Stop): Likewise.
49615         (main): Likewise.
49616         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
49617         * inet/ruserpass.c (token): Likewise.
49618         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
49619         * intl/localealias.c (extend_alias_table): Likewise.
49620         * intl/plural-exp.c (init_germanic_plural): Likewise.
49621         * libio/fcloseall.c (__fcloseall): Likewise.
49622         * libio/genops.c (_IO_flush_all): Likewise.
49623         (_IO_flush_all_linebuffered): Likewise.
49624         (_IO_cleanup): Likewise.
49625         (_IO_iter_begin): Likewise.
49626         (_IO_iter_end): Likewise.
49627         (_IO_list_lock): Likewise.
49628         (_IO_list_unlock): Likewise.
49629         (_IO_list_resetlock): Likewise.
49630         * libio/getchar.c (getchar): Likewise.
49631         * libio/getchar_u.c (getchar_unlocked): Likewise.
49632         * libio/getwchar.c (getwchar): Likewise.
49633         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
49634         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
49635         * login/getpt.c (__getpt): Likewise.
49636         * login/tst-utmp.c (main): Likewise.
49637         * malloc/hooks.c (__malloc_check_init): Likewise.
49638         * malloc/malloc.c (__malloc_stats): Likewise.
49639         * malloc/mtrace.c (tr_break): Likewise.
49640         (mtrace): Likewise.
49641         (muntrace): Likewise.
49642         * misc/fstab.c (endfsent): Likewise.
49643         * misc/getclktck.c (__getclktck): Likewise.
49644         * misc/getdtsz.c (__getdtablesize): Likewise.
49645         * misc/gethostid.c (gethostid): Likewise.
49646         * misc/getpagesize.c (__getpagesize): Likewise.
49647         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
49648         (__get_nprocs): Likewise.
49649         (__get_phys_pages): Likewise.
49650         (__get_avphys_pages): Likewise.
49651         * misc/getttyent.c (getttyent): Likewise.
49652         (setttyent): Likewise.
49653         (endttyent): Likewise.
49654         * misc/getusershell.c (getusershell): Likewise.
49655         (endusershell): Likewise.
49656         (setusershell): Likewise.
49657         (initshells): Likewise.
49658         * misc/hsearch.c (__hdestroy): Likewise.
49659         * misc/sync.c (sync): Likewise.
49660         * misc/syslog.c (closelog_internal): Likewise.
49661         (closelog): Likewise.
49662         * misc/ttyslot.c (ttyslot): Likewise.
49663         * misc/vhangup.c (vhangup): Likewise.
49664         * posix/fork.c (__fork): Likewise.
49665         * posix/getegid.c (__getegid): Likewise.
49666         * posix/geteuid.c (__geteuid): Likewise.
49667         * posix/getgid.c (__getgid): Likewise.
49668         * posix/getpid.c (__getpid): Likewise.
49669         * posix/getppid.c (__getppid): Likewise.
49670         * posix/getuid.c (__getuid): Likewise.
49671         * posix/pause.c (pause): Likewise.
49672         * posix/setpgrp.c (setpgrp): Likewise.
49673         * posix/setsid.c (__setsid): Likewise.
49674         * posix/test-vfork.c (noop): Likewise.
49675         * resolv/gethnamaddr.c (_endhtent): Likewise.
49676         (_gethtent): Likewise.
49677         (ht_endhostent): Likewise.
49678         (gethostent): Likewise.
49679         (dns_service): Likewise.
49680         * stdlib/drand48.c (drand48): Likewise.
49681         * stdlib/lrand48.c (lrand48): Likewise.
49682         * stdlib/mrand48.c (mrand48): Likewise.
49683         * stdlib/rand.c (rand): Likewise.
49684         * stdlib/random.c (__random): Likewise.
49685         * stdlib/setenv.c (clearenv): Likewise.
49686         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
49687         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
49688         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
49689         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
49690         (__get_nprocs): Likewise.
49691         (__get_phys_pages): Likewise.
49692         (__get_avphys_pages): Likewise.
49693         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
49694         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
49695         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
49696         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
49697         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
49698         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
49699         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
49700         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
49701         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
49702         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
49703         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
49704         * sysdeps/mach/hurd/sync.c (sync): Likewise.
49705         * sysdeps/posix/clock.c (clock): Likewise.
49706         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
49707         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
49708         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
49709         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
49710         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
49711         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
49712         (__get_nprocs_conf): Likewise.
49713         (__get_phys_pages): Likewise.
49714         (__get_avphys_pages): Likewise.
49715         * time/clock.c (clock): Likewise.
49716         * time/tzset.c (__tzname_max): Likewise.
49718 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
49720         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
49721         (__bswap_32): Do not use "register".
49722         * crypt/crypt.c (_ufc_doit_r): Likewise.
49723         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49724         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49725         * gmon/gmon.c (__monstartup): Likewise.
49726         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
49727         * hurd/hurdmalloc.c (more_memory): Likewise.
49728         (malloc): Likewise.
49729         (free): Likewise.
49730         (realloc): Likewise.
49731         (malloc_fork_prepare): Likewise.
49732         (malloc_fork_parent): Likewise.
49733         (malloc_fork_child): Likewise.
49734         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
49735         (_svcauth_des): Likewise.
49736         * inet/inet_lnaof.c (inet_lnaof): Likewise.
49737         * inet/inet_net.c (inet_network): Likewise.
49738         * inet/inet_netof.c (inet_netof): Likewise.
49739         * inet/rcmd.c (__validuser2_sa): Likewise.
49740         * io/fts.c (fts_open): Likewise.
49741         (fts_load): Likewise.
49742         (fts_close): Likewise.
49743         (fts_read): Likewise.
49744         (fts_children): Likewise.
49745         (fts_build): Likewise.
49746         (fts_stat): Likewise.
49747         (fts_sort): Likewise.
49748         (fts_alloc): Likewise.
49749         (fts_lfree): Likewise.
49750         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
49751         (_IO_file_xsgetn): Likewise.
49752         (_IO_file_xsgetn_mmap): Likewise.
49753         * libio/iofopncook.c (_IO_cookie_read): Likewise.
49754         (_IO_cookie_write): Likewise.
49755         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
49756         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
49757         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49758         * malloc/obstack.c (_obstack_begin): Likewise.
49759         (_obstack_begin_1): Likewise.
49760         (_obstack_newchunk): Likewise.
49761         (_obstack_allocated_p): Likewise.
49762         (obstack_free): Likewise.
49763         (_obstack_memory_used): Likewise.
49764         * misc/getttyent.c (getttynam): Likewise.
49765         (getttyent): Likewise.
49766         (skip): Likewise.
49767         (value): Likewise.
49768         * misc/getusershell.c (initshells): Likewise.
49769         * misc/syslog.c (__vsyslog_chk): Likewise.
49770         * misc/ttyslot.c (ttyslot): Likewise.
49771         * nis/nis_hash.c (__nis_hash): Likewise.
49772         * posix/fnmatch_loop.c (FCT): Likewise.
49773         * posix/getconf.c (print_all): Likewise.
49774         (main): Likewise.
49775         * posix/getopt.c (exchange): Likewise.
49776         * posix/glob.c (globfree): Likewise.
49777         (prefix_array): Likewise.
49778         (__glob_pattern_type): Likewise.
49779         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49780         (NS_GET32): Likewise.
49781         (NS_PUT16): Likewise.
49782         (NS_PUT32): Likewise.
49783         * resolv/gethnamaddr.c (getanswer): Likewise.
49784         (gethostbyname2): Likewise.
49785         (gethostbyaddr): Likewise.
49786         (_gethtent): Likewise.
49787         (_gethtbyname2): Likewise.
49788         (_gethtbyaddr): Likewise.
49789         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49790         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49791         * resolv/res_init.c (__res_vinit): Likewise.
49792         (net_mask): Likewise.
49793         * resolv/res_mkquery.c (outchar): Likewise.
49794         (PRINT): Likewise.
49795         * stdio-common/printf_fp.c (outchar): Likewise.
49796         (PRINT): Likewise.
49797         * stdio-common/printf_fphex.c (outchar): Likewise.
49798         (PRINT): Likewise.
49799         * stdio-common/printf_size.c (outchar): Likewise.
49800         (PRINT): Likewise.
49801         * stdio-common/test_rdwr.c (main): Likewise.
49802         * stdio-common/tfformat.c (matches): Likewise.
49803         * stdio-common/vfprintf.c (outchar): Likewise.
49804         (printf_unknown): Likewise.
49805         (buffered_vfprintf): Likewise.
49806         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49807         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49808         (ReadFile): Likewise.
49809         * stdlib/qsort.c (SWAP): Likewise.
49810         (_quicksort): Likewise.
49811         * stdlib/setenv.c (__add_to_environ): Likewise.
49812         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49813         * stdlib/strtol_l.c (__strtol_l): Likewise.
49814         * stdlib/tst-strtod.c (main): Likewise.
49815         * stdlib/tst-strtol.c (main): Likewise.
49816         * stdlib/tst-strtoll.c (main): Likewise.
49817         * string/bits/string2.h (__strcmp_cc): Likewise.
49818         (__strcmp_cg): Likewise.
49819         (__strcspn_c1): Likewise.
49820         (__strcspn_c2): Likewise.
49821         (__strcspn_c3): Likewise.
49822         (__strspn_c1): Likewise.
49823         (__strspn_c2): Likewise.
49824         (__strspn_c3): Likewise.
49825         (__strsep_1c): Likewise.
49826         (__strsep_2c): Likewise.
49827         (__strsep_3c): Likewise.
49828         * string/memccpy.c (__memccpy): Likewise.
49829         * string/stpcpy.c (__stpcpy): Likewise.
49830         * string/strcmp.c (strcmp): Likewise.
49831         * string/strrchr.c (strrchr): Likewise.
49832         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49833         Likewise.
49834         * sysdeps/mach/hurd/getcwd.c
49835         (_hurd_canonicalize_directory_name_internal): Likewise.
49836         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49837         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49838         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49839         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49840         Likewise, in both definitions.
49841         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49842         definitions.
49843         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49844         64] (__bswap_64): Likewise.
49845         * time/test_time.c (main): Likewise.
49846         * time/tzfile.c (__tzfile_read): Likewise.
49847         (__tzfile_compute): Likewise.
49848         * time/tzset.c (__tzset_parse_tz): Likewise.
49849         (tzset_internal): Likewise.
49850         (compute_change): Likewise.
49851         * wcsmbs/wcscat.c (__wcscat): Likewise.
49852         * wcsmbs/wcschr.c (wcschr): Likewise.
49853         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49854         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49855         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49856         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49857         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49858         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49859         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49860         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49861         * wcsmbs/wmemset.c (wmemset): Likewise.
49863 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49865         * scripts/config.guess: Update to version 2013-05-16.
49866         * scripts/config.sub: Update to version 2013-04-24.
49867         * scripts/install-sh: Update to version 2011-11-20.07.
49868         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49869         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49871 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49873         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49874         * elf/sln.c: Likewise.
49875         * hurd/hurd/ioctl.h: Likewise.
49876         * hurd/hurdmalloc.c: Likewise.
49877         * hurd/xattr.c: Likewise.
49878         * include/shlib-compat.h: Likewise.
49879         * inet/ruserpass.c: Likewise.
49880         * libio/iofgets_u.c: Likewise.
49881         * libio/iofgetws_u.c: Likewise.
49882         * locale/programs/ld-identification.c: Likewise.
49883         * locale/programs/ld-time.c: Likewise.
49884         * mach/msg-destroy.c: Likewise.
49885         * nss/nss_files/files-netgrp.c: Likewise.
49886         * resolv/res_data.c: Likewise.
49887         * soft-fp/op-1.h: Likewise.
49888         * soft-fp/op-2.h: Likewise.
49889         * soft-fp/op-4.h: Likewise.
49890         * soft-fp/op-common.h: Likewise.
49891         * stdio-common/printf_fphex.c: Likewise.
49892         * stdlib/strtod_l.c: Likewise.
49893         * sunrpc/rpc/clnt.h: Likewise.
49894         * sysdeps/generic/framestate.c: Likewise.
49895         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49896         * sysdeps/i386/bsd-setjmp.S: Likewise.
49897         * sysdeps/i386/__longjmp.S: Likewise.
49898         * sysdeps/i386/setjmp.S: Likewise.
49899         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49900         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49901         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49902         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49903         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49904         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49905         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49906         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49907         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49908         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49909         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49910         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49911         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49912         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49913         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49914         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49915         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49916         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49917         * sysdeps/ieee754/support.c: Likewise.
49918         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49919         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49920         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49921         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49922         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49923         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49924         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49925         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49926         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49927         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49928         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49929         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49930         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49931         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49932         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49933         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49934         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49937 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49939         * posix/transbug.c: Remove executable mode.
49941 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49943         * crypt/speeds.c: Remove trailing whitespace.
49944         * dlfcn/default.c: Likewise.
49945         * elf/ifuncdep2.c: Likewise.
49946         * elf/ifuncmain1.c: Likewise.
49947         * elf/ifuncmain1vis.c: Likewise.
49948         * elf/testobj.h: Likewise.
49949         * elf/tst-stackguard1.c: Likewise.
49950         * gmon/sys/gmon.h: Likewise.
49951         * hurd/hurdmsg.c: Likewise.
49952         * hurd/new-fd.c: Likewise.
49953         * hurd/ports-get.c: Likewise.
49954         * iconvdata/ibm1008_420.c: Likewise.
49955         * inet/tst-getni1.c: Likewise.
49956         * inet/tst-getni2.c: Likewise.
49957         * libio/ioungetc.c: Likewise.
49958         * libio/wfiledoalloc.c: Likewise.
49959         * manual/libm-err-tab.pl: Likewise.
49960         * math/w_dremf.c: Likewise.
49961         * misc/ftruncate.c: Likewise.
49962         * posix/bug-glob2.c: Likewise.
49963         * posix/tst-pcre.c: Likewise.
49964         * posix/wait4.c: Likewise.
49965         * resolv/README: Likewise.
49966         * resolv/res_debug.h: Likewise.
49967         * resolv/tst-inet_ntop.c: Likewise.
49968         * setjmp/bug269-setjmp.c: Likewise.
49969         * soft-fp/extended.h: Likewise.
49970         * soft-fp/op-1.h: Likewise.
49971         * soft-fp/op-2.h: Likewise.
49972         * soft-fp/op-4.h: Likewise.
49973         * soft-fp/op-8.h: Likewise.
49974         * soft-fp/testit.c: Likewise.
49975         * stdio-common/bug16.c: Likewise.
49976         * stdlib/random.c: Likewise.
49977         * sunrpc/rpcsvc/rquota.x: Likewise.
49978         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49979         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49980         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49981         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49982         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49983         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49984         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49985         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49986         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49987         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49988         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49989         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49990         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49991         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49992         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49993         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49994         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49995         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49996         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49997         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49998         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49999         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50000         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50001         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50002         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50003         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50004         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50005         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50006         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50007         * sysdeps/ieee754/s_lib_version.c: Likewise.
50008         * sysdeps/mach/hurd/check_fds.c: Likewise.
50009         * sysdeps/mach/hurd/getsockname.c: Likewise.
50010         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50011         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50012         * sysdeps/powerpc/bits/link.h: Likewise.
50013         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50014         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50015         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50016         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50017         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50018         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50019         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50020         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50021         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50022         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50023         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50024         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50025         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50026         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50027         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50028         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50029         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50030         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50031         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50032         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50033         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50034         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50035         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50036         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50037         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50038         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50039         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50040         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50041         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50042         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50043         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50044         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50045         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50046         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50047         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50048         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50049         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50050         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50051         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50052         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50053         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50054         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50055         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50056         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50057         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50058         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50059         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50060         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50061         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50062         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50064         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50065         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50066         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50067         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50068         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50069         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50070         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50071         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50072         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50073         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50074         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50075         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50076         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50077         * sysdeps/powerpc/sysdep.h: Likewise.
50078         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50079         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50080         * sysdeps/sh/dl-trampoline.S: Likewise.
50081         * sysdeps/sh/memset.S: Likewise.
50082         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50083         * sysdeps/sh/strlen.S: Likewise.
50084         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50085         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50086         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50087         * sysdeps/sparc/sparc32/rem.S: Likewise.
50088         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50089         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50090         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50091         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50092         * sysdeps/sparc/sparc32/urem.S: Likewise.
50093         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50094         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50095         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50096         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50097         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50098         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50099         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50100         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50101         * sysdeps/unix/bsd/times.c: Likewise.
50102         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50103         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50107         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50108         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50109         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50110         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50111         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50112         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50113         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50114         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50115         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50116         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50117         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50118         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50119         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50120         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50121         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50122         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50123         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50124         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50125         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50126         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50127         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50128         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50129         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50130         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50131         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50132         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50133         * sysdeps/x86_64/strcspn.S: Likewise.
50135 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50137         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50138         generated file.  Regenerate properly from gen-translit.pl.
50139         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50140         locale/C-translit.h.
50142 2013-06-05  Andreas Schwab  <schwab@suse.de>
50144         [BZ #15100]
50145         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50146         week as 6 instead of -1.
50147         * time/tst-strptime.c (day_tests): Add test case.
50149 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50151         * sysdeps/generic/math_private.h
50152         (libc_feholdexcept_setround_53bit): Replace with
50153         libc_feholdsetround_53bit.
50154         (libc_feupdateenv_53bit): Replace with
50155         libc_feresetround_53bit.
50156         (SET_RESTORE_ROUND_53BIT): Adjust.
50158 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50160         * string/test-strchrnul.c: Add copyright header.
50162         * posix/tst-getaddrinfo4.c: Increase test timeout.
50164 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50166         [BZ #15536]
50167         * math/libm-test.inc (MAX_EXP): Remove
50168         (MIN_EXP): Define.
50169         (ulp): Use MIN_EXP - MANT_DIG.
50170         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50172 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50174         * po/be.po: Revert last change.
50175         * po/zh_CN.po: Likewise.
50176         * po/header.pot: Likewise.
50178 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50180         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50181         link-libc-deps to empty as target-specific variable.
50182         * Makerules (link-libc-args): New variable.
50183         (libc-for-link): Likewise.
50184         (link-libc-deps): Likewise.
50185         (lib%.so): Depend on $(link-libc-deps).  Link with
50186         $(link-libc-args).
50187         (build-module): Link with $(link-libc-args).
50188         (build-module-asneeded): Likewise.
50189         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50190         list of objects.
50191         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50192         target-specific variable.
50193         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50194         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50195         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50196         libc.
50197         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50198         libc and ld.so.
50199         ($(objpfx)libpcprofile.so): Likewise.
50200         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50201         libc_nonshared.a.
50202         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50203         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50204         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50205         $(link-libc-deps).
50206         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50207         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50208         * login/Makefile ($(objpfx)libutil.so): Likewise.
50209         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50210         * math/Makefile ($(objpfx)libm.so): Likewise.
50211         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50212         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50213         variable instead of depending directly on libc.
50214         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50215         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50216         $(link-libc-deps).
50217         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50218         libc.
50219         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50220         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50221         ($(objpfx)libanl.so): Likewise.
50222         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50223         ld.so.
50224         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50225         $(link-libc-deps).
50226         * sysdeps/i386/fpu/Makefile: Remove file.
50227         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50228         ($(objpfx)libm.so): Remove dependency on ld.so.
50230 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50232         [BZ # 15553]
50233         * nis/yp_xdr.c (XDRMAXNAME): Define.
50234         (XDRMAXRECORD): Define.
50235         (xdr_domainname): Use XDRMAXNAME.
50236         (xdr_mapname): Likewise.
50237         (xdr_peername): Likewise.
50238         (xdr_keydat): Use XDRMAXRECORD.
50239         (xdr_valdat): Likewise.
50241 2013-05-30  Jeff Law  <law@redhat.com>
50243         [BZ #14256]
50244         * manual/errno.texi (ESTALE): Update to account for more than
50245         just NFS file systems.
50246         * sysdeps/gnu/errlist.c: Regenerated.
50248 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50250         [BZ #15465]
50251         * elf/Makefile (tests): Add tst-null-argv.
50252         (modules-names):  Add tst-null-argv-lib.
50253         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50254         (tst-null-argv-ENV): Set environment for tst-null-argv.
50255         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50256         (RTLD_PROGNAME): New macro.
50257         * elf/tst-null-argv.c: New test case.
50258         * elf/tst-null-argv-lib.c: Library for test case.
50259         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50260         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50261         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50262         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50263         * elf/dl-init.c (call_init): Likewise.
50264         (_dl_init): Likewise.
50265         * elf/dl-load.c (print_search_path): Likewise.
50266         (_dl_map_object): Likewise.
50267         * elf/dl-lookup.c (do_lookup_x): Likewise.
50268         (add_dependency): Likewise.
50269         (_dl_lookup_symbol_x): Likewise.
50270         (_dl_debug_bindings): Likewise.
50271         * elf/dl-open.c (_dl_show_scope): Likewise.
50272         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50273         * elf/dl-version.c (match_symbol): Likewise.
50274         (_dl_check_map_versions): Likewise.
50275         * elf/rtld.c (dl_main): Likewise.
50276         (print_unresolved): Use RTLD_PROGNAME.
50277         (print_missing_version): Likewise.
50278         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50279         (elf_machine_rela): Likewise.
50280         * sysdeps/powerpc/powerpc32/dl-machine.c
50281         (__process_machine_rela): Likewise.
50282         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50283         Likewise.
50284         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50285         Likewise.
50286         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50287         Likewise.
50288         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50289         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50290         Likewise.
50291         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50292         Likewise.
50293         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50295 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50297         * po/be.po: Add descriptive title.
50298         * po/zh_CN.po: Likewise.
50299         * po/header.pot: Likewise.
50301 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50303         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50304         error message.
50305         (enlarge_archive): Likewise.
50307 2013-05-28  Ben North  <ben@redfrontdoor.org>
50309         * manual/arith.texi (frexp): It is the magnitude of the return
50310         value which lies in [0.5, 1), not the return value itself.
50312 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50316 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50318         * stdio-common/bug26.c (main): Correct fscanf template.
50320         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50321         declare _dl_skip_args.
50323         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50324         Don't declare.
50326         * manual/platform.texi: Add missing @end deftypefun.
50328 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50330         [BZ #15529]
50331         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50332         bit of mantissa of 2^16382.
50333         * math/libm-test.inc (hypot_test_data): Add more tests.
50335         * math/libm-test.inc: Add drem and pow10 to list of tested
50336         functions.
50337         (pow10_test): New function.
50338         (drem_test): Likewise.
50339         (drem_test_tonearest): Likewise.
50340         (drem_test_towardzero): Likewise.
50341         (drem_test_downward): Likewise.
50342         (drem_test_upward): Likewise.
50343         (main): Call the new functions.
50345         * math/libm-test.inc (finite_test_data): Remove.
50346         (finite_test): Run tests from isfinite_test_data.
50347         (gamma_test_data): Remove.
50348         (gamma_test): Run tests from lgamma_test_data.
50349         * sysdeps/i386/fpu/libm-test-ulps: Update.
50350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50352 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50354         * manual/platform.texi: Add PowerPC PPR function set documentation.
50355         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50356         implementation.
50358 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50360         * math/libm-test.inc (MAX_EXP): Define.
50361         (ULPDIFF): Define.
50362         (ulp): New function.
50363         (check_float_internal): Use ULPDIFF.
50364         (cpow_test): Disable failing test.
50365         (check_ulp): Test ulp() implemetnation.
50366         (main): Call check_ulp before starting tests.
50368 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50370         * math/gen-libm-test.pl (generate_testfile): Do not handle
50371         START_DATA and END_DATA.
50372         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50373         END_DATA.
50374         (acos_tonearest_test_data): Likewise.
50375         (acos_towardzero_test_data): Likewise.
50376         (acos_downward_test_data): Likewise.
50377         (acos_upward_test_data): Likewise.
50378         (acosh_test_data): Likewise.
50379         (asin_test_data): Likewise.
50380         (asin_tonearest_test_data): Likewise.
50381         (asin_towardzero_test_data): Likewise.
50382         (asin_downward_test_data): Likewise.
50383         (asin_upward_test_data): Likewise.
50384         (asinh_test_data): Likewise.
50385         (atan_test_data): Likewise.
50386         (atanh_test_data): Likewise.
50387         (atan2_test_data): Likewise.
50388         (cabs_test_data): Likewise.
50389         (cacos_test_data): Likewise.
50390         (cacosh_test_data): Likewise.
50391         (carg_test_data): Likewise.
50392         (casin_test_data): Likewise.
50393         (casinh_test_data): Likewise.
50394         (catan_test_data): Likewise.
50395         (catanh_test_data): Likewise.
50396         (cbrt_test_data): Likewise.
50397         (ccos_test_data): Likewise.
50398         (ccosh_test_data): Likewise.
50399         (ceil_test_data): Likewise.
50400         (cexp_test_data): Likewise.
50401         (cimag_test_data): Likewise.
50402         (clog_test_data): Likewise.
50403         (clog10_test_data): Likewise.
50404         (conj_test_data): Likewise.
50405         (copysign_test_data): Likewise.
50406         (cos_test_data): Likewise.
50407         (cos_tonearest_test_data): Likewise.
50408         (cos_towardzero_test_data): Likewise.
50409         (cos_downward_test_data): Likewise.
50410         (cos_upward_test_data): Likewise.
50411         (cosh_test_data): Likewise.
50412         (cosh_tonearest_test_data): Likewise.
50413         (cosh_towardzero_test_data): Likewise.
50414         (cosh_downward_test_data): Likewise.
50415         (cosh_upward_test_data): Likewise.
50416         (cpow_test_data): Likewise.
50417         (cproj_test_data): Likewise.
50418         (creal_test_data): Likewise.
50419         (csin_test_data): Likewise.
50420         (csinh_test_data): Likewise.
50421         (csqrt_test_data): Likewise.
50422         (ctan_test_data): Likewise.
50423         (ctan_tonearest_test_data): Likewise.
50424         (ctan_towardzero_test_data): Likewise.
50425         (ctan_downward_test_data): Likewise.
50426         (ctan_upward_test_data): Likewise.
50427         (ctanh_test_data): Likewise.
50428         (ctanh_tonearest_test_data): Likewise.
50429         (ctanh_towardzero_test_data): Likewise.
50430         (ctanh_downward_test_data): Likewise.
50431         (ctanh_upward_test_data): Likewise.
50432         (erf_test_data): Likewise.
50433         (erfc_test_data): Likewise.
50434         (exp_test_data): Likewise.
50435         (exp_tonearest_test_data): Likewise.
50436         (exp_towardzero_test_data): Likewise.
50437         (exp_downward_test_data): Likewise.
50438         (exp_upward_test_data): Likewise.
50439         (exp10_test_data): Likewise.
50440         (exp2_test_data): Likewise.
50441         (expm1_test_data): Likewise.
50442         (fabs_test_data): Likewise.
50443         (fdim_test_data): Likewise.
50444         (finite_test_data): Likewise.
50445         (floor_test_data): Likewise.
50446         (fma_test_data): Likewise.
50447         (fma_towardzero_test_data): Likewise.
50448         (fma_downward_test_data): Likewise.
50449         (fma_upward_test_data): Likewise.
50450         (fmax_test_data): Likewise.
50451         (fmin_test_data): Likewise.
50452         (fmod_test_data): Likewise.
50453         (fpclassify_test_data): Likewise.
50454         (frexp_test_data): Likewise.
50455         (gamma_test_data): Likewise.
50456         (hypot_test_data): Likewise.
50457         (ilogb_test_data): Likewise.
50458         (isfinite_test_data): Likewise.
50459         (isgreater_test_data): Likewise.
50460         (isgreaterequal_test_data): Likewise.
50461         (isinf_test_data): Likewise.
50462         (isless_test_data): Likewise.
50463         (islessequal_test_data): Likewise.
50464         (islessgreater_test_data): Likewise.
50465         (isnan_test_data): Likewise.
50466         (isnormal_test_data): Likewise.
50467         (issignaling_test_data): Likewise.
50468         (isunordered_test_data): Likewise.
50469         (j0_test_data): Likewise.
50470         (j1_test_data): Likewise.
50471         (jn_test_data): Likewise.
50472         (ldexp_test_data): Likewise.
50473         (lgamma_test_data): Likewise.
50474         (lrint_test_data): Likewise.
50475         (lrint_tonearest_test_data): Likewise.
50476         (lrint_towardzero_test_data): Likewise.
50477         (lrint_downward_test_data): Likewise.
50478         (lrint_upward_test_data): Likewise.
50479         (llrint_test_data): Likewise.
50480         (llrint_tonearest_test_data): Likewise.
50481         (llrint_towardzero_test_data): Likewise.
50482         (llrint_downward_test_data): Likewise.
50483         (llrint_upward_test_data): Likewise.
50484         (log_test_data): Likewise.
50485         (log10_test_data): Likewise.
50486         (log1p_test_data): Likewise.
50487         (log2_test_data): Likewise.
50488         (logb_test_data): Likewise.
50489         (logb_downward_test_data): Likewise.
50490         (lround_test_data): Likewise.
50491         (llround_test_data): Likewise.
50492         (modf_test_data): Likewise.
50493         (nearbyint_test_data): Likewise.
50494         (nextafter_test_data): Likewise.
50495         (nexttoward_test_data): Likewise.
50496         (pow_test_data): Likewise.
50497         (pow_tonearest_test_data): Likewise.
50498         (pow_towardzero_test_data): Likewise.
50499         (pow_downward_test_data): Likewise.
50500         (pow_upward_test_data): Likewise.
50501         (remainder_test_data): Likewise.
50502         (remainder_tonearest_test_data): Likewise.
50503         (remainder_towardzero_test_data): Likewise.
50504         (remainder_downward_test_data): Likewise.
50505         (remainder_upward_test_data): Likewise.
50506         (remquo_test_data): Likewise.
50507         (rint_test_data): Likewise.
50508         (rint_tonearest_test_data): Likewise.
50509         (rint_towardzero_test_data): Likewise.
50510         (rint_downward_test_data): Likewise.
50511         (rint_upward_test_data): Likewise.
50512         (round_test_data): Likewise.
50513         (scalb_test_data): Likewise.
50514         (scalbn_test_data): Likewise.
50515         (scalbln_test_data): Likewise.
50516         (signbit_test_data): Likewise.
50517         (sin_test_data): Likewise.
50518         (sin_tonearest_test_data): Likewise.
50519         (sin_towardzero_test_data): Likewise.
50520         (sin_downward_test_data): Likewise.
50521         (sin_upward_test_data): Likewise.
50522         (sincos_test_data): Likewise.
50523         (sinh_test_data): Likewise.
50524         (sinh_tonearest_test_data): Likewise.
50525         (sinh_towardzero_test_data): Likewise.
50526         (sinh_downward_test_data): Likewise.
50527         (sinh_upward_test_data): Likewise.
50528         (sqrt_test_data): Likewise.
50529         (tan_test_data): Likewise.
50530         (tan_tonearest_test_data): Likewise.
50531         (tan_towardzero_test_data): Likewise.
50532         (tan_downward_test_data): Likewise.
50533         (tan_upward_test_data): Likewise.
50534         (tanh_test_data): Likewise.
50535         (tgamma_test_data): Likewise.
50536         (trunc_test_data): Likewise.
50537         (y0_test_data): Likewise.
50538         (y1_test_data): Likewise.
50539         (yn_test_data): Likewise.
50540         (significand_test_data): Likewise.
50542         * math/gen-libm-test.pl (@functions): Remove variable.
50543         (generate_testfile): Don't handle START and END lines.
50544         * math/libm-test.inc (START): New macro.
50545         (END): Likewise.
50546         (END_COMPLEX): Likewise.
50547         (acos_test): Use END macro without arguments.
50548         (acos_test_tonearest): Likewise.
50549         (acos_test_towardzero): Likewise.
50550         (acos_test_downward): Likewise.
50551         (acos_test_upward): Likewise.
50552         (acosh_test): Likewise.
50553         (asin_test): Likewise.
50554         (asin_test_tonearest): Likewise.
50555         (asin_test_towardzero): Likewise.
50556         (asin_test_downward): Likewise.
50557         (asin_test_upward): Likewise.
50558         (asinh_test): Likewise.
50559         (atan_test): Likewise.
50560         (atanh_test): Likewise.
50561         (atan2_test): Likewise.
50562         (cabs_test): Likewise.
50563         (cacos_test): Use END_COMPLEX macro without arguments.
50564         (cacosh_test): Likewise.
50565         (carg_test): Use END macro without arguments.
50566         (casin_test): Use END_COMPLEX macro without arguments.
50567         (casinh_test): Likewise.
50568         (catan_test): Likewise.
50569         (catanh_test): Likewise.
50570         (cbrt_test): Use END macro without arguments.
50571         (ccos_test): Use END_COMPLEX macro without arguments.
50572         (ccosh_test): Likewise.
50573         (ceil_test): Use END macro without arguments.
50574         (cexp_test): Use END_COMPLEX macro without arguments.
50575         (cimag_test): Use END macro without arguments.
50576         (clog_test): Use END_COMPLEX macro without arguments.
50577         (clog10_test): Likewise.
50578         (conj_test): Likewise.
50579         (copysign_test): Use END macro without arguments.
50580         (cos_test): Likewise.
50581         (cos_test_tonearest): Likewise.
50582         (cos_test_towardzero): Likewise.
50583         (cos_test_downward): Likewise.
50584         (cos_test_upward): Likewise.
50585         (cosh_test): Likewise.
50586         (cosh_test_tonearest): Likewise.
50587         (cosh_test_towardzero): Likewise.
50588         (cosh_test_downward): Likewise.
50589         (cosh_test_upward): Likewise.
50590         (cpow_test): Use END_COMPLEX macro without arguments.
50591         (cproj_test): Likewise.
50592         (creal_test): Use END macro without arguments.
50593         (csin_test): Use END_COMPLEX macro without arguments.
50594         (csinh_test): Likewise.
50595         (csqrt_test): Likewise.
50596         (ctan_test): Likewise.
50597         (ctan_test_tonearest): Likewise.
50598         (ctan_test_towardzero): Likewise.
50599         (ctan_test_downward): Likewise.
50600         (ctan_test_upward): Likewise.
50601         (ctanh_test): Likewise.
50602         (ctanh_test_tonearest): Likewise.
50603         (ctanh_test_towardzero): Likewise.
50604         (ctanh_test_downward): Likewise.
50605         (ctanh_test_upward): Likewise.
50606         (erf_test): Use END macro without arguments.
50607         (erfc_test): Likewise.
50608         (exp_test): Likewise.
50609         (exp_test_tonearest): Likewise.
50610         (exp_test_towardzero): Likewise.
50611         (exp_test_downward): Likewise.
50612         (exp_test_upward): Likewise.
50613         (exp10_test): Likewise.
50614         (exp2_test): Likewise.
50615         (expm1_test): Likewise.
50616         (fabs_test): Likewise.
50617         (fdim_test): Likewise.
50618         (finite_test): Likewise.
50619         (floor_test): Likewise.
50620         (fma_test): Likewise.
50621         (fma_test_towardzero): Likewise.
50622         (fma_test_downward): Likewise.
50623         (fma_test_upward): Likewise.
50624         (fmax_test): Likewise.
50625         (fmin_test): Likewise.
50626         (fmod_test): Likewise.
50627         (fpclassify_test): Likewise.
50628         (frexp_test): Likewise.
50629         (gamma_test): Likewise.
50630         (hypot_test): Likewise.
50631         (ilogb_test): Likewise.
50632         (isfinite_test): Likewise.
50633         (isgreater_test): Likewise.
50634         (isgreaterequal_test): Likewise.
50635         (isinf_test): Likewise.
50636         (isless_test): Likewise.
50637         (islessequal_test): Likewise.
50638         (islessgreater_test): Likewise.
50639         (isnan_test): Likewise.
50640         (isnormal_test): Likewise.
50641         (issignaling_test): Likewise.
50642         (isunordered_test): Likewise.
50643         (j0_test): Likewise.
50644         (j1_test): Likewise.
50645         (jn_test): Likewise.
50646         (ldexp_test): Likewise.
50647         (lgamma_test): Likewise.
50648         (lrint_test): Likewise.
50649         (lrint_test_tonearest): Likewise.
50650         (lrint_test_towardzero): Likewise.
50651         (lrint_test_downward): Likewise.
50652         (lrint_test_upward): Likewise.
50653         (llrint_test): Likewise.
50654         (llrint_test_tonearest): Likewise.
50655         (llrint_test_towardzero): Likewise.
50656         (llrint_test_downward): Likewise.
50657         (llrint_test_upward): Likewise.
50658         (log_test): Likewise.
50659         (log10_test): Likewise.
50660         (log1p_test): Likewise.
50661         (log2_test): Likewise.
50662         (logb_test): Likewise.
50663         (logb_test_downward): Likewise.
50664         (lround_test): Likewise.
50665         (llround_test): Likewise.
50666         (modf_test): Likewise.
50667         (nearbyint_test): Likewise.
50668         (nextafter_test): Likewise.
50669         (nexttoward_test): Likewise.
50670         (pow_test): Likewise.
50671         (pow_test_tonearest): Likewise.
50672         (pow_test_towardzero): Likewise.
50673         (pow_test_downward): Likewise.
50674         (pow_test_upward): Likewise.
50675         (remainder_test): Likewise.
50676         (remainder_test_tonearest): Likewise.
50677         (remainder_test_towardzero): Likewise.
50678         (remainder_test_downward): Likewise.
50679         (remainder_test_upward): Likewise.
50680         (remquo_test): Likewise.
50681         (rint_test): Likewise.
50682         (rint_test_tonearest): Likewise.
50683         (rint_test_towardzero): Likewise.
50684         (rint_test_downward): Likewise.
50685         (rint_test_upward): Likewise.
50686         (round_test): Likewise.
50687         (scalb_test): Likewise.
50688         (scalbn_test): Likewise.
50689         (scalbln_test): Likewise.
50690         (signbit_test): Likewise.
50691         (sin_test): Likewise.
50692         (sin_test_tonearest): Likewise.
50693         (sin_test_towardzero): Likewise.
50694         (sin_test_downward): Likewise.
50695         (sin_test_upward): Likewise.
50696         (sincos_test): Likewise.
50697         (sinh_test): Likewise.
50698         (sinh_test_tonearest): Likewise.
50699         (sinh_test_towardzero): Likewise.
50700         (sinh_test_downward): Likewise.
50701         (sinh_test_upward): Likewise.
50702         (sqrt_test): Likewise.
50703         (tan_test): Likewise.
50704         (tan_test_tonearest): Likewise.
50705         (tan_test_towardzero): Likewise.
50706         (tan_test_downward): Likewise.
50707         (tan_test_upward): Likewise.
50708         (tanh_test): Likewise.
50709         (tgamma_test): Likewise.
50710         (trunc_test): Likewise.
50711         (y0_test): Likewise.
50712         (y1_test): Likewise.
50713         (yn_test): Likewise.
50714         (significand_test): Likewise.
50716 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
50718         [BZ #15381]
50719         * libio/genops.c (_IO_no_init): Initialize wide struct info.
50721 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50723         [BZ #14894]
50724         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
50725         __ppc_mdoio and __ppc_mdoom.
50726         * manual/platform.texi: Document new functions __ppc_yield,
50727         __ppc_mdoio and __ppc_mdoom.
50729 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
50731         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
50732         (main): Mention "tls" pseudo-hwcap is legacy.
50733         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
50735 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50737         * math/gen-libm-test.pl (parse_args): Output only string of
50738         arguments as text for test name, not full call or descriptions of
50739         tests for extra outputs.
50740         (generate_testfile): Do not pass function name to parse_args.
50741         Generate this_func variable from START.
50742         * math/libm-test.inc (struct test_f_f_data): Rename test_name
50743         field to arg_str.
50744         (struct test_ff_f_data): Likewise.
50745         (test_ff_f_data_nexttoward): Likewise.
50746         (struct test_fi_f_data): Likewise.
50747         (struct test_fl_f_data): Likewise.
50748         (struct test_if_f_data): Likewise.
50749         (struct test_fff_f_data): Likewise.
50750         (struct test_c_f_data): Likewise.
50751         (struct test_f_f1_data): Likewise.  Remove field extra_name.
50752         (struct test_fF_f1_data): Likewise.
50753         (struct test_ffI_f1_data): Likewise.
50754         (struct test_c_c_data): Rename test_name field to arg_str.
50755         (struct test_cc_c_data): Likewise.
50756         (struct test_f_i_data): Likewise.
50757         (struct test_ff_i_data): Likewise.
50758         (struct test_f_l_data): Likewise.
50759         (struct test_f_L_data): Likewise.
50760         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50761         and extra2_name.
50762         (COMMON_TEST_SETUP): New macro.
50763         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50764         (COMMON_TEST_CLEANUP): Likewise.
50765         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50766         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50767         macros.
50768         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50769         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50770         macros.
50771         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50772         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50773         cleanup macros.
50774         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50775         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50776         macros.
50777         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50778         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50779         macros.
50780         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50781         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50782         cleanup macros.
50783         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50784         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50785         cleanup macros.
50786         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50787         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50788         cleanup macros.
50789         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50790         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50791         macros.
50792         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50793         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50794         macros.
50795         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50796         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50797         macros.
50798         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50799         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50800         cleanup macros.
50801         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50802         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50803         cleanup macros.
50804         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50805         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50806         macros.
50807         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50808         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50809         cleanup macros.
50810         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50811         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50812         macros.
50813         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50814         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50815         macros.
50816         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50817         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50818         cleanup macros.
50819         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50821 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50823         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50824         to _sifields.sigfault.
50825         (si_addr_lsb): Define new macro.
50826         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50827         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50828         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50830 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50832         [BZ #15441]
50833         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50834         returns -1.
50835         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50836         null return -1.
50837         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50838         loading the domain.
50840 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50842         * math/gen-libm-test.pl (parse_args): Do not include expected
50843         result in test name.
50844         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50845         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50846         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50847         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50848         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50851 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50853         * benchtests/Makefile: Sort function entries.
50855         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50856         tanh, asinh, acosh, atanh.
50857         * benchtests/acos-inputs: New file.
50858         * benchtests/acosh-inputs: New file.
50859         * benchtests/asin-inputs: New file.
50860         * benchtests/asinh-inputs: New file.
50861         * benchtests/atanh-inputs: New file.
50862         * benchtests/cosh-inputs: New file.
50863         * benchtests/log-inputs: New file.
50864         * benchtests/sinh-inputs: New file.
50865         * benchtests/tanh-inputs: New file.
50867 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50869         [BZ #15339]
50870         * posix/tst-getaddrinfo4.c: New test.
50871         * posix/Makefile (tests): Add it.
50873 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50875         [BZ #15339]
50876         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50877         when no services were used.
50878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50879         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50881 2013-05-21  Andreas Schwab  <schwab@suse.de>
50883         [BZ #15014]
50884         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50885         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50886         successful.
50887         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50888         redundant variable declarations and reallocation of buffer when
50889         parsing as IPv6 address.  Always set NSS status when called from
50890         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50891         buffer too small.  Correct computation of needed size.
50892         * nss/Makefile (tests): Add test-digits-dots.
50893         * nss/test-digits-dots.c: New test.
50895 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50897         * benchtests/Makefile: Remove instructions for adding
50898         benchmark tests.
50899         * benchtests/README: New file to explain how to execute and
50900         enhance the benchmark tests.
50902 2013-05-21  Andreas Schwab  <schwab@suse.de>
50904         [BZ #15493]
50905         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50906         * setjmp/tst-sigsetjmp.c: New test.
50908 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50910         * sysdeps/x86_64/memset.S (memset): New implementation.
50911         (__bzero): Likewise.
50912         (__memset_tail): New function.
50914 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50916         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50917         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50918         __memcpy_sse2_unaligned ifunc selection.
50919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50920         Add memcpy-sse2-unaligned.S.
50921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50922         Add: __memcpy_sse2_unaligned.
50924 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50926         [BZ #15490]
50927         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50928         math_force_eval before restoring floating-point envrionment.
50929         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50930         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50931         Likewise.
50932         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50933         <math_private.h>.
50934         (__nearbyintl): Use math_force_eval before restoring
50935         floating-point environment.
50936         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50938         * math/gen-libm-test.pl (special_functions): Remove.
50939         (parse_args): Don't handle TEST_extra.  Handle functions with no
50940         return value.
50941         * math/libm-test.inc (struct test_sincos_data): Replace with
50942         struct test_fFF_11_data.
50943         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50944         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50945         (sincos_test_data): Change element type to struct
50946         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50947         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50948         RUN_TEST_LOOP_sincos.
50949         * math/README.libm-test: Don't mention special handling of
50950         individual functions.
50951         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50952         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50953         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50954         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50955         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50958         * math/gen-libm-test.pl (get_variable): Remove function.
50959         (parse_args): Don't show pointer parameters to call in test
50960         names.  Use "extra output N" in test names for extra outputs
50961         rather than naming variables.
50963 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50965         [BZ #15488]
50966         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50967         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50968         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50969         double tests.
50970         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50971         disable.
50972         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50973         check_long_double.
50975         * math/gen-libm-test.pl (@tests): Remove variable.
50976         ($count): Likewise.
50977         (new_test): Remove function.
50978         (show_exceptions): New function.
50979         (special_functions): Use show_exceptions instead of new_test.
50980         (parse_args): Likewise.
50981         (generate_testfile): Pass only function name in generated call to
50982         print_max_error or print_complex_max_error.
50983         (get_ulps): Do not handle complex tests specially.
50984         (output_test): Rename to ...
50985         (get_all_ulps_for_test): ... this.  Return a string rather than
50986         printing to a file.  Require ulps to be present.
50987         (output_ulps): Generate arrays rather than #defines.
50988         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50989         (struct ulp_data): New type.
50990         (BUILD_COMPLEX_ULP): Remove macro.
50991         (compare_ulp_data): New function.
50992         (find_ulps): Likewise.
50993         (find_test_ulps): Likewise.
50994         (find_function_ulps): Likewise.
50995         (find_complex_function_ulps): Likewise.
50996         (print_max_error): Determine allowed ulps using
50997         find_function_ulps.
50998         (print_complex_max_error): Determine allowed ulps using
50999         find_complex_function_ulps.
51000         (check_float_internal): Determine max ulps using find_test_ulps.
51001         (check_float): Do not take max_ulp parameter.  Update call to
51002         check_float_internal.
51003         (check_complex): Likewise.
51004         (check_int): Do not take max_ulp parameter.
51005         (check_long): Likewise.
51006         (check_bool): Likewise.
51007         (check_longlong): Likewise.
51008         (struct test_f_f_data): Remove max_ulp field.
51009         (struct test_ff_f_data): Likewise.
51010         (struct test_ff_f_data_nexttoward): Likewise.
51011         (struct test_fi_f_data): Likewise.
51012         (struct test_fl_f_data): Likewise.
51013         (struct test_if_f_data): Likewise.
51014         (struct test_fff_f_data): Likewise.
51015         (struct test_c_f_data): Likewise.
51016         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51017         (struct test_fF_f1_data): Likewise.
51018         (struct test_ffI_f1_data): Likewise.
51019         (struct test_c_c_data): Remove max_ulp field.
51020         (struct test_cc_c_data): Likewise.
51021         (struct test_f_i_data): Likewise.
51022         (struct test_ff_i_data): Likewise.
51023         (struct test_f_l_data): Likewise.
51024         (struct test_f_L_data): Likewise.
51025         (struct test_sincos_data): Likewise.
51026         (RUN_TEST_f_f): Do not handle ulps.
51027         (RUN_TEST_LOOP_f_f): Likewise.
51028         (RUN_TEST_2_f): Likewise.
51029         (RUN_TEST_LOOP_2_f): Likewise.
51030         (RUN_TEST_fff_f): Likewise.
51031         (RUN_TEST_LOOP_fff_f): Likewise.
51032         (RUN_TEST_c_f): Likewise.
51033         (RUN_TEST_LOOP_c_f): Likewise.
51034         (RUN_TEST_f_f1): Likewise.
51035         (RUN_TEST_LOOP_f_f1): Likewise.
51036         (RUN_TEST_fF_f1): Likewise.
51037         (RUN_TEST_LOOP_fF_f1): Likewise.
51038         (RUN_TEST_fI_f1): Likewise.
51039         (RUN_TEST_LOOP_fI_f1): Likewise.
51040         (RUN_TEST_ffI_f1): Likewise.
51041         (RUN_TEST_LOOP_ffI_f1): Likewise.
51042         (RUN_TEST_c_c): Likewise.
51043         (RUN_TEST_LOOP_c_c): Likewise.
51044         (RUN_TEST_cc_c): Likewise.
51045         (RUN_TEST_LOOP_cc_c): Likewise.
51046         (RUN_TEST_f_i): Likewise.
51047         (RUN_TEST_LOOP_f_i): Likewise.
51048         (RUN_TEST_f_i_tg): Likewise.
51049         (RUN_TEST_LOOP_f_i_tg): Likewise.
51050         (RUN_TEST_ff_i_tg): Likewise.
51051         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51052         (RUN_TEST_f_b): Likewise.
51053         (RUN_TEST_LOOP_f_b): Likewise.
51054         (RUN_TEST_f_b_tg): Likewise.
51055         (RUN_TEST_LOOP_f_b_tg): Likewise.
51056         (RUN_TEST_f_l): Likewise.
51057         (RUN_TEST_LOOP_f_l): Likewise.
51058         (RUN_TEST_f_L): Likewise.
51059         (RUN_TEST_LOOP_f_L): Likewise.
51060         (RUN_TEST_sincos): Likewise.
51061         (RUN_TEST_LOOP_sincos): Likewise.
51063 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51065         [BZ #15480]
51066         [BZ #15485]
51067         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51068         main case of finite arguments, set rounding mode to FE_TONEAREST
51069         and discard exceptions.
51070         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51071         exceptions.
51072         (remainder_tonearest_test_data): New variable.
51073         (remainder_test_tonearest): New function.
51074         (remainder_towardzero_test_data): New variable.
51075         (remainder_test_towardzero): New function.
51076         (remainder_downward_test_data): New variable.
51077         (remainder_test_downward): New function.
51078         (remainder_upward_test_data): New variable.
51079         (remainder_test_upward): New function.
51080         (main): Call the new test functions.
51082         * math/libm-test.inc (struct test_f_f1_data): Remove field
51083         extra_init.
51084         (struct test_fF_f1_data): Likewise.
51085         (struct test_ffI_f1_data): Likewise.
51086         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51087         based on value of EXTRA_EXPECTED.
51088         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51089         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51090         EXTRA_VAR based on value of EXTRA_EXPECTED.
51091         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51092         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51093         EXTRA_VAR based on value of EXTRA_EXPECTED.
51094         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51095         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51096         EXTRA_VAR based on value of EXTRA_EXPECTED.
51097         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51098         * math/gen-libm-test.pl (parse_args): Don't output initializers
51099         for extra output values.
51101         * math/libm-test.inc (check_int): Expect result to be exactly
51102         equal to expected value and do not handle ulps.
51103         (check_long): Likewise.
51104         (check_longlong): Likewise.
51106         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51107         exceptions.
51108         (cimag_test_data): Likewise.
51109         (conj_test_data): Likewise.
51110         (copysign_test_data): Likewise.
51111         (cproj_test_data): Likewise.
51112         (creal_test_data): Likewise.
51113         (fabs_test_data): Likewise.
51114         (fdim_test_data): Likewise.
51115         (finite_test_data): Likewise.
51116         (floor_test_data): Likewise.
51117         (fmax_test_data): Likewise.
51118         (fmin_test_data): Likewise.
51119         (fmod_test_data): Likewise.
51120         (fpclassify_test_data): Likewise.
51121         (frexp_test_data): Likewise.
51122         (ilogb_test_data): Likewise.
51123         (isfinite_test_data): Likewise.
51124         (isgreater_test_data): Likewise.
51125         (isgreaterequal_test_data): Likewise.
51126         (isinf_test_data): Likewise.
51127         (isless_test_data): Likewise.
51128         (islessequal_test_data): Likewise.
51129         (islessgreater_test_data): Likewise.
51130         (isnan_test_data): Likewise.
51131         (isnormal_test_data): Likewise.
51132         (issignaling_test_data): Likewise.
51133         (isunordered_test_data): Likewise.
51134         (ldexp_test_data): Likewise.
51135         (lrint_test_data): Likewise.
51136         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51137         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51138         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51139         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51140         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51141         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51142         test input.
51143         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51144         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51145         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51146         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51147         that test input.
51148         (lrint_downward_test_data): Test for "inexact" exceptions.
51149         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51150         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51151         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51152         test input.
51153         (lrint_upward_test_data): Test for "inexact" exceptions.
51154         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51155         test input.
51156         (llrint_test_data): Test for "inexact" exceptions.
51157         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51158         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51159         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51160         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51161         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51162         (llrint_downward_test_data): Test for "inexact" exceptions.
51163         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51164         (llrint_upward_test_data): Test for "inexact" exceptions.
51165         (logb_test_data): Likewise.
51166         (logb_downward_test_data): Likewise.
51167         (nextafter_test_data): Likewise.
51168         (nexttoward_test_data): Likewise.
51169         (remainder_test_data): Likewise.
51170         (remquo_test_data): Likewise.
51171         (scalbn_test_data): Likewise.
51172         (scalbln_test_data): Likewise.
51173         (signbit_test_data): Likewise.
51174         (sqrt_test_data): Likewise.
51175         (significand_test_data): Likewise.
51177 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51179         [BZ #15424]
51180         * benchtests/bench-modf.c (struct args): Mark arg0 as
51181         volatile.
51182         * scripts/bench.pl: Mark members of struct args as volatile.
51184 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51186         [BZ # 15497]
51187         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51188         negative infinity on POWER6 or lower.
51189         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51191 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51193         [BZ #15442]
51194         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51195         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51196         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51197         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51198         (_FP_SETQNAN): New macro.
51199         (_FP_SETQNAN_SEMIRAW): Likewise.
51200         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51201         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51202         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51203         (FP_EXTEND): Use _FP_FRAC_SNANP.
51204         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51205         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51206         into account.
51207         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51208         New macro.
51209         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51210         Likewise.
51212 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51214         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51215         with DIVIDE_BY_ZERO_EXCEPTION.
51216         (gamma_test_data): Likewise.
51217         (lgamma_test_data): Likewise.
51218         (log_test_data): Likewise.
51219         (log10_test_data): Likewise.
51220         (log2_test_data): Likewise.
51221         (tgamma_test_data): Likewise.
51223         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51224         (acos_test_tonearest): Likewise.
51225         (acos_test_towardzero): Likewise.
51226         (acos_test_downward): Likewise.
51227         (acos_test_upward): Likewise.
51228         (acosh_test): Likewise.
51229         (asin_test): Likewise.
51230         (asin_test_tonearest): Likewise.
51231         (asin_test_towardzero): Likewise.
51232         (asin_test_downward): Likewise.
51233         (asin_test_upward): Likewise.
51234         (asinh_test): Likewise.
51235         (atan_test): Likewise.
51236         (atanh_test): Likewise.
51237         (atan2_test): Likewise.
51238         (cabs_test): Likewise.
51239         (cacos_test): Likewise.
51240         (cacosh_test): Likewise.
51241         (casin_test): Likewise.
51242         (casinh_test): Likewise.
51243         (catan_test): Likewise.
51244         (catanh_test): Likewise.
51245         (cbrt_test): Likewise.
51246         (ccos_test): Likewise.
51247         (ccosh_test): Likewise.
51248         (cexp_test): Likewise.
51249         (clog_test): Likewise.
51250         (clog10_test): Likewise.
51251         (cos_test): Likewise.
51252         (cos_test_tonearest): Likewise.
51253         (cos_test_towardzero): Likewise.
51254         (cos_test_downward): Likewise.
51255         (cos_test_upward): Likewise.
51256         (cosh_test): Likewise.
51257         (cosh_test_tonearest): Likewise.
51258         (cosh_test_towardzero): Likewise.
51259         (cosh_test_downward): Likewise.
51260         (cosh_test_upward): Likewise.
51261         (cpow_test): Likewise.
51262         (csin_test): Likewise.
51263         (csinh_test): Likewise.
51264         (csqrt_test): Likewise.
51265         (ctan_test): Likewise.
51266         (ctan_test_tonearest): Likewise.
51267         (ctan_test_towardzero): Likewise.
51268         (ctan_test_downward): Likewise.
51269         (ctan_test_upward): Likewise.
51270         (ctanh_test): Likewise.
51271         (ctanh_test_tonearest): Likewise.
51272         (ctanh_test_towardzero): Likewise.
51273         (ctanh_test_downward): Likewise.
51274         (ctanh_test_upward): Likewise.
51275         (erf_test): Likewise.
51276         (erfc_test): Likewise.
51277         (exp_test): Likewise.
51278         (exp_test_tonearest): Likewise.
51279         (exp_test_towardzero): Likewise.
51280         (exp_test_downward): Likewise.
51281         (exp_test_upward): Likewise.
51282         (exp10_test): Likewise.
51283         (exp2_test): Likewise.
51284         (expm1_test): Likewise.
51285         (fmod_test): Likewise.
51286         (gamma_test): Likewise.
51287         (hypot_test): Likewise.
51288         (j0_test): Likewise.
51289         (j1_test): Likewise.
51290         (jn_test): Likewise.
51291         (lgamma_test): Likewise.
51292         (log_test): Likewise.
51293         (log10_test): Likewise.
51294         (log1p_test): Likewise.
51295         (log2_test): Likewise.
51296         (logb_test_downward): Likewise.
51297         (pow_test): Likewise.
51298         (pow_test_tonearest): Likewise.
51299         (pow_test_towardzero): Likewise.
51300         (pow_test_downward): Likewise.
51301         (pow_test_upward): Likewise.
51302         (remainder_test): Likewise.
51303         (remquo_test): Likewise.
51304         (sin_test): Likewise.
51305         (sin_test_tonearest): Likewise.
51306         (sin_test_towardzero): Likewise.
51307         (sin_test_downward): Likewise.
51308         (sin_test_upward): Likewise.
51309         (sincos_test): Likewise.
51310         (sinh_test): Likewise.
51311         (sinh_test_tonearest): Likewise.
51312         (sinh_test_towardzero): Likewise.
51313         (sinh_test_downward): Likewise.
51314         (sinh_test_upward): Likewise.
51315         (sqrt_test): Likewise.
51316         (tan_test): Likewise.
51317         (tan_test_tonearest): Likewise.
51318         (tan_test_towardzero): Likewise.
51319         (tan_test_downward): Likewise.
51320         (tan_test_upward): Likewise.
51321         (tanh_test): Likewise.
51322         (tgamma_test): Likewise.
51323         (y0_test): Likewise.
51324         (y1_test): Likewise.
51325         (yn_test): Likewise.
51327         * math/gen-libm-test.pl (adjust_arg): Remove function.
51328         (special_function): Remove argument $in_func.  Only handle
51329         generating output for tables of tests, not inside functions.
51330         (parse_args): Likewise.
51331         (generate_testfile): Remove variable $in_func.  Update call to
51332         parse_args.
51333         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51334         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51335         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51336         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51337         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51338         (MAX_VALUE_INIT): Rename macro to max_value.
51339         (MIN_VALUE_INIT): Rename macro to min_value.
51340         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51341         (plus_zero): Remove variable.
51342         (minus_zero): Likewise.
51343         (plus_infty): Likewise.
51344         (minus_infty): Likewise.
51345         (qnan_value): Likewise.
51346         (max_value): Likewise.
51347         (min_value): Likewise.
51348         (min_subnorm_value): Likewise.
51350 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51352         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51353         uint64_t or uint32_t usage.
51354         * crypt/sha256-block.c: Likewise.
51355         * crypt/sha256-crypt.c: Likewise.
51356         * crypt/sha256.c: Likewise.
51357         * crypt/sha512-block.c: Likewise.
51358         * crypt/sha512-crypt.c: Likewise.
51359         * crypt/sha512.c: Likewise.
51360         * debug/backtrace-tst.c: Likewise.
51361         * debug/pcprofiledump.c: Likewise.
51362         * elf/cache.c: Likewise.
51363         * elf/dl-cache.c: Likewise.
51364         * elf/dl-misc.c: Likewise.
51365         * elf/dl-profile.c: Likewise.
51366         * elf/dl-support.c: Likewise.
51367         * elf/ldconfig.c: Likewise.
51368         * elf/sprof.c: Likewise.
51369         * iconv/dummy-repertoire.c: Likewise.
51370         * iconv/iconv_charmap.c: Likewise.
51371         * iconv/skeleton.c: Likewise.
51372         * iconvdata/8bit-generic.c: Likewise.
51373         * iconvdata/cp737.h: Likewise.
51374         * iconvdata/cp775.h: Likewise.
51375         * iconvdata/ibm1008.h: Likewise.
51376         * iconvdata/ibm1025.h: Likewise.
51377         * iconvdata/ibm1046.h: Likewise.
51378         * iconvdata/ibm1097.h: Likewise.
51379         * iconvdata/ibm1112.h: Likewise.
51380         * iconvdata/ibm1122.h: Likewise.
51381         * iconvdata/ibm1123.h: Likewise.
51382         * iconvdata/ibm1124.h: Likewise.
51383         * iconvdata/ibm1129.h: Likewise.
51384         * iconvdata/ibm1130.h: Likewise.
51385         * iconvdata/ibm1132.h: Likewise.
51386         * iconvdata/ibm1133.h: Likewise.
51387         * iconvdata/ibm1137.h: Likewise.
51388         * iconvdata/ibm1140.h: Likewise.
51389         * iconvdata/ibm1141.h: Likewise.
51390         * iconvdata/ibm1142.h: Likewise.
51391         * iconvdata/ibm1143.h: Likewise.
51392         * iconvdata/ibm1144.h: Likewise.
51393         * iconvdata/ibm1145.h: Likewise.
51394         * iconvdata/ibm1146.h: Likewise.
51395         * iconvdata/ibm1147.h: Likewise.
51396         * iconvdata/ibm1148.h: Likewise.
51397         * iconvdata/ibm1149.h: Likewise.
51398         * iconvdata/ibm1153.h: Likewise.
51399         * iconvdata/ibm1154.h: Likewise.
51400         * iconvdata/ibm1155.h: Likewise.
51401         * iconvdata/ibm1156.h: Likewise.
51402         * iconvdata/ibm1157.h: Likewise.
51403         * iconvdata/ibm1158.h: Likewise.
51404         * iconvdata/ibm1160.h: Likewise.
51405         * iconvdata/ibm1161.h: Likewise.
51406         * iconvdata/ibm1162.h: Likewise.
51407         * iconvdata/ibm1163.h: Likewise.
51408         * iconvdata/ibm1164.h: Likewise.
51409         * iconvdata/ibm1166.h: Likewise.
51410         * iconvdata/ibm1167.h: Likewise.
51411         * iconvdata/ibm12712.h: Likewise.
51412         * iconvdata/ibm1390.h: Likewise.
51413         * iconvdata/ibm1399.h: Likewise.
51414         * iconvdata/ibm16804.h: Likewise.
51415         * iconvdata/ibm4517.h: Likewise.
51416         * iconvdata/ibm4899.h: Likewise.
51417         * iconvdata/ibm4909.h: Likewise.
51418         * iconvdata/ibm4971.h: Likewise.
51419         * iconvdata/ibm5347.h: Likewise.
51420         * iconvdata/ibm803.h: Likewise.
51421         * iconvdata/ibm856.h: Likewise.
51422         * iconvdata/ibm901.h: Likewise.
51423         * iconvdata/ibm902.h: Likewise.
51424         * iconvdata/ibm9030.h: Likewise.
51425         * iconvdata/ibm9066.h: Likewise.
51426         * iconvdata/ibm921.h: Likewise.
51427         * iconvdata/ibm922.h: Likewise.
51428         * iconvdata/ibm9448.h: Likewise.
51429         * iconvdata/isiri-3342.h: Likewise.
51430         * iconvdata/jis0201.h: Likewise.
51431         * include/link.h: Likewise.
51432         * include/netdb.h: Likewise.
51433         * inet/check_native.c: Likewise.
51434         * inet/check_pf.c: Likewise.
51435         * inet/getipv4sourcefilter.c: Likewise.
51436         * inet/getnameinfo.c: Likewise.
51437         * inet/getsourcefilter.c: Likewise.
51438         * inet/htonl.c: Likewise.
51439         * inet/setipv4sourcefilter.c: Likewise.
51440         * inet/setsourcefilter.c: Likewise.
51441         * inet/test-inet6_opt.c: Likewise.
51442         * inet/tst-network.c: Likewise.
51443         * locale/C-collate.c: Likewise.
51444         * locale/C-ctype.c: Likewise.
51445         * locale/C-time.c: Likewise.
51446         * locale/C-translit.h: Likewise.
51447         * locale/loadarchive.c: Likewise.
51448         * locale/programs/3level.h: Likewise.
51449         * locale/programs/charmap.c: Likewise.
51450         * locale/programs/charmap.h: Likewise.
51451         * locale/programs/ld-address.c: Likewise.
51452         * locale/programs/ld-collate.c: Likewise.
51453         * locale/programs/ld-ctype.c: Likewise.
51454         * locale/programs/ld-identification.c: Likewise.
51455         * locale/programs/ld-measurement.c: Likewise.
51456         * locale/programs/ld-messages.c: Likewise.
51457         * locale/programs/ld-monetary.c: Likewise.
51458         * locale/programs/ld-name.c: Likewise.
51459         * locale/programs/ld-numeric.c: Likewise.
51460         * locale/programs/ld-paper.c: Likewise.
51461         * locale/programs/ld-telephone.c: Likewise.
51462         * locale/programs/ld-time.c: Likewise.
51463         * locale/programs/linereader.c: Likewise.
51464         * locale/programs/locale.c: Likewise.
51465         * locale/programs/locarchive.c: Likewise.
51466         * locale/programs/locfile.h: Likewise.
51467         * locale/programs/repertoire.c: Likewise.
51468         * locale/programs/simple-hash.c: Likewise.
51469         * locale/programs/simple-hash.h: Likewise.
51470         * malloc/memusage.c: Likewise.
51471         * malloc/memusagestat.c: Likewise.
51472         * nis/nis_defaults.c: Likewise.
51473         * nis/nis_hash.c: Likewise.
51474         * nis/nis_print.c: Likewise.
51475         * nis/nis_xdr.c: Likewise.
51476         * nscd/connections.c: Likewise.
51477         * nscd/hstcache.c: Likewise.
51478         * nscd/nscd_gethst_r.c: Likewise.
51479         * nscd/nscd_getserv_r.c: Likewise.
51480         * nscd/nscd_helper.c: Likewise.
51481         * nscd/servicescache.c: Likewise.
51482         * nss/makedb.c: Likewise.
51483         * nss/nss_db/db-XXX.c: Likewise.
51484         * nss/nss_db/db-initgroups.c: Likewise.
51485         * nss/nss_db/db-netgrp.c: Likewise.
51486         * nss/nss_files/files-network.c: Likewise.
51487         * nss/nss_files/files-parse.c: Likewise.
51488         * posix/bug-regex5.c: Likewise.
51489         * posix/fnmatch_loop.c: Likewise.
51490         * posix/regcomp.c: Likewise.
51491         * posix/regexec.c: Likewise.
51492         * posix/tst-rfc3484-2.c: Likewise.
51493         * posix/tst-rfc3484-3.c: Likewise.
51494         * posix/tst-rfc3484.c: Likewise.
51495         * resolv/nss_dns/dns-canon.c: Likewise.
51496         * resolv/nss_dns/dns-network.c: Likewise.
51497         * resolv/res_init.c: Likewise.
51498         * resolv/res_mkquery.c: Likewise.
51499         * resolv/tst-aton.c: Likewise.
51500         * stdlib/cxa_atexit.c: Likewise.
51501         * stdlib/cxa_finalize.c: Likewise.
51502         * stdlib/gen-fpioconst.c: Likewise.
51503         * stdlib/strtol_l.c: Likewise.
51504         * string/tst-endian.c: Likewise.
51505         * sunrpc/auth_des.c: Likewise.
51506         * sunrpc/clnt_udp.c: Likewise.
51507         * sunrpc/rtime.c: Likewise.
51508         * sunrpc/svcauth_des.c: Likewise.
51509         * sunrpc/xdr.c: Likewise.
51510         * sunrpc/xdr_intXX_t.c: Likewise.
51511         * sunrpc/xdr_rec.c: Likewise.
51512         * sysdeps/generic/ldconfig.h: Likewise.
51513         * sysdeps/generic/ldsodefs.h: Likewise.
51514         * sysdeps/generic/memusage.h: Likewise.
51515         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51516         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51517         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51518         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51519         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51520         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51521         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51522         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51523         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51524         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51525         * sysdeps/posix/getaddrinfo.c: Likewise.
51526         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51527         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51528         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51529         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51530         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51531         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51532         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51533         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51534         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51535         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51536         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51537         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51538         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51539         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51540         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51541         * sysdeps/x86_64/dl-tls.h: Likewise.
51542         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51543         * time/alt_digit.c: Likewise.
51544         * time/era.c: Likewise.
51545         * wcsmbs/tst-c16c32-1.c: Likewise.
51547 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51549         * math/libm-test.inc (struct test_sincos_data): New type.
51550         (RUN_TEST_LOOP_sincos): New macro.
51551         (sincos_test_data): New variable.
51552         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51554 2013-05-16  Richard Henderson  <rth@redhat.com>
51556         * math/atest-exp2.c (LIMB64): New macro.
51557         (CONSTSZ): New macro.
51558         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51559         (hexdig): Move ...
51560         (print_mpn_fp): ... to function scope.
51561         (read_mpn_hex): Remove.
51562         (get_log2): Remove.
51563         (exp2_mpn): Use mp_log2.
51564         (main): Use mp_exp1.
51566 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51568         * math/libm-test.inc: Remove comment about not testing "inexact"
51569         exceptions.
51570         (INEXACT_EXCEPTION): New macro.
51571         (NO_INEXACT_EXCEPTION): Likewise.
51572         (INVALID_EXCEPTION_OK): Update value.
51573         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51574         (OVERFLOW_EXCEPTION_OK): Likewise.
51575         (UNDERFLOW_EXCEPTION_OK): Likewise.
51576         (IGNORE_ZERO_INF_SIGN): Likewise.
51577         (ERRNO_UNCHANGED): Likewise.
51578         (ERRNO_EDOM): Likewise.
51579         (ERRNO_ERANGE): Likewise.
51580         (test_exceptions): Handle testing "inexact" exceptions.
51581         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
51582         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
51583         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
51584         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
51585         INEXACT_EXCEPTION.
51586         (rint_towardzero_test_data): Likewise.
51587         (rint_downward_test_data): Likewise.
51588         (rint_upward_test_data): Likewise.
51590         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
51591         with OVERFLOW_EXCEPTION.
51592         (exp10_test_data): Likewise.
51593         (exp2_test_data): Likewise.
51594         (expm1_test_data): Likewise.
51595         (lgamma_test_data): Likewise.
51596         (pow_test_data): Likewise.
51597         (tgamma_test_data): Likewise.
51598         (yn_test_data): Remove duplicate test of overflow.
51600         * math/libm-test.inc (struct test_cc_c_data): New type.
51601         (RUN_TEST_LOOP_cc_c): New macro.
51602         (cpow_test_data): New variable.
51603         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
51605         * math/libm-test.inc (struct test_f_L_data): New type.
51606         (RUN_TEST_LOOP_f_L): New macro.
51607         (llrint_test_data): New variable.
51608         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
51609         (llrint_tonearest_test_data): New variable.
51610         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
51611         (llrint_towardzero_test_data): New variable.
51612         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
51613         (llrint_downward_test_data): New variable.
51614         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
51615         (llrint_upward_test_data): New variable.
51616         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
51617         (llround_test_data): New variable.
51618         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
51620 2013-05-13  Peter Collingbourne  <pcc@google.com>
51622         * math/atest-exp2.c (get_log2): Remove const attribute.
51624 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51626         * math/libm-test.inc (struct test_f_l_data): New type.
51627         (RUN_TEST_LOOP_f_l): New macro.
51628         (lrint_test_data): New variable.
51629         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
51630         (lrint_tonearest_test_data): New variable.
51631         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
51632         (lrint_towardzero_test_data): New variable.
51633         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
51634         (lrint_downward_test_data): New variable.
51635         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
51636         (lrint_upward_test_data): New variable.
51637         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51638         (lround_test_data): New variable.
51639         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
51641 2013-05-15  Peter Collingbourne  <pcc@google.com>
51643         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
51644         (EXTRACT_WORDS64) Use where appropriate.
51645         (INSERT_WORDS64) Likewise.
51647         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
51648         constraints with x constraints.
51649         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
51651         * malloc/obstack.c (_obstack_compat): Add initializer.
51653 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51655         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
51656         si_trapno and add si_addr_lsb to _sifields.sigfault.
51657         (si_trapno): Remove macro.
51658         (si_addr_lsb): Define new macro.
51659         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51661 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
51663         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
51664         instead of TEST_f_l.
51665         (llrint_test_tonearest): Likewise.
51666         (llrint_test_towardzero): Likewise.
51667         (llrint_test_downward): Likewise.
51668         (llrint_test_upward): Likewise.
51669         (llround_test): Likewise.
51671         * math/libm-test.inc (struct test_f_i_data): Add comment.
51672         (RUN_TEST_LOOP_f_b): New macro.
51673         (RUN_TEST_LOOP_f_b_tg): Likewise.
51674         (finite_test_data): New variable.
51675         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
51676         (isfinite_test_data): New variable.
51677         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51678         (isinf_test_data): New variable.
51679         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51680         (isnan_test_data): New variable.
51681         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51682         (isnormal_test_data): New variable.
51683         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51684         (issignaling_test_data): New variable.
51685         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51686         (signbit_test_data): New variable.
51687         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
51689         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
51690         with INVALID_EXCEPTION.
51691         (acosh_test_data): Likewise.
51692         (asin_test_data): Likewise.
51693         (atanh_test_data): Likewise.
51694         (fmod_test_data): Likewise.
51695         (log_test_data): Likewise.
51696         (log10_test_data): Likewise.
51697         (log2_test_data): Likewise.
51698         (pow_test_data): Likewise.
51699         (sqrt_test_data): Likewise.
51700         (y0_test_data): Likewise.
51701         (y1_test_data): Likewise.
51702         (yn_test_data): Likewise.
51704         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
51705         function contents.
51707         * math/libm-test.inc (struct test_ff_i_data): New type.
51708         (RUN_TEST_LOOP_ff_i_tg): New macro.
51709         (isgreater_test_data): New variable.
51710         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51711         (isgreaterequal_test_data): New variable.
51712         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51713         (isless_test_data): New variable.
51714         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51715         (islessequal_test_data): New variable.
51716         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51717         (islessgreater_test_data): New variable.
51718         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51719         (isunordered_test_data): New variable.
51720         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51722 2013-05-14  David S. Miller  <davem@davemloft.net>
51724         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51726 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
51728         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
51730         * math/libm-test.inc (struct test_fF_f1_data): Change type of
51731         extra_test to int.
51732         (struct test_f_i_data): Change type of max_ulp to int.
51734         * math/libm-test.inc (test_ffI_f1_data): New type.
51735         (RUN_TEST_LOOP_ffI_f1): New macro.
51736         (remquo_test_data): New variable.
51737         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
51739         * setjmp/tst-setjmp-fp.c: New file.
51740         * setjmp/Makefile (tests): Add tst-setjmp-fp.
51741         (link-libm): New variable.
51742         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
51744         * math/libm-test.inc (struct test_f_i_data): New type.
51745         (RUN_TEST_LOOP_f_i): New macro.
51746         (RUN_TEST_LOOP_f_i_tg): Likewise.
51747         (fpclassify_test_data): New variable.
51748         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
51749         (ilogb_test_data): New variable.
51750         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
51752         * math/libm-test.inc (scalbln_test): Correct function name in END
51753         call.
51755         * math/libm-test.inc (struct test_f_f1_data): Add comment.
51756         (RUN_TEST_LOOP_fI_f1): New macro.
51757         (frexp_test_data): New variable.
51758         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51760         * math/libm-test.inc (struct test_fF_f1_data): New type.
51761         (RUN_TEST_LOOP_fF_f1): New macro.
51762         (modf_test_data): New variable.
51763         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51765         * math/libm-test.inc (struct test_f_f1_data): New type.
51766         (RUN_TEST_LOOP_f_f1): New macro.
51767         (gamma_test_data): New variable.
51768         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51769         (lgamma_test_data): New variable.
51770         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51772 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51774         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51775         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51776         (main): Comment "tls" pseudo-hwcap.
51778 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51780         * math/libm-test.inc (struct test_fl_f_data): New type.
51781         (RUN_TEST_LOOP_fl_f): New variable.
51782         (scalbln_test_data): New variable.
51783         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51785         * math/libm-test.inc (struct test_fi_f_data): New type.
51786         (RUN_TEST_LOOP_fi_f): New macro.
51787         (ldexp_test_data): New variable.
51788         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51789         (scalbn_test_data): New variable.
51790         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51792         * math/libm-test.inc (struct test_c_f_data): New type.
51793         (RUN_TEST_LOOP_c_f): New macro.
51794         (cabs_test_data): New variable.
51795         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51796         (carg_test_data): New variable.
51797         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51798         (cimag_test_data): New variable.
51799         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51800         (creal_test_data): New variable.
51801         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51803         * math/libm-test.inc (struct test_if_f_data): New type.
51804         (RUN_TEST_LOOP_if_f): New macro.
51805         (jn_test_data): New variable.
51806         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51807         (yn_test_data): New variable.
51808         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51810         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51812 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51814         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51815         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51817 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51819         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51820         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51821         (bench-deps): Add bench-timing.h.
51822         * benchtests-bench-skeleton.c: Include bench-timing.h.
51823         (main): Use TIMING_* macros instead of clock_gettime.
51824         * benchtests/bench-timing.h: New file.
51826         [BZ #14582]
51827         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51828         Renamed from _LIB_VERSION.
51829         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51831 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51833         * math/libm-test.inc (struct test_fff_f_data): New type.
51834         (RUN_TEST_LOOP_fff_f): New macro.
51835         (fma_test_data): New variable.
51836         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51837         (fma_towardzero_test_data): New variable.
51838         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51839         (fma_downward_test_data): New variable.
51840         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51841         (fma_upward_test_data): New variable.
51842         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51844         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51845         (struct test_c_c_data): New type.
51846         (RUN_TEST_LOOP_c_c): New macro.
51847         (cacos_test_data): New variable.
51848         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51849         (cacosh_test_data): New variable.
51850         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51851         (casin_test_data): New variable.
51852         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51853         (casinh_test_data): New variable.
51854         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51855         (catan_test_data): New variable.
51856         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51857         (catanh_test_data): New variable.
51858         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51859         (ccos_test_data): New variable.
51860         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51861         (ccosh_test_data): New variable.
51862         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51863         (cexp_test_data): New variable.
51864         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51865         (clog_test_data): New variable.
51866         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51867         (clog10_test_data): New variable.
51868         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51869         (conj_test_data): New variable.
51870         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51871         (cproj_test_data): New variable.
51872         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51873         (csin_test_data): New variable.
51874         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51875         (csinh_test_data): New variable.
51876         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51877         (csqrt_test_data): New variable.
51878         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51879         (ctan_test_data): New variable.
51880         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51881         (ctan_tonearest_test_data): New variable.
51882         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51883         (ctan_towardzero_test_data): New variable.
51884         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51885         (ctan_downward_test_data): New variable.
51886         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51887         (ctan_upward_test_data): New variable.
51888         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51889         (ctanh_test_data): New variable.
51890         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51891         (ctanh_tonearest_test_data): New variable.
51892         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51893         (ctanh_towardzero_test_data): New variable.
51894         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51895         (ctanh_downward_test_data): New variable.
51896         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51897         (ctanh_upward_test_data): New variable.
51898         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51899         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51900         of BUILD_COMPLEX.
51902         * math/libm-test.inc (struct test_ff_f_data): New type.
51903         (struct test_ff_f_data_nexttoward): Likewise.
51904         (RUN_TEST_LOOP_2_f): New macro.
51905         (RUN_TEST_LOOP_ff_f): Likewise.
51906         (atan2_test_data): New variable.
51907         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51908         (copysign_test_data): New variable.
51909         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51910         (fdim_test_data): New variable.
51911         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51912         (fmax_test_data): New variable.
51913         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51914         (fmin_test_data): New variable.
51915         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51916         (fmod_test_data): New variable.
51917         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51918         (hypot_test_data): New variable.
51919         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51920         (nextafter_test_data): New variable.
51921         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51922         (nexttoward_test_data): New variable.
51923         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51924         (pow_test_data): New variable.
51925         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51926         (pow_tonearest_test_data): New variable.
51927         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51928         (pow_towardzero_test_data): New variable.
51929         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51930         (pow_downward_test_data): New variable.
51931         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51932         (pow_upward_test_data): New variable.
51933         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51934         (remainder_test_data): New variable.
51935         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51936         (scalb_test_data): New variable.
51937         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51938         * sysdeps/i386/fpu/libm-test-ulps: Update.
51940 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51942         * math/libm-test.inc (fma_test): Use max_value instead of local
51943         variable fltmax.
51944         (nextafter_test): Likewise.
51946         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51947         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51948         (acos_downward_test_data): New variable.
51949         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51950         (acos_upward_test_data): New variable.
51951         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51952         (acosh_test_data): New variable.
51953         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51954         (asin_test_data): New variable.
51955         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51956         (asin_tonearest_test_data): New variable.
51957         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51958         (asin_towardzero_test_data): New variable.
51959         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51960         (asin_downward_test_data): New variable.
51961         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51962         (asin_upward_test_data): New variable.
51963         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51964         (asinh_test_data): New variable.
51965         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51966         (atan_test_data): New variable.
51967         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51968         (atanh_test_data): New variable.
51969         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51970         (cbrt_test_data): New variable.
51971         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51972         (ceil_test_data): New variable.
51973         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51974         (cos_test_data): New variable.
51975         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51976         (cos_tonearest_test_data): New variable.
51977         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51978         (cos_towardzero_test_data): New variable.
51979         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51980         (cos_downward_test_data): New variable.
51981         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51982         (cos_upward_test_data): New variable.
51983         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51984         (cosh_test_data): New variable.
51985         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51986         (cosh_tonearest_test_data): New variable.
51987         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51988         (cosh_towardzero_test_data): New variable.
51989         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51990         (cosh_downward_test_data): New variable.
51991         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51992         (cosh_upward_test_data): New variable.
51993         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51994         (erf_test_data): New variable.
51995         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51996         (erfc_test_data): New variable.
51997         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51998         (exp_test_data): New variable.
51999         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52000         (exp_tonearest_test_data): New variable.
52001         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52002         (exp_towardzero_test_data): New variable.
52003         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52004         (exp_downward_test_data): New variable.
52005         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52006         (exp_upward_test_data): New variable.
52007         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52008         (exp10_test_data): New variable.
52009         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52010         (exp2_test_data): New variable.
52011         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52012         (expm1_test_data): New variable.
52013         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52014         (fabs_test_data): New variable.
52015         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52016         (floor_test_data): New variable.
52017         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52018         (j0_test_data): New variable.
52019         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52020         (j1_test_data): New variable.
52021         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52022         (log_test_data): New variable.
52023         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52024         (log10_test_data): New variable.
52025         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52026         (log1p_test_data): New variable.
52027         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52028         (log2_test_data): New variable.
52029         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52030         (logb_test_data): New variable.
52031         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52032         (logb_downward_test_data): New variable.
52033         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52034         (nearbyint_test_data): New variable.
52035         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52036         (rint_test_data): New variable.
52037         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52038         (rint_tonearest_test_data): New variable.
52039         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52040         (rint_towardzero_test_data): New variable.
52041         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52042         (rint_downward_test_data): New variable.
52043         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52044         (rint_upward_test_data): New variable.
52045         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52046         (round_test_data): New variable.
52047         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52048         (sin_test_data): New variable.
52049         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52050         (sin_tonearest_test_data): New variable.
52051         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52052         (sin_towardzero_test_data): New variable.
52053         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52054         (sin_downward_test_data): New variable.
52055         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52056         (sin_upward_test_data): New variable.
52057         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52058         (sinh_test_data): New variable.
52059         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52060         (sinh_tonearest_test_data): New variable.
52061         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52062         (sinh_towardzero_test_data): New variable.
52063         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52064         (sinh_downward_test_data): New variable.
52065         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52066         (sinh_upward_test_data): New variable.
52067         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52068         (sqrt_test_data): New variable.
52069         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52070         (tan_test_data): New variable.
52071         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52072         (tan_tonearest_test_data): New variable.
52073         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52074         (tan_towardzero_test_data): New variable.
52075         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52076         (tan_downward_test_data): New variable.
52077         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52078         (tan_upward_test_data): New variable.
52079         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52080         (tanh_test_data): New variable.
52081         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52082         (tgamma_test_data): New variable.
52083         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52084         (trunc_test_data): New variable.
52085         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52086         (y0_test_data): New variable.
52087         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52088         (y1_test_data): New variable.
52089         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52090         (significand_test_data): New variable.
52091         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52093 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52095         [BZ #12387]
52096         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52098 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52100         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52102 2013-05-10  Andreas Jaeger  <aj@suse.de>
52104         [BZ #15448]
52105         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52106         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52108 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52110         * math/gen-libm-test.pl (adjust_arg): New function.
52111         (special_functions): Handle generating output in both functions
52112         and arrays.
52113         (parse_args): Likewise.
52114         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52115         $in_func argument to parse_args.
52116         * math/libm-test.inc (struct test_f_f_data): New type.
52117         (IF_ROUND_INIT_): New macro.
52118         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52119         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52120         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52121         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52122         (ROUND_RESTORE_): Likewise.
52123         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52124         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52125         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52126         (ROUND_RESTORE_FE_UPWARD): Likewise.
52127         (RUN_TEST_LOOP_f_f): New macro.
52128         (acos_test_data): New variable.
52129         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52130         (acos_tonearest_test_data): New variable.
52131         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52133 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52135         * benchtests/bench-skeleton.c (startup): Fix coding style.
52137 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52139         [BZ #6809]
52140         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52141         negative infinity argument.
52142         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52143         negative infinity argument.
52144         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52145         negative infinity argument.
52146         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52147         domain errors.
52149 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52151         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52152         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52153         * iconv/iconv_prog.c (main): Likewise.
52154         * locale/programs/charmap-dir.c (charmap_readdir)
52155         (fopen_uncompressed): Likewise.
52156         * locale/programs/locfile.c (siblings_uncached)
52157         (write_locale_data): Use lstat64 instead of lstat.
52158         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52159         stat.
52161 2013-05-10  Andreas Jaeger  <aj@suse.de>
52163         [BZ #15395]
52164         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52165         localization.
52166         Include <locale.h>.
52168 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52170         * elf/dl-close.c (_dl_close_worker): Add comments.
52172 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52174         [BZ #15359]
52175         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52176         high part of pi/2.
52177         (__ieee754_rem_pio2l): Update comments.
52179         [BZ #15429]
52180         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52181         high part of pi/2.
52182         (__ieee754_rem_pio2l): Update comments.
52184         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52185         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52187         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52188         M_PI_4l.
52190         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52191         (M_PI_34_LOG10El): Likewise.
52192         (M_PI2_LOG10El): Likewise.
52193         (M_PI4_LOG10El): Likewise.
52194         (M_PI_LOG10El): Likewise.
52196 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52200 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52202         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52203         (MINUS_ZERO_INIT): Likewise.
52204         (PLUS_INFTY_INIT): Likewise.
52205         (MINUS_INFTY_INIT): Likewise.
52206         (QNAN_VALUE_INIT): Likewise.
52207         (MAX_VALUE_INIT): Likewise.
52208         (MIN_VALUE_INIT): Likewise.
52209         (MIN_SUBNORM_VALUE_INIT): Likewise.
52210         (plus_zero): Initialize with PLUS_ZERO_INIT.
52211         (minus_zero): Initialize with MINUS_ZERO_INIT.
52212         (plus_infty): Initialize with PLUS_INFTY_INIT.
52213         (minus_infty): Initialize with MINUS_INFTY_INIT.
52214         (qnan_value): Initialize with QNAN_VALUE_INIT.
52215         (max_value): Initialize with MAX_VALUE_INIT.
52216         (min_value): Initialize with MIN_VALUE_INIT.
52217         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52219         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52220         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52221         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52222         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52224         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52225         (RUN_TEST_2_f): Likewise.
52226         (RUN_TEST_ff_f): Likewise.
52227         (RUN_TEST_fi_f): Likewise.
52228         (RUN_TEST_fl_f): Likewise.
52229         (RUN_TEST_fff_f): Likewise.
52230         (RUN_TEST_c_f): Likewise.
52231         (RUN_TEST_f_f1): Likewise.
52232         (RUN_TEST_fF_f1): Likewise.
52233         (RUN_TEST_fI_f1): Likewise.
52234         (RUN_TEST_ffI_f1): Likewise.
52235         (RUN_TEST_c_c): Likewise.
52236         (RUN_TEST_cc_c): Likewise.
52237         (RUN_TEST_f_i): Likewise.
52238         (RUN_TEST_f_i_tg): Likewise.
52239         (RUN_TEST_ff_i_tg): Likewise.
52240         (RUN_TEST_f_b): Likewise.
52241         (RUN_TEST_f_b_tg): Likewise.
52242         (RUN_TEST_f_l): Likewise.
52243         (RUN_TEST_f_L): Likewise.
52244         (RUN_TEST_sincos): Likewise.
52245         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52246         whether to show exceptions.  Do not include ");\n" in return
52247         value.
52248         (special_functions): Output call to RUN_TEST_sincos instead of
52249         check_float calls.  Update calls to new_test.
52250         (parse_args): Output call to single RUN_TEST_* macro instead of
52251         check_* calls and other assignments.  Update calls to new_test.
52253         [BZ #2546]
52254         [BZ #2560]
52255         [BZ #5159]
52256         [BZ #15426]
52257         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52258         input to result for tgamma overflow.
52259         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52260         (gamma_coeff): New variable.
52261         (NCOEFF): New macro.
52262         (gamma_positive): New function.
52263         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52264         underflow here.  Use gamma_positive instead of exp (lgamma) for
52265         other arguments.
52266         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52267         (gamma_coeff): New variable.
52268         (NCOEFF): New macro.
52269         (gammaf_positive): New function.
52270         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52271         underflow here.  Use gamma_positive instead of exp (lgamma) for
52272         other arguments.
52273         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52274         (gamma_coeff): New variable.
52275         (NCOEFF): New macro.
52276         (gammal_positive): New function.
52277         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52278         underflow here.  Use gamma_positive instead of exp (lgamma) for
52279         other arguments.
52280         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52281         (gamma_coeff): New variable.
52282         (NCOEFF): New macro.
52283         (gammal_positive): New function.
52284         (__ieee754_gammal_r): Handle positive infinity, overflow and
52285         underflow here.  Handle NaN the same as positive infinity.  Remove
52286         check x < 0xffffffff for negative integers.  Use gamma_positive
52287         instead of exp (lgamma) for other arguments.
52288         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52289         (gamma_coeff): New variable.
52290         (NCOEFF): New macro.
52291         (gammal_positive): New function.
52292         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52293         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52294         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52295         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52296         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52297         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52298         * sysdeps/generic/math_private.h (__gamma_productf): New
52299         prototype.
52300         (__gamma_product): Likewise.
52301         (__gamma_productl): Likewise.
52302         * math/Makefile (libm-calls): Add gamma_product.
52303         * math/libm-test.inc (tgamma_test): Add more tests.
52304         * sysdeps/i386/fpu/libm-test-ulps: Update.
52305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52307 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52309         * benchtests/bench-skeleton.c (main): Preheat CPU.
52311 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52313         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52315 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52317         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52318         and _dl_skip_args_internal.
52320 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52322         * manual/message.texi (Message Translation): Talk about users.
52323         Message to key mapping impacts design.
52325 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52327         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52329         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52331         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52332         * sysdeps/wordsize-64/glob64.c: ... here.
52334         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52335         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52336         New macros.
52338         * debug/getlogin_r_chk.c: Moved to ...
52339         * login/getlogin_r_chk.c: ... here.
52340         * debug/Makefile (routines): Move getlogin_r_chk to ...
52341         * login/Makefile (routines): ... here.
52342         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52343         * login/Versions (libc: GLIBC_2.4): ... here.
52345         * io/poll.c (__poll): Renamed from poll.
52346         Add libc_hidden_def.
52347         (poll): Define as weak alias.
52349         * debug/ptsname_r_chk.c: Moved to ...
52350         * login/ptsname_r_chk.c: ... here.
52351         * debug/Makefile (routines): Move ptsname_r_chk to ...
52352         * login/Makefile (routines): ... here.
52353         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52354         * login/Versions (libc: GLIBC_2.4): ... here.
52356         * posix/getlogin.c: Moved to ...
52357         * login/getlogin.c: ... here.
52358         * posix/getlogin_r.c: Moved to ...
52359         * login/getlogin_r.c: ... here.
52360         * posix/getlogin_r.c: Moved to ...
52361         * login/getlogin_r.c: ... here.
52362         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52363         * login/Makefile (routines): ... here.
52364         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52365         * login/Versions (libc: GLIBC_2.0): ... here.
52367         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52368         (setrlimit): Define as weak alias.
52370         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52371         Call __ names for open, ftruncate, and close.
52372         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52373         (truncate): Define as weak alias.
52375 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52377         * math/gen-libm-test.pl (parse_args): Initialize x before each
52378         test of frexp, modf and remquo.
52380         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52381         test signgam value.
52383 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52385         [BZ #15418]
52386         [BZ #15419]
52387         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52388         internal tests.
52389         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52391 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52393         * elf/dl-writev.h: New file.
52394         * elf/dl-misc.c: Include it.
52395         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52396         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52398 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52400         * math/libm-test.inc (noXFails): Remove variable.
52401         (noXPasses): Likewise.
52402         (BUILD_COMPLEX_INT): Remove macro.
52403         (print_screen): Remove xfail argument.
52404         (print_screen_max_error): Likewise.
52405         (update_stats): Likewise.
52406         (print_max_error): Likewise.  Update calls to other affected
52407         functions.
52408         (print_complex_max_error): Likewise.
52409         (test_single_exception): Update calls to print_screen.
52410         (test_single_errno): Likewise.
52411         (check_float_internal): Remove xfail argument.  Update calls to
52412         other affected functions.
52413         (check_float): Likewise.
52414         (check_complex): Likewise.
52415         (check_int): Likewise.
52416         (check_long): Likewise.
52417         (check_bool): Likewise.
52418         (check_longlong): Likewise.
52419         (main): Don't print noXFails and noXPasses.
52420         * math/gen-libm-test.pl (top level): Don't mention expected
52421         failure handling in comment.
52422         (new_test): Don't handle expected failures.
52423         (parse_args): Don't mention expected failure handling in comment.
52424         (generate_testfile): Don't handle expected failures.
52425         (parse_ulps): Likewise.
52426         (print_ulps_file): Likewise.
52427         (get_failure): Remove function.
52428         (output_test): Don't handle expected failures.
52429         * make/README.libm-test: Don't mention expected failure handling.
52431         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52432         (minus_zero): Likewise.
52433         (plus_infty): Likewise.
52434         (minus_infty): Likewise.
52435         (qnan_value): Likewise.
52436         (max_value): Likewise.
52437         (min_value): Likewise.
52438         (min_subnorm_value): Likewise.
52439         (initialize): Do not initialize those variables dynamically.
52441 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52443         * io/open.c (__open_2): Moved to ...
52444         * io/open_2.c: ... this new file.
52445         * io/open64.c (__open64_2): Moved to ...
52446         * io/open64_2.c: ... this new file.
52447         * io/openat.c (__openat_2): Moved to ...
52448         * io/openat_2.c: ... this new file.
52449         * io/openat64.c (__openat64_2): Moved to ...
52450         * io/openat64_2.c: ... this new file.
52451         * io/Makefile (routines): Add them.
52452         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52453         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52454         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52455         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52456         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52457         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52458         (__openat64): Add hidden_ver.
52459         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52460         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52462         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52463         Separately conditionalize setting of GLRO(dl_sysinfo) so
52464         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52465         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52467 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52469         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52470         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52471         definition.
52472         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52473         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52474         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52475         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52476         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52478 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52480         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52481         test signgam value.
52483         * math/libm-test.inc (hypot_test): Do not use
52484         IGNORE_ZERO_INF_SIGN.
52486 2013-05-03  Andreas Jaeger  <aj@suse.de>
52488         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52489         Linux 3.9.
52490         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52491         (PF_MAX): Adjust for VSOCK change.
52493 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52497 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52499         [BZ #15264]
52500         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52501         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52502         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52504 2013-05-02  David S. Miller  <davem@davemloft.net>
52506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52508 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52510         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52512 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52514         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52516 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52518         [BZ #14952]
52519         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52520         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52521         Use __attribute__ ((__gnu_inline__)).
52522         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52523         Don't use __attribute__ ((__gnu_inline__)).
52525 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52527         [BZ #15423]
52528         * math/s_catan.c (__catan): Handle small real or imaginary part of
52529         input specially to avoid spurious underflow.
52530         * math/s_catanf.c (__catanf): Likewise.
52531         * math/s_catanh.c (__catanh): Likewise.
52532         * math/s_catanhf.c (__catanhf): Likewise.
52533         * math/s_catanhl.c (__catanhl): Likewise.
52534         * math/s_catanl.c (__catanl): Likewise.
52535         * math/libm-test.inc (catan_test): Add more tests.
52536         (catanh_test): Likewise.
52537         * sysdeps/i386/fpu/libm-test-ulps: Update.
52538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52540 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52544 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52546         [BZ #15416]
52547         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52548         accurately for denominator in atan2.
52549         * math/s_catanf.c (__catanf): Likewise.
52550         * math/s_catanh.c (__catanh): Likewise.
52551         * math/s_catanhf.c (__catanhf): Likewise.
52552         * math/s_catanhl.c (__catanhl): Likewise.
52553         * math/s_catanl.c (__catanl): Likewise.
52554         * math/libm-test.inc (catan_test): Add more tests.
52555         (catanh_test): Likewise.
52556         * sysdeps/i386/fpu/libm-test-ulps: Update.
52557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52559 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52561         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52563         * benchtests/Makefile (bench): Remove slow benchmarks.
52564         * benchtests/atan-inputs: Add slow benchmark inputs.
52565         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52566         (BENCH_FUNC): Accept variant offset.
52567         (VARIANT): Define.
52568         * benchtests/bench-skeleton.c (main): Run benchmark for each
52569         variant.
52570         * benchtests/cos-inputs: Add slow benchmark inputs.
52571         * benchtests/exp-inputs: Likewise.
52572         * benchtests/pow-inputs: Likewise.
52573         * benchtests/sin-inputs: Likewise.
52574         * benchtests/slowatan-inputs: Remove.
52575         * benchtests/slowatan.c: Remove.
52576         * benchtests/slowcos-inputs: Remove.
52577         * benchtests/slowcos.c: Remove.
52578         * benchtests/slowexp-inputs: Remove.
52579         * benchtests/slowexp.c: Remove.
52580         * benchtests/slowpow-inputs: Remove.
52581         * benchtests/slowpow.c: Remove.
52582         * benchtests/slowsin-inputs: Remove.
52583         * benchtests/slowsin.c: Remove.
52584         * benchtests/slowtan-inputs: Remove.
52585         * benchtests/slowtan.c: Remove.
52586         * benchtests/tan-inputs: Add slow benchmark inputs.
52587         * scripts/bench.pl: Parse comments and directives.
52589         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
52590         in CPPFLAGS.
52591         ($(objpfx)bench-%.c): Remove *-ITER.
52592         * benchtests/bench-modf.c: Remove definition of ITER.
52593         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
52594         (main): Loop for DURATION seconds instead of fixed number of
52595         iterations.
52596         * scripts/bench.pl: Don't expect iterations in parameters.
52598 2013-04-29  Roland McGrath  <roland@hack.frob.com>
52600         * io/fchdir.c (__fchdir): Renamed from fchdir.
52601         (fchdir): Define as weak alias.
52603 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52605         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
52606         (ERRNO_EDOM): Likewise.
52607         (ERRNO_ERANGE): Likewise.
52608         (noErrnoTests): New variable.
52609         (init_max_error): Set errno to 0.
52610         (test_single_errno): New function.
52611         (test_errno): Likewise.
52612         (check_float_internal): Call test_errno.  Set errno to 0.
52613         (check_complex): Refer to errno tests in comment.
52614         (check_int): Call test_errno.  Set errno to 0.
52615         (check_long): Likewise.
52616         (check_bool): Likewise.
52617         (check_longlong): Likewise.
52618         (cos_test): Use ERRNO_* flags for errno tests instead of
52619         check_int.
52620         (expm1_test): Likewise.
52621         (fmod_test): Likewise.
52622         (ilogb_test): Likewise.
52623         (lgamma_test): Likewise.
52624         (pow_test): Likewise.
52625         (remainder_test): Likewise.
52626         (sin_test): Likewise.
52627         (tan_test): Likewise.
52628         (yn_test): Likewise.
52629         (initialize): Set errno to 0.
52630         (main): Print number of errno tests.
52631         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
52633 2013-04-29  Andreas Jaeger  <aj@suse.de>
52635         [BZ #15084]
52636         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
52637         and RES_USEVC.
52639         [BZ #15085]
52640         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
52641         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
52642         unimplemented.
52644         [BZ #15380]
52645         * stdlib/random.c (__initstate): Return NULL if
52646         __initstate fails.
52648         [BZ #15086]
52649         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
52650         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
52651         RES_SNGLKUPREOP.
52653 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52657 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
52659         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
52660         of individual tests.
52661         (casin_test): Likewise.
52662         (casinh_test): Likewise.
52664 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
52666         [BZ #15409]
52667         * math/s_catan.c (__catan): Handle arguments with large real or
52668         imaginary part separately without squaring.
52669         * math/s_catanf.c (__catanf): Likewise.
52670         * math/s_catanh.c (__catanh): Likewise.
52671         * math/s_catanhf.c (__catanhf): Likewise.
52672         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52673         and redefine.
52674         (__catanhl): Handle arguments with large real or imaginary part
52675         separately without squaring.
52676         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
52677         and redefine.
52678         (__catanl): Handle arguments with large real or imaginary part
52679         separately without squaring.
52680         * math/libm-test.inc (catan_test): Add more tests.
52681         (catanh_test): Likewise.
52682         * sysdeps/i386/fpu/libm-test-ulps: Update.
52683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52685 2013-04-27  Andreas Jaeger  <aj@suse.de>
52687         [BZ #15007]
52688         * stdlib/stdlib.h: Update guards for qecvt.
52689         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
52690         <stdlib.h>.
52692 2013-04-27  Allan McRae  <allan@archlinux.org>
52694         * sysdeps/i386/fpu/libm-test-ulps: Update.
52696 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
52698         [BZ #15406]
52699         * math/s_catan.c: Include <float.h>.
52700         (__catan): Ensure underflow exception occurs for underflowed
52701         result.
52702         * math/s_catanf.c: Include <float.h>.
52703         (__catanf): Ensure underflow exception occurs for underflowed
52704         result.
52705         * math/s_catanh.c: Include <float.h>.
52706         (__catanh): Ensure underflow exception occurs for underflowed
52707         result.
52708         * math/s_catanhf.c: Include <float.h>.
52709         (__catanhf): Ensure underflow exception occurs for underflowed
52710         result.
52711         * math/s_catanhl.c: Include <float.h>.
52712         (__catanhl): Ensure underflow exception occurs for underflowed
52713         result.
52714         * math/s_catanl.c: Include <float.h>.
52715         (__catanl): Ensure underflow exception occurs for underflowed
52716         result.
52717         * math/libm-test.inc (catan_test): Add more tests.
52718         (catanh_test): Likewise.
52720         [BZ #15405]
52721         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
52722         underflowed result.
52723         * math/s_ccoshf.c (__ccoshf): Likewise.
52724         * math/s_ccoshl.c (__ccoshl): Likewise.
52725         * math/s_csin.c (__csin): Likewise.
52726         * math/s_csinf.c (__csinf): Likewise.
52727         * math/s_csinh.c (__csinh): Likewise.
52728         * math/s_csinhf.c (__csinhf): Likewise.
52729         * math/s_csinhl.c (__csinhl): Likewise.
52730         * math/s_csinl.c (__csinl): Likewise.
52731         * math/libm-test.inc (ccos_test): Add more tests.
52732         (ccosh_test): Likewise.
52733         (csin_test): Likewise.
52734         (csinh_test): Likewise.
52736 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52738         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
52739         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
52740         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
52741         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
52742         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
52743         powerpc/power5+/fpu folders.
52744         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
52747 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
52749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52751 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
52753         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
52754         additions to variable.
52755         [$(config-machine) = x86_64] (modules-names): Likewise.
52756         ($(objpfx)tst-audit3): Remove dependency.
52757         ($(objpfx)tst-audit3.out): Likewise.
52758         ($(objpfx)tst-audit4): Likewise.
52759         ($(objpfx)tst-audit4.out): Likewise.
52760         ($(objpfx)tst-audit5): Likewise.
52761         ($(objpfx)tst-audit5.out): Likewise.
52762         ($(objpfx)tst-audit6): Likewise.
52763         ($(objpfx)tst-audit6.out): Likewise.
52764         ($(objpfx)tst-audit7): Likewise.
52765         ($(objpfx)tst-audit7.out): Likewise.
52766         (tst-audit3-ENV): Remove variable.
52767         (tst-audit4-ENV): Likewise.
52768         (tst-audit5-ENV): Likewise.
52769         (tst-audit6-ENV): Likewise.
52770         (tst-audit7-ENV): Likewise.
52771         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52772         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52773         addition to variable.
52774         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52775         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52776         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52777         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52778         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52779         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52780         tst-audit3, tst-audit4 and tst-audit5.
52781         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52782         tst-audit6 and tst-audit7.
52783         [$(subdir) = elf] (modules-names): Add audit modules for those
52784         tests.
52785         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52786         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52787         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52788         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52789         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52790         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52791         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52792         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52793         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52794         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52795         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52796         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52797         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52798         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52799         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52800         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52801         Likewise.
52802         [$(subdir) = elf && $(config-cflags-avx) = yes]
52803         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52804         [$(subdir) = elf && $(config-cflags-avx) = yes]
52805         (CFLAGS-tst-auditmod4a.c): Likewise.
52806         [$(subdir) = elf && $(config-cflags-avx) = yes]
52807         (CFLAGS-tst-auditmod4b.c): Likewise.
52808         [$(subdir) = elf && $(config-cflags-avx) = yes]
52809         (CFLAGS-tst-auditmod6b.c): Likewise.
52810         [$(subdir) = elf && $(config-cflags-avx) = yes]
52811         (CFLAGS-tst-auditmod6c.c): Likewise.
52812         [$(subdir) = elf && $(config-cflags-avx) = yes]
52813         (CFLAGS-tst-auditmod7b.c): Likewise.
52814         * elf/tst-audit3.c: Move to ...
52815         * sysdeps/x86_64/tst-audit3.c: ... here.
52816         * elf/tst-audit4.c: Move to ...
52817         * sysdeps/x86_64/tst-audit4.c: ... here.
52818         * elf/tst-audit5.c: Move to ...
52819         * sysdeps/x86_64/tst-audit5.c: ... here.
52820         * elf/tst-audit6.c: Move to ...
52821         * sysdeps/x86_64/tst-audit6.c: ... here.
52822         * elf/tst-audit7.c: Move to ...
52823         * sysdeps/x86_64/tst-audit7.c: ... here.
52824         * elf/tst-auditmod3a.c: Move to ...
52825         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52826         * elf/tst-auditmod3b.c: Move to ...
52827         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52828         * elf/tst-auditmod4a.c: Move to ...
52829         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52830         * elf/tst-auditmod4b.c: Move to ...
52831         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52832         * elf/tst-auditmod5a.c: Move to ...
52833         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52834         * elf/tst-auditmod5b.c: Move to ...
52835         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52836         * elf/tst-auditmod6a.c: Move to ...
52837         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52838         * elf/tst-auditmod6b.c: Move to ...
52839         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52840         * elf/tst-auditmod6c.c: Move to ...
52841         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52842         * elf/tst-auditmod7a.c: Move to ...
52843         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52844         * elf/tst-auditmod7b.c: Move to ...
52845         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52847 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52849         [BZ #15366]
52850         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52851         define unconditionally.
52852         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52853         define unconditionally.
52854         (INT8_C, INT16_C, etc.): Likewise.
52856 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52858         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52859         __ehdr_start with hidden visibility.
52861         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52863 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52865         * math/libm-test.inc (cos_test): Use accurate hex constants.
52866         (sincost_test): Likewise.
52868 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52870         * math/libm-test.inc (catan_test): Add more tests.
52871         (catanh_test): Likewise.
52873         * math/s_catanf.c (__catanf): Use suffixed floating-point
52874         constants.
52875         * math/s_catanhf.c (__catanhf): Likewise.
52876         * math/s_catanhl.c (__catanhl): Likewise.
52877         * math/s_catanl.c (__catanl): Likewise.
52879         [BZ #15394]
52880         * math/s_catan.c (__catan): Calculate imaginary part of result
52881         with log1p not log unless computing log of number close to 0.
52882         * math/s_catanf.c (__catanf): Likewise.
52883         * math/s_catanl.c (__catanl): Likewise.
52884         * math/s_catanh.c (__catanh): Calculate real part of result with
52885         log1p not log unless computing log of number close to 0.
52886         * math/s_catanhf.c (__catanhf): Likewise.
52887         * math/s_catanhl.c (__catanhl): Likewise.
52888         * math/libm-test.inc (catan_test): Add more tests.
52889         (catanh_test): Likewise.
52890         * sysdeps/i386/fpu/libm-test-ulps: Update.
52891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52893 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52895         * benchtests/Makefile: Mention files in which fast and slow
52896         paths of math functions are implemented.
52898 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52900         * sysdeps/posix/timespec_get.c: New file.
52902 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52904         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52905         POWER.
52906         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52907         for POWER.
52908         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52909         powerpc/power5/fpu folders.
52910         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52911         * benchtests/Makefile: Add modf testcase.
52912         * benchtests/bench-modf.c: New file: Benchmark test for mo
52914 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52916         [BZ #14888]
52917         * time/Makefile (tests): Add tst-strptime-whitespace.
52918         * time/strptime_l.c (get_number): Use ISSPACE.
52919         (__strptime_internal): Likewise.
52920         * time/tst-strptime-whitespace.c: New test case.
52922 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52924         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52925         member.
52926         (_nss_files_init): Set it here.
52928 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52930         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52931         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52932         unsigned.
52934 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52936         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52938 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52940         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52941         size just once.
52943 2013-04-21  David S. Miller  <davem@davemloft.net>
52945         * po/ru.po: Update Russion translation from translation project.
52947 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52949         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52950         and setfsgid.
52952 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52954         * configure.in: Remove i386 configure warning. Remove i386 case.
52955         * configure: Regenerate.
52956         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52957         Add example to error message.
52958         * sysdeps/i386/configure: Regenerate.
52960 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52962         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52963         slowtan.
52964         * benchtests/cos-inputs: New file.
52965         * benchtests/slowcos-inputs: New file.
52966         * benchtests/slowcos.c: New file.
52967         * benchtests/slowtan-inputs: New file.
52968         * benchtests/slowtan.c: New file.
52969         * benchtests/tan-inputs: New file.
52971 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52973         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52974         considered kosher.
52976 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52978         * benchtests/Makefile: Include cppflags-iterator.mk to add
52979         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52981         * Makefile.in (bench-clean): New target.
52982         * benchtests/Makefile (bench-clean): Likewise.
52984 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52986         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52988 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52990         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52992 2013-04-15  Andreas Schwab  <schwab@suse.de>
52994         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52995         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52996         * nscd/pwdcache.c (cache_addpw): Likewise.
52997         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52998         more than recsize.
53000 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53002         * benchtests/Makefile (bench): Write all output to
53003         bench-out.tmp together.
53005 2013-04-15  Andreas Schwab  <schwab@suse.de>
53007         * nscd/nscd.c (main): Don't fork again after closing files.
53009 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53011         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53013         * benchtests/Rules (bench-deps): Collect dependencies into a
53014         single variable.  Add Makefile to dependencies.
53015         ($(objpfx)bench-%.c): Depend on bench-deps.
53017 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53018             Xavier Roche  <roche+kml2@exalead.com>
53020         [BZ #15361]
53021         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53022         just that it's a file descriptor.
53023         * manual/llio.texi (Synchronizing AIO Operations): Update description
53024         for EBADF error from aio_fsync.
53026 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53028         * Rules (bench): Move target definition...
53029         * benchtests/Makefile: ... here.
53031 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53033         * math/libm-test.inc (cos_test): Fix PI/2 test.
53034         (sincos_test): Likewise.
53035         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53036         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53038 2013-04-11  Andreas Schwab  <schwab@suse.de>
53040         [BZ #13988]
53041         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53042         accept exponent character only when digits were seen.
53043         * stdio-common/Makefile (tests): Add bug26.
53044         * stdio-common/bug26.c: New file.
53046         [BZ #14293]
53047         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53048         non-freeable.
53050 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53052         * Makeconfig (rtld-prefix): Define built linker prefix.
53053         * Rules (run-bench): Use it.
53054         * math/Makefile (run-regen-ulps): Likewise.
53056         * Rules (bench): Remove eval.
53058 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53059             Roland McGrath  <roland@hack.frob.com>
53060             Ondrej Bilka  <neleai@seznam.cz>
53062         [BZ #15346]
53063         * time/getdate.c: Include ctype.h and alloca.h.
53064         (__getdate_r): Trim leading and trailing spaces of input.
53065         * time/tst-getdate.c (tests): Add tests with leading and
53066         trailing spaces.
53068 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53070         [BZ #14280]
53071         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53072         when computing value.
53074 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53076         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53077         Use testrun.sh to run libm tests.
53079         [BZ #15309]
53080         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53082 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53084         [BZ #15264]
53085         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53087 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53089         * Makefile.in (regen-ulps): New target.
53090         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53091         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53092         [ifneq (no,$(PERL)] (regen-ulps): New target.
53093         [ifeq (no,$(PERL)] (regen-ulps): New target.
53094         * math/libm-test.inc (ulps_file_name): Define.
53095         (output_dir): New variable.
53096         (options): Add "output-dir" option.
53097         (parse_opt): Handle 'o' case.
53098         (main): If output_dir is non-NULL use it as a prefix
53099         otherwise use "".
53100         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53102 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53104         [BZ #10060, #10062]
53105         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53106         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53107         fail configure if __sync_val_compare_and_swap is not inlined.
53108         * sysdeps/i386/configure: Regenerate.
53109         * configure.in: Build for i686 when configured for i386.
53110         * configure: Regenerate.
53111         * README: Remove i386 reference.
53113 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53115         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53116         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53118 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53120         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53121         (lmsnanval): New variables.
53122         (F): Add conversion tests.
53123         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53124         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53126         * stdio-common/tstdiomisc.c (F): Properly collect individual
53127         tests' results.
53129         [BZ #14686, #15336]
53130         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53131         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53132         Instead, use input NaN values or generate a qNaN by arithmetic
53133         operation.  Also fix bugs to comply with the standard.
53134         * math/libm-test.inc (remainder_test): Add more tests.
53136         [BZ #15335, #15342]
53137         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53138         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53139         input NaN values or generate a qNaN by arithmetic operation.
53141         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53142         unreachable code.
53144         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53145         definitions.
53147 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53149         [BZ #14478]
53150         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53151         underflowed result.
53152         * math/s_cexpf.c (__cexpf): Likewise.
53153         * math/s_cexpl.c (__cexpl): Likewise.
53154         * math/libm-test.inc (cexp_test): Add more tests.
53156 2013-04-03  Andreas Schwab  <schwab@suse.de>
53158         [BZ #15330]
53159         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53160         order arrays from heap if bigger than alloca cutoff.
53162 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53164         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53165         (SNAN_TESTS_double): Refer to GCC PR56831.
53166         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53167         GCC PR56828.
53169 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53171         * Rules (bench): Move bench.out after the run is complete.
53173         * Rules (bench): Echo currently running benchmark.
53175         * benchtests/Makefile (bench): Add atan and slowatan.
53176         * benchtests/atan-inputs: New file.
53177         * benchtests/slowatan-inputs: New file.
53178         * benchtests/slowatan.c: New file.
53180         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53181         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53182         its value.
53184         [BZ #15305]
53185         * sysdeps/unix/sysv/linux/kernel-features.h
53186         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53187         __ASSUME_XFS_RESTRICTED_CHOWN.
53188         * sysdeps/unix/sysv/linux/pathconf.c
53189         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53190         Save and restore errno.
53192 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53194         [BZ #15327]
53195         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53196         arguments using __kernel_casinh.
53197         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53198         arguments using __kernel_casinhf.
53199         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53200         arguments using __kernel_casinhl.
53201         * math/libm-test.inc (cacosh_test): Add more tests.
53202         * sysdeps/i386/fpu/libm-test-ulps: Update.
53203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53205 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53207         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53208         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53210         * bench/Makefile (bench): Add sin and slowsin.
53211         * benchtests/sin-inputs: New file.
53212         * benchtests/slowsin-inputs: New file.
53213         * benchtests/slowsin.c: New file.
53215         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53216         (bench): Add slowexp and slowpow.
53217         (exp-ITER): Increase iterations.
53218         (pow-ITER): Likewise.
53219         * benchtests/exp-inputs: Change input.
53220         * benchtests/pow-inputs: Likewise.
53221         * benchtests/slowexp-inputs: New file.
53222         * benchtests/slowexp.c: New file.
53223         * benchtests/slowpow-inputs: New file.
53224         * benchtests/slowpow.c: New file.
53226 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53228         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53229         instructions.
53230         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53231         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53232         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53233         * benchtests/Makefile: Add rint benchtest.
53234         * benchtests/rint-inputs: Input for rint benchtest.
53236 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53238         * Versions.def (libm): Add GLIBC_2.18.
53239         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53240         hidden libm prototypes.
53241         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53242         * math/Makefile (libm-calls): Add s_issignaling.
53243         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53244         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53245         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53246         declaration.
53247         * math/math.h [__USE_GNU] (issignaling): New macro.
53248         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53249         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53250         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53251         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53252         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53253         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53254         * manual/arith.texi (issignaling): New section.
53255         * manual/libm-err-tab.pl (@all_functions): Update comment.
53256         * math/gen-libm-test.pl (parse_args): Apply special handling for
53257         issignaling.
53258         * math/libm-test.inc (print_float, issignaling_test): New
53259         functions.
53260         (check_float_internal): Add issignaling checks.
53261         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53262         default definition.
53263         * sysdeps/powerpc/math-tests.h: New file.
53264         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53265         tests.
53266         * math/test-snan.c (TEST_FUNC): Likewise.
53268 2013-03-30  David S. Miller  <davem@davemloft.net>
53270         * po/de.po: Update from translation team.
53272 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53274         [BZ #10357]
53275         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53276         imaginary part less than 1.0 and real part less than 0.5
53277         specially.
53278         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53279         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53280         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53281         (cacos_test): Add more tests.
53282         (casin_test): Likewise.
53283         (casinh_test): Likewise.
53284         * sysdeps/i386/fpu/libm-test-ulps: Update.
53285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53287 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53289         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53290         ONE with its value.
53292         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53293         (__pow_mp): Replace ONE and MONE with their values.
53294         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53295         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53296         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53297         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53298         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53299         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53301         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53303         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53304         (__pow_mp): Replace ZERO and MZERO with their values.
53305         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53306         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53307         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53308         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53309         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53310         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53311         (__sqr): Likewise.
53313         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53315         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53317 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53319         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53320         Declare with __attribute__ ((weak)).
53321         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53322         Call __call_tls_dtors only if it's not NULL.
53324 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53326         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53327         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53328         magic __ehdr_start linker symbol if it's defined.
53329         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53330         them up here if it was already done.
53332         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53333         (_dl_aux_init): Use const in cast when setting it.
53334         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53335         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53336         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53338         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53339         Declare them here.
53340         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53341         * csu/libc-tls.c: Nor here.
53342         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53344         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53345         (__libc_message): Never call vsyslog.
53347 2013-03-28  Alan Modra  <amodra@gmail.com>
53349         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53350         Define as empty.
53351         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53352         Likewise.
53354 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53356         [BZ #15214]
53357         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53358         underflow.
53359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53361 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53363         [BZ #15304]
53364         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53365         Don't add gid passed as argument.
53367         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53369 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53371         [BZ #15307]
53372         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53373         imaginary part between 1.0 and 1.5 and real part less than 0.5
53374         specially.
53375         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53376         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53377         * math/libm-test.inc (cacos_test): Add more tests.
53378         (casin_test): Likewise.
53379         (casinh_test): Likewise.
53380         * sysdeps/i386/fpu/libm-test-ulps: Update.
53381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53383 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53385         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53386         constants.
53387         (norm): Likewise.
53388         (denorm): Likewise.
53389         (__dbl_mp): Likewise.
53390         (add_magnitudes): Likewise.
53391         (sub_magnitudes): Likewise.
53392         (__add): Likewise.
53393         (__sub): Likewise.
53394         (__mul): Likewise.
53395         (__sqr): Likewise.
53396         (__inv): Likewise.
53397         (__dvd): Likewise.
53399         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53400         commented code.
53401         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53402         (__dubcos): Likewise.
53403         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53404         (__ieee754_acos): Likewise.
53405         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53406         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53407         (__exp1): Likewise.
53408         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53409         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53410         (log1): Likewise.
53411         (my_log2): Likewise.
53412         (checkint): Likewise.
53413         * sysdeps/ieee754/dbl-64/e_remainder.c
53414         (__ieee754_remainder): Likewise.
53415         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53416         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53417         (bsloww): Likewise.
53418         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53420         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53421         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53422         MANTISSA_STORE_T to store computations on mantissa.  Use
53423         macros for rounding and division.
53424         (denorm): Likewise.
53425         (__dbl_mp): Likewise.
53426         (add_magnitudes): Likewise.
53427         (sub_magnitudes): Likewise.
53428         (__mul): Likewise.
53429         (__sqr): Likewise.
53430         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53431         powers of two in terms of TWOPOW macro.
53432         (mp_no): Make type of mantissa as MANTISSA_T.
53433         [!RADIXI]: Define RADIXI.
53434         [!TWO52]: Define TWO52.
53435         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53437 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53439         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53440         llroundl symbol when building for PPC32.
53442 2013-03-24  Mark H Weaver  <mhw@netris.org>
53444         * manual/arith.texi (Normalization Functions): Fix prototypes for
53445         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53447 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53449         [BZ #13889]
53450         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53451         high value to check if expl overflow.
53452         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53453         to check for underflow and overflow.
53454         * math/libm-test.inc: Add exp test.
53456 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53458         [BZ #11120]
53459         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53460         with NOT_IN_libc.
53462 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53464         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53465         symbol.
53467 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53469         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53470         wrap blocks consisting of several statements.
53472         * sysdeps/generic/math-tests.h: New file.
53473         * sysdeps/i386/fpu/math-tests.h: Likewise.
53474         * math/test-snan.c: Include it.
53475         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53477 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53479         [BZ #15285]
53480         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53481         (__ieee754_j0l): Do not improve calculations using cos of twice
53482         input for inputs above LDBL_MAX / 2.0L.
53483         (__ieee754_y0l): Likewise.
53484         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53485         (__ieee754_j1l): Do not improve calculations using cos of twice
53486         input for inputs above LDBL_MAX / 2.0L.
53487         (__ieee754_y1l): Likewise.
53488         * math/libm-test.inc (j0_test): Add another test.
53489         (j1_test): Likewise.
53490         (y0_test): Likewise.
53491         (y1_test): Likewise.
53492         * sysdeps/i386/fpu/libm-test-ulps: Update.
53494 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53496         * Rules ($(objpfx)bench-%.c): Include code from a C source
53497         file.
53499 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53501         [BZ #15287]
53502         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53503         imaginary part 1.0 and real part less than 0.5 specially.
53504         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53505         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53506         * math/libm-test.inc (cacos_test): Add more tests.
53507         (casin_test): Likewise.
53508         (casinh_test): Likewise.
53509         * sysdeps/i386/fpu/libm-test-ulps: Update.
53510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53512 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53514         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53515         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53517 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53519         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53520         * config.make.in (config-cflags-sse4): Remove variable.
53521         (config-cflags-avx): Likewise.
53522         (config-cflags-sse2avx): Likewise.
53523         (config-cflags-novzeroupper): Likewise.
53524         (config-asflags-i686): Likewise.
53525         (have-mfma4): Likewise.
53526         (have-as-vis3): Likewise.
53527         (MIG): Likewise.
53528         * configure.in (MIG): Do not AC_SUBST.
53529         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53530         (libc_cv_cc_sse4): Do not AC_SUBST.
53531         (libc_cv_cc_avx): Likewise.
53532         (libc_cv_cc_sse2avx): Likewise.
53533         (libc_cv_cc_novzeroupper): Likewise.
53534         (libc_cv_cc_fma4): Likewise.
53535         (libc_cv_as_i686): Likewise.
53536         (libc_cv_sparc_as_vis3): Likewise.
53537         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53538         LIBC_CONFIG_VAR.
53539         (config-asflags-i686): Likewise.
53540         (config-cflags-avx): Likewise.
53541         (config-cflags-sse2avx): Likewise.
53542         (have-mfma4): Likewise.
53543         (config-cflags-novzeroupper): Likewise.
53544         * sysdeps/mach/configure.in (MIG): Likewise.
53545         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53546         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53547         LIBC_CONFIG_VAR.
53548         (config-cflags-avx): Likewise.
53549         (config-cflags-sse2avx): Likewise.
53550         (have-mfma4): Likewise.
53551         (config-cflags-novzeroupper): Likewise.
53552         * configure: Regenerated.
53553         * sysdeps/i386/configure: Likewise.
53554         * sysdeps/mach/configure: Likewise.
53555         * sysdeps/sparc/configure: Likewise.
53556         * sysdeps/x86_64/configure: Likewise.
53558 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53560         [BZ #14812]
53561         * locale/programs/localedef.c (options): Put N_ translation marker
53562         on argument names, not just descriptions.
53564 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53566         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53568 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53570         [BZ #14176]
53571         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
53573 2013-03-19  Roland McGrath  <roland@hack.frob.com>
53575         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
53576         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
53577         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
53578         [!BEFORE_ABORT] (before_abort): New function.
53579         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
53580         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
53581         (writev_for_fatal): New function.
53582         (WRITEV_FOR_FATAL): New macro; call that.
53583         (backtrace_and_maps): New function.
53584         (BEFORE_ABORT): New macro; call that.
53585         (struct str_list): Type removed.
53586         (__libc_message, __libc_fatal): Functions removed.
53587         Include <sysdeps/posix/libc_fatal.c> instead.
53589 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
53591         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
53592         constants.
53593         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
53594         double constants.
53596 2013-03-19  Andreas Schwab  <schwab@suse.de>
53598         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
53599         * sysdeps/gnu/configure: Regenerate.
53601         * configure.in: Substitute libc_cv_rtlddir.
53602         * configure: Regenerate.
53603         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
53604         * Makeconfig (rtlddir, inst_rtlddir): New variables.
53605         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
53606         * elf/Makefile (install-others, CFLAGS-interp.c)
53607         (ldso_install, common-ldd-rewrite): Likewise.
53608         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
53609         $(inst_slibdir)/$(rtld-installed-name).
53610         * scripts/rellns-sh: Add -p option.
53611         * Makerules (make-shlib-link): Use rellns-sh to get relative name
53612         for source.
53614 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53616         * manual/nptl.texi: Renamed to ...
53617         * manual/threads.texi: ... this.
53618         * manual/Makefile (chapters): Update.
53620 2013-03-18  Roland McGrath  <roland@hack.frob.com>
53622         [BZ #14812]
53623         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
53624         on argument names, not just descriptions.
53625         * malloc/memusagestat.c (options): Likewise.
53626         * nss/getent.c (options): Likewise.
53628 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
53630         [BZ #14812]
53631         * iconv/iconv_prog.c (options): Put N_ translation marker
53632         on argument names, not just descriptions.
53633         * iconv/iconvconfig.c (options): Likewise.
53635 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
53637         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
53638         implementation which is faster on all x86_64 architectures.
53639         Tested on AMD, Intel Nehalem, SNB, IVB.
53640         * sysdeps/x86_64/strnlen.S: Likewise.
53642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53643         Remove all multiarch strlen and strnlen versions.
53644         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53645         Remove strlen and strnlen related parts.
53647         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
53648         Inline strlen part.
53649         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
53651         * sysdeps/x86_64/multiarch/strlen.S: Remove.
53652         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
53653         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
53654         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
53655         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53656         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
53658 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
53660         * manual/memory.texi (Malloc Tunable Parameters):
53661         Sort parameters alphabetically. Add comments for missing entries.
53663 2013-03-17  David S. Miller  <davem@davemloft.net>
53665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53667 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
53669         [BZ #15283]
53670         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
53671         for arguments at most half maximum finite value.
53672         * math/libm-test.inc (j0_test): Add more tests.
53673         (j1_test): Likewise.
53674         (y0_test): Likewise.
53675         (y1_test): Likewise.
53676         * sysdeps/i386/fpu/libm-test-ulps: Update.
53677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53679         [BZ #14155]
53680         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
53681         1 / x and functions P and Q for arguments above 0x1p256L.
53682         (__ieee754_y0l): Likewise.
53683         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
53684         (__ieee754_y1l): Likewise.
53685         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
53686         (j1_test): Likewise.
53687         (y0_test): Likewise.
53688         (y1_test): Likewise.
53690 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
53692         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
53693         variable.
53695 2013-03-15  Roland McGrath  <roland@hack.frob.com>
53697         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
53698         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
53699         zero since it's initialized to EXEC_PAGESIZE.
53701         * sysdeps/unix/sysv/linux/ldsodefs.h
53702         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
53703         * sysdeps/generic/ldsodefs.h: ... here.
53705 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
53707         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
53709         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
53710         math/test-snan.c.
53711         * math/test-snan.c: Renamed from
53712         sysdeps/powerpc/fpu/test-powerpc-snan.c.
53713         * math/Makefile (tests): Add test-snan.
53714         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
53715         test-powerpc-snan.
53717         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
53718         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
53719         functions.
53720         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
53721         __builtin_nan family of functions.
53722         * math/libm-test.inc (initialize): Initialize qnan_value with
53723         __builtin_nan family of functions.
53724         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
53725         Remove variables.
53726         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
53727         Remove functions.
53728         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
53729         storage class.  Initialize qNaN_var and sNaN_var with
53730         __builtin_nan and __builtin_nans families of functions,
53731         respectively.
53733         * math/libm-test.inc (acosh_test): Also test with qNaN input.
53734         (sqrt_test): Remove duplicate test with qNaN input.
53735         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
53736         (round_test, signbit_test, significand_test): Note missing +/-Inf
53737         as well as qNaN tests.
53739         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
53740         qNaN_var.  Fix a few strings, too.
53741         * math/libm-test.inc (nan_value): Rename to qnan_value.
53742         * math/gen-libm-test.pl (%beautify): Adjust to that.
53743         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
53744         * math/test-misc.c (main): Likewise.
53745         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
53746         to __qnan_bytes, and __qnan_union, respectively.
53747         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
53748         Likewise.
53749         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
53750         and lqnanval, respectively.
53751         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
53752         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
53753         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
53754         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
53756         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
53757         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53758         doubles.
53760         * math/test-misc.c (main): Fix copy'n'pastos.
53761         * misc/tst-efgcvt.c (special): Likewise.
53763         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53764         Remove declarations.
53766 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53768         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53769         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53770         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53771         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53773 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53775         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53776         macro to return vdso values correctly in IFUNC implementations.
53777         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53778         Optimization by using IFUNC.
53780 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53781             Richard Henderson  <rth@redhat.com>
53782             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53784         * Makefile.in (bench): New target.
53785         * NEWS: Mention the benchmark framework.
53786         * Rules (bench): Likewise.
53787         (binaries-bench): Generate binaries for functions to
53788         benchmark.
53789         * benchtests/Makefile: New makefile for benchmark tests.
53790         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53791         programs.
53792         * benchtests/exp-inputs: New input file for EXP function.
53793         * benchtests/pow-inputs: New input file for POW function.
53794         * scripts/bench.pl: New script to generate source files for
53795         benchmark programs.
53797 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53799         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53800         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53801         computations on mantissa.  Use macros for rounding and
53802         division.
53803         (denorm): Likewise.
53804         (__dbl_mp): Likewise.
53805         (add_magnitudes): Likewise.
53806         (sub_magnitudes): Likewise.
53807         (__mul): Likewise.
53808         (__sqr): Likewise.
53809         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53810         powers of two in terms of TWOPOW macro.
53811         (mp_no): Make type of mantissa as MANTISSA_T.
53812         [!RADIXI]: Define RADIXI.
53813         [!TWO52]: Define TWO52.
53814         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53816         * manual/nptl.texi (cindex): Modify threads to pthreads.
53818 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53820         * sysdeps/x86_64/preconfigure: Regenerated.
53822 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53824         [BZ #14155]
53825         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53826         0x1p28 and above.
53827         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53828         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53829         0x1p28 and above.
53830         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53831         * math/libm-test.inc (j0_test): Do not allow one spurious
53832         underflow exception.
53833         (y1_test): Likewise.
53835 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53837         * manual/Makefile (chapters): Add nptl.
53838         * manual/debug.texi (Debugging Support): Add link to Threads
53839         chapter.
53840         * manual/nptl.texi: New file.
53842         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53844 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53846         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53847         for non-NULL pointer before the memory validity test. Pointed
53848         out by Holger Brunck <holger.brunck@keymile.com>.
53850 2013-03-13  Andreas Schwab  <schwab@suse.de>
53852         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53853         instead of .os.
53855 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53857         * timezone/zic.c: Update from tzcode 2013b.
53859 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53861         * manual/install.texi (Configuring and compiling):
53862         Mention i686 and i586.
53863         * INSTALL: Regenerate.
53865 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53867         * sysdeps/init_array/elf-init.c: New file.
53868         * csu/elf-init.c
53869         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53870         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53872         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53873         __gmon_start__ as global, but as static with a .preinit_array pointer.
53874         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53875         * sysdeps/init_array/crti.S: New file, empty except for comments.
53876         * sysdeps/init_array/crtn.S: Likewise.
53878 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53880         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53881         definining bcopy.
53882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53883         Remove Prefer_SSE_for_memop.
53884         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53885         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53886         HAS_PREFER_SSE_FOR_MEMOP.
53887         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53888         memset-x86-64.
53889         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53890         Remove bzero, memset ifunc support.
53891         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53892         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53893         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53894         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53896 2013-03-11  Andreas Schwab  <schwab@suse.de>
53898         [BZ #15234]
53899         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53900         by SHLIB_COMPAT.
53901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53902         (GLIBC_2.16): Remove pthread_atfork.
53904 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53906         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53907         (ptestcases.h): Likewise.
53909 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53911         * Makeconfig ($(common-objpfx)config.status): Depend on
53912         sysdeps/*/preconfigure{,.in} too.
53914 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53916         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53917         (__free_hook): Use void * instead of __malloc_ptr_t.
53918         (__malloc_hook): Likewise.
53919         (__realloc_hook): Likewise.
53920         (__memalign_hook): Likewise.
53921         (__after_morecore_hook): Likewise.
53922         * malloc/arena.c (save_malloc_hook): Likewise.
53923         (save_free_hook): Likewise.
53924         * malloc/hooks.c (malloc_hook_ini): Likewise.
53925         (realloc_hook_ini): Likewise.
53926         (memalign_hook_ini): Likewise.
53927         * malloc/malloc.c (malloc_hook_ini): Likewise.
53928         (realloc_hook_ini): Likewise.
53929         (memalign_hook_ini): Likewise.
53930         (__free_hook): Likewise.
53931         (__malloc_hook): Likewise.
53932         (__realloc_hook): Likewise.
53933         (__memalign_hook): Likewise.
53934         (__libc_malloc): Likewise.
53935         (__libc_free): Likewise.
53936         (__libc_realloc): Likewise.
53937         (__libc_memalign): Likewise.
53938         (__libc_valloc): Likewise.
53939         (__libc_pvalloc): Likewise.
53940         (__libc_calloc): Likewise.
53941         (__posix_memalign): Likewise.
53942         * malloc/morecore.c (__sbrk): Likewise.
53943         (__default_morecore): Likewise.
53945         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53947         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53948         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53949         __malloc_ptrdiff_t.
53951         * malloc/malloc.h (__malloc_size_t): Remove macro.
53952         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53953         __malloc_size_t.
53954         (old_memalign_hook): Likewise.
53955         (old_realloc_hook): Likewise.
53956         (struct hdr): Likewise.
53957         (flood): Likewise.
53958         (mallochook): Likewise.
53959         (memalignhook): Likewise.
53960         (reallochook): Likewise.
53961         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53962         (tr_old_realloc_hook): Likewise.
53963         (tr_old_memalign_hook): Likewise.
53964         (tr_mallochook): Likewise.
53965         (tr_reallochook): Likewise.
53966         (tr_memalignhook): Likewise.
53968 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53970         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53971         default_ldbl_pack and using as default implementation.
53972         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53973         implementation.
53974         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53975         redundant definition.
53976         (ldbl_insert_mantissa): Likewise.
53977         (ldbl_canonicalize): Likewise.
53978         (ldbl_nearbyint): Likewise.
53979         (ldbl_pack): Rename to ldbl_pack_ppc.
53980         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53981         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53982         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53984 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53986         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53987         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53988         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53989         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53991         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53992         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53993         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53995 2013-03-07  Andreas Jaeger  <aj@suse.de>
53997         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53998         bits/mman-linux.h.
54000 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54002         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54003         Include mpa.h and declare __MPEXP.
54004         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54005         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54006         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54007         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54008         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54009         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54010         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54012         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54013         (__slowpow): Use long double EXPL and LOGL functions to
54014         compute POW.
54015         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54016         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54017         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54018         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54019         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54020         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54023         intermediate variable to calculate exponent.
54024         (__sqr): Likewise.
54025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54026         Likewise.
54027         (__sqr): Likewise.
54029         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54030         [!NO__SQR]: Define __sqr.
54031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54032         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54033         sysdeps/ieee754/dbl-64/mpa.c.
54034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54036         [BZ #12723]
54037         * posix/Makefile (tests): Add tst-pathconf.
54038         * posix/tst-pathconf.c: New test case.
54039         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54040         _PC_PIPE_BUF.
54041         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54043 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54045         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54047 2013-03-06  Andreas Jaeger  <aj@suse.de>
54049         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54050         definition via __MAP_ANONYMOUS.
54052         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54053         it's not part of Linux headers.
54055         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54056         (MAP_HUGE_MASK): Define.
54058         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54059         Define.
54060         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54061         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54062         Define.
54063         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54064         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54065         Define.
54066         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54067         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54068         Define.
54069         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54071         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54072         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54073         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54074         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54075         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54076         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54078         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54079         Handle f2fs.
54081         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54082         Handle f2fs and efivarfs.
54084         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54085         f2fs.
54087         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54088         (EFIVARFS_MAGIC): Add.
54089         (F2FS_LINK_MAX): Add.
54091 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54093         * stdio-common/vfprintf.c: Replace __builtin_expect with
54094         __glibc_unlikely.
54096 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54098         [BZ #13550]
54099         * sysdeps/generic/bp-sym.h: Remove file.
54100         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54101         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54102         <bp-sym.h> and <bp-asm.h>.
54103         (__longjmp): Don't use BP_SYM.
54104         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54105         and <bp-asm.h>.
54106         (memcpy): Don't use BP_SYM.
54107         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54108         <bp-sym.h> and <bp-asm.h>.
54109         (memcpy): Don't use BP_SYM.
54110         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54111         <bp-asm.h>.
54112         (memcpy): Don't use BP_SYM.
54113         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54114         <bp-asm.h>.
54115         (memset): Don't use BP_SYM.
54116         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54117         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54118         (__bzero): Don't use BP_SYM.
54119         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54120         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54121         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
54122         <bp-sym.h> and <bp-asm.h>.
54123         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54124         pointers.
54125         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54126         <bp-sym.h> and <bp-asm.h>.
54127         (memcpy): Don't use BP_SYM.
54128         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
54129         <bp-sym.h> and <bp-asm.h>.
54130         (memset): Don't use BP_SYM.
54131         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54132         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54133         (__bzero): Don't use BP_SYM.
54134         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54135         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54136         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
54137         <bp-sym.h> and <bp-asm.h>.
54138         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54139         pointers.
54140         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54141         <bp-sym.h> and <bp-asm.h>.
54142         (memcpy): Don't use BP_SYM.
54143         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54144         <bp-sym.h> and <bp-asm.h>.
54145         (memset): Don't use BP_SYM.
54146         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54147         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54148         (__bzero): Don't use BP_SYM.
54149         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54150         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54151         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54152         <bp-sym.h> and <bp-asm.h>.
54153         (__memchr): Don't use BP_SYM.
54154         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54155         <bp-sym.h> and <bp-asm.h>.
54156         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54157         pointers.
54158         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54159         <bp-sym.h> and <bp-asm.h>.
54160         (memcpy): Don't use BP_SYM.
54161         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54162         <bp-sym.h> and <bp-asm.h>.
54163         (__mempcpy): Don't use BP_SYM.
54164         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54165         <bp-sym.h> and <bp-asm.h>.
54166         (__memrchr): Don't use BP_SYM.
54167         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54168         <bp-sym.h> and <bp-asm.h>.
54169         (memset): Don't use BP_SYM.
54170         (__bzero): Likewise.
54171         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54172         <bp-sym.h> and <bp-asm.h>.
54173         (__rawmemchr): Don't use BP_SYM.
54174         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54175         <bp-sym.h> and <bp-asm.h>.
54176         (__STRCMP): Don't use BP_SYM.
54177         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54178         <bp-sym.h> and <bp-asm.h>.
54179         (strchr): Don't use BP_SYM.
54180         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54181         <bp-sym.h> and <bp-asm.h>.
54182         (__strchrnul): Don't use BP_SYM.
54183         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54184         <bp-sym.h> and <bp-asm.h>.
54185         (strlen): Don't use BP_SYM.
54186         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54187         <bp-sym.h> and <bp-asm.h>.
54188         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54189         pointers.
54190         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54191         <bp-sym.h> and <bp-asm.h>.
54192         (__strnlen): Don't use BP_SYM.
54193         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54194         <bp-sym.h> and <bp-asm.h>.
54195         (__GI__setjmp): Don't use BP_SYM.
54196         (_setjmp): Likewise.
54197         (__sigsetjmp): Likewise.
54198         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54199         (L(start_addresses)): Don't use BP_SYM.
54200         (_start): Likewise.
54201         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54202         <bp-asm.h>.
54203         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54204         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54205         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54206         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54207         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54208         <bp-asm.h>.
54209         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54210         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54211         about bounded pointers.
54212         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54213         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54214         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54215         <bp-asm.h>.
54216         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54217         about bounded pointers.  Remove GKM FIXME comments.
54218         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54219         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54220         <bp-asm.h>.
54221         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54222         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54223         Remove GKM FIXME comments.
54224         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54225         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54226         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54227         <bp-asm.h>.
54228         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54229         about bounded pointers.  Remove GKM FIXME comment.
54230         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54231         and <bp-asm.h>.
54232         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54233         pointers.
54234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54235         <bp-sym.h> and <bp-asm.h>.
54236         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54238         <bp-sym.h> and <bp-asm.h>.
54239         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54240         comment.
54242 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54244         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54245         call free(NULL).
54247 2013-03-05  David S. Miller  <davem@davemloft.net>
54249         * po/es.po: Update from translation team.
54251 2013-03-05  Andreas Jaeger  <aj@suse.de>
54253         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54254         <bits/mman-linux.h>.
54255         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54256         is fine.
54257         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54258         <bits/mman-linux.h> to end of file.
54259         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54260         is fine.
54261         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54262         <bits/mman-linux.h> to end of file.
54263         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54264         is fine.
54265         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54266         <bits/mman-linux.h> to end of file.
54268         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54269         (MCL_CURRENT, MCL_FUTURE): Define here.
54271 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54273         [BZ #15232]
54274         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54275         attribute_hidden.
54276         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54278 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54280         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54281         fourth parameter needed for rt_sigprocmask syscall.
54282         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54283         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54284         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54285         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54286         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54287         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54289 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54291         [BZ #13550]
54292         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54293         comment about bounded pointers.
54294         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54295         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54297 2013-03-04  Andreas Jaeger  <aj@suse.de>
54299         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54300         common definitions.
54302         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54303         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54304         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54305         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54306         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54307         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54309 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54311         [BZ #15055]
54312         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54313         __ieee754_sqrl instead of __sqrl.
54315 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54317         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54318         * sysdeps/powerpc/fpu_control.h: ... here.
54319         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54320         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54321         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54322         * sysdeps/powerpc/bits/mathinline.h: ... here.
54324 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54326         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54327         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54328         to just [NEED_DL_SYSINFO_DSO].
54329         * elf/dl-support.c: Likewise.
54330         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54331         * elf/rtld.c (dl_main): Likewise.
54332         * elf/setup-vdso.h (setup_vdso): Likewise.
54333         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54334         * sysdeps/unix/sysv/linux/dl-sysdep.c
54335         (_dl_discover_osversion): Likewise.
54337 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54339         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54340         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54342 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54344         * NEWS: Mention libm performance improvements and non-x86 PI
54345         futex support.
54347         * csu/libc-start.c (__pthread_initialize_minimal): Change
54348         function arguments.
54349         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54351 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54353         [BZ #13550]
54354         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54355         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54356         <bp-sym.h> and <bp-asm.h>.
54357         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54358         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54359         and <bp-asm.h>.
54360         (memcpy): Don't use BP_SYM.
54361         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54362         <bp-asm.h>.
54363         (__mpn_add_n): Don't use BP_SYM.
54364         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54365         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54366         and <bp-asm.h>.
54367         (__mpn_addmul_1): Don't use BP_SYM.
54368         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54369         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54370         <bp-sym.h>.
54371         (_setjmp): Don't use BP_SYM.
54372         (__novmx_setjmp): Likewise.
54373         (__GI__setjmp): Likewise.
54374         (__vmx_setjmp): Likewise.
54375         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54376         <bp-sym.h>.
54377         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54378         (__bzero): Don't use BP_SYM.
54379         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54380         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54381         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54382         <bp-sym.h> and <bp-asm.h>.
54383         (memcpy): Don't use BP_SYM.
54384         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54385         <bp-sym.h> and <bp-asm.h>.
54386         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54387         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54388         <bp-sym.h> and <bp-asm.h>.
54389         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54390         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54391         <bp-asm.h>.
54392         (__mpn_lshift): Don't use BP_SYM.
54393         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54394         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54395         <bp-asm.h>.
54396         (memset): Don't use BP_SYM.
54397         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54398         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54399         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54400         <bp-asm.h>.
54401         (__mpn_mul_1): Don't use BP_SYM.
54402         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54403         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54404         <bp-sym.h> and <bp-asm.h>.
54405         (memcmp): Don't use BP_SYM.
54406         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54407         <bp-sym.h> and <bp-asm.h>.
54408         (memcpy): Don't use BP_SYM.
54409         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54410         <bp-sym.h> and <bp-asm.h>.
54411         (memset): Don't use BP_SYM.
54412         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54413         <bp-sym.h> and <bp-asm.h>.
54414         (strncmp): Don't use BP_SYM.
54415         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54416         <bp-sym.h> and <bp-asm.h>.
54417         (memcpy): Don't use BP_SYM.
54418         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54419         <bp-sym.h> and <bp-asm.h>.
54420         (memset): Don't use BP_SYM.
54421         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54422         <bp-sym.h> and <bp-asm.h>.
54423         (__memchr): Don't use BP_SYM.
54424         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54425         <bp-sym.h> and <bp-asm.h>.
54426         (memcmp): Don't use BP_SYM.
54427         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54428         <bp-sym.h> and <bp-asm.h>.
54429         (memcpy): Don't use BP_SYM.
54430         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54431         <bp-sym.h> and <bp-asm.h>.
54432         (__mempcpy): Don't use BP_SYM.
54433         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54434         <bp-sym.h> and <bp-asm.h>.
54435         (__memrchr): Don't use BP_SYM.
54436         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54437         <bp-sym.h> and <bp-asm.h>.
54438         (memset): Don't use BP_SYM.
54439         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54440         <bp-sym.h> and <bp-asm.h>.
54441         (__rawmemchr): Don't use BP_SYM.
54442         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54443         <bp-sym.h> and <bp-asm.h>.
54444         (__STRCMP): Don't use BP_SYM.
54445         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54446         <bp-sym.h> and <bp-asm.h>.
54447         (strchr): Don't use BP_SYM.
54448         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54449         <bp-sym.h> and <bp-asm.h>.
54450         (__strchrnul): Don't use BP_SYM.
54451         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54452         <bp-sym.h> and <bp-asm.h>.
54453         (strlen): Don't use BP_SYM.
54454         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54455         <bp-sym.h> and <bp-asm.h>.
54456         (strncmp): Don't use BP_SYM.
54457         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54458         <bp-sym.h> and <bp-asm.h>.
54459         (__strnlen): Don't use BP_SYM.
54460         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54461         <bp-asm.h>.
54462         (__mpn_rshift): Don't use BP_SYM.
54463         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54464         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54465         <bp-sym.h> and <bp-asm.h>.
54466         (__sigsetjmp): Don't use BP_SYM.
54467         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54468         (L(start_addresses)): Don't use BP_SYM.
54469         (_start): Likewise.
54470         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54471         <bp-asm.h>.
54472         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54473         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54474         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54475         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54476         <bp-asm.h>.
54477         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54478         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54479         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54480         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54481         <bp-asm.h>.
54482         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54483         comments.
54484         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54485         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54486         <bp-asm.h>.
54487         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54488         FIXME comments.
54489         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54490         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54491         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54492         <bp-asm.h>.
54493         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54494         comment.
54495         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54496         and <bp-asm.h>.
54497         (strncmp): Don't use BP_SYM,
54498         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54499         <bp-asm.h>.
54500         (__mpn_sub_n): Don't use BP_SYM.
54501         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54502         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54503         and <bp-asm.h>.
54504         (__mpn_submul_1): Don't use BP_SYM.
54505         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54507         <bp-sym.h> and <bp-asm.h>.
54508         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54510         <bp-sym.h> and <bp-asm.h>.
54511         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54512         comment.
54514 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54517         Use ZK to minimize writes to Z.
54518         (sub_magnitudes): Simplify code a bit.
54519         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54520         Use ZK to minimize writes to Z.
54521         (sub_magnitudes): Simplify code a bit.
54523 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54525         * csu/gmon-start.c: Add special exception to license text.
54527 2013-02-27  Richard Henderson  <rth@redhat.com>
54529         * scripts/config.guess: Update from config.git.
54530         * scripts/config.sub: Likewise.
54532 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54534         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54536         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54538         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54540         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54542         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54544 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54546         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54547         [$(build-shared = yes].
54549 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54551         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54552         (__mul): Reduce iterations for calculating mantissa.
54554         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54555         MPTWO.
54556         (__mpranred): Likewise.
54558         [BZ #15160]
54559         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54560         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54562 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54564         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54565         Define __attribute__.
54567 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54569         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54570         unused.
54571         * posix/regex_internal.h (__attribute): Remove.
54572         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
54573         (re_string_context_at): Likewise.
54574         (bitset_not): Use __attribute__ and mark function as possibly
54575         unused.
54576         (bitset_merge): Likewise.
54577         (bitset_mask): Likewise.
54578         (re_string_char_size_at): Likewise.
54579         (re_string_wchar_at): Likewise.
54580         (re_string_elem_size_at): Likewise.
54582 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54584         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
54585         code.
54586         (cc32): Likewise.
54588         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
54589         (__acr): Likewise.
54590         (__cpy): Likewise.
54591         (norm): Likewise.
54592         (denorm): Likewise.
54593         (__dbl_mp): Likewise.
54594         (add_magnitudes): Likewise.
54595         (sub_magnitudes): Likewise.
54596         (__mul): Likewise.
54597         (__inv): Likewise.
54599         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
54600         style.
54602         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
54603         style.
54605         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
54606         code.
54608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
54609         up changes with default code.
54610         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
54611         Likewise.
54613 2013-02-24  Allan McRae  <allan@archlinux.org>
54615         * manual/socket.texi (The Internet Namespace): Order menu items
54616         to match that in the file.
54618         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
54619         node listing of the info page menu.
54621 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
54623         [BZ #13550]
54624         * sysdeps/i386/bp-asm.h: Remove file.
54625         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54626         (PARMS): Do not use macros from bp-asm.h.
54627         (S1): Likewise.
54628         (S2): Likewise.
54629         (SIZE): Likewise.
54630         (__mpn_add_n): Do not use BP_SYM
54631         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
54632         "bp-asm.h".
54633         (PARMS): Do not use macros from bp-asm.h.
54634         (S1): Likewise.
54635         (SIZE): Likewise.
54636         (__mpn_addmul_1): Do not use BP_SYM
54637         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
54638         "bp-asm.h".
54639         (PARMS): Do not use macros from bp-asm.h.
54640         (SIGMSK): Likewise.
54641         (_setjmp): Likewise.  Do not use BP_SYM.
54642         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
54643         "bp-asm.h".
54644         (PARMS): Do not use macros from bp-asm.h.
54645         (SIGMSK): Likewise.
54646         (setjmp): Likewise.  Do not use BP_SYM.
54647         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
54648         "bp-asm.h".
54649         (PARMS): Do not use macros from bp-asm.h.
54650         (__frexp): Do not use BP_SYM.
54651         (frexp): Likewise.
54652         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
54653         "bp-asm.h".
54654         (PARMS): Do not use macros from bp-asm.h.
54655         (__frexpf): Do not use BP_SYM.
54656         (frexpf): Likewise.
54657         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
54658         "bp-asm.h".
54659         (PARMS): Do not use macros from bp-asm.h.
54660         (__frexpl): Do not use BP_SYM.
54661         (frexpl): Likewise.
54662         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
54663         "bp-asm.h".
54664         (PARMS): Do not use macros from bp-asm.h.
54665         (__remquo): Do not use BP_SYM.
54666         (remquo): Likewise.
54667         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
54668         "bp-asm.h".
54669         (PARMS): Do not use macros from bp-asm.h.
54670         (__remquof): Do not use BP_SYM.
54671         (remquof): Likewise.
54672         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
54673         "bp-asm.h".
54674         (PARMS): Do not use macros from bp-asm.h.
54675         (__remquol): Do not use BP_SYM.
54676         (remquol): Likewise.
54677         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
54678         "bp-asm.h".
54679         (PARMS): Do not use macros from bp-asm.h.
54680         (DEST): Likewise.
54681         (SRC): Likewise.
54682         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
54683         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
54684         "bp-asm.h".
54685         (PARMS): Do not use macros from bp-asm.h.
54686         (strlen): Do not use BP_SYM.
54687         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
54688         "bp-asm.h".
54689         (PARMS): Do not use macros from bp-asm.h.
54690         (S1): Likewise.
54691         (S2): Likewise.
54692         (SIZE): Likewise.
54693         (__mpn_add_n): Do not use BP_SYM.
54694         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
54695         "bp-asm.h".
54696         (PARMS): Do not use macros from bp-asm.h.
54697         (S1): Likewise.
54698         (SIZE): Likewise.
54699         (__mpn_addmul_1): Do not use BP_SYM.
54700         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
54701         weak_alias.
54702         (bzero): Likewise.
54703         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
54704         "bp-asm.h".
54705         (PARMS): Do not use macros from bp-asm.h.
54706         (S): Likewise.
54707         (SIZE): Likewise.
54708         (__mpn_lshift): Do not use BP_SYM.
54709         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
54710         "bp-asm.h".
54711         (PARMS): Do not use macros from bp-asm.h.
54712         (DEST): Likewise.
54713         (SRC): Likewise.
54714         (LEN): Likewise.
54715         (memcpy): Likewise.  Do not use BP_SYM.
54716         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
54717         libc_hidden_def and weak_alias.
54718         (mempcpy): Do not use BP_SYM in weak_alias.
54719         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
54720         "bp-asm.h".
54721         (PARMS): Do not use macros from bp-asm.h.
54722         (DEST): Likewise.
54723         (LEN): Likewise.
54724         [!BZERO_P] (CHR): Likewise.
54725         (memset): Likewise.  Do not use BP_SYM.
54726         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
54727         "bp-asm.h".
54728         (PARMS): Do not use macros from bp-asm.h.
54729         (S1): Likewise.
54730         (SIZE): Likewise.
54731         (__mpn_mul_1): Do not use BP_SYM.
54732         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
54733         "bp-asm.h".
54734         (PARMS): Do not use macros from bp-asm.h.
54735         (S): Likewise.
54736         (SIZE): Likewise.
54737         (__mpn_rshift): Do not use BP_SYM.
54738         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
54739         "bp-asm.h".
54740         (PARMS): Do not use macros from bp-asm.h.
54741         (STR): Likewise.
54742         (CHR): Likewise.
54743         (strchr): Likewise.  Do not use BP_SYM.
54744         (index): Do not use BP_SYM in weak_alias.
54745         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
54746         "bp-asm.h".
54747         (PARMS): Do not use macros from bp-asm.h.
54748         (DEST): Likewise.
54749         (SRC): Likewise.
54750         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
54751         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
54752         "bp-asm.h".
54753         (PARMS): Do not use macros from bp-asm.h.
54754         (strlen): Do not use BP_SYM.
54755         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
54756         "bp-asm.h".
54757         (PARMS): Do not use macros from bp-asm.h.
54758         (S1): Likewise.
54759         (S2): Likewise.
54760         (SIZE): Likewise.
54761         (__mpn_sub_n): Do not use BP_SYM.
54762         * sysdeps/i386/i586/submul_1.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         (SIZE): Likewise.
54767         (__mpn_submul_1): Do not use BP_SYM.
54768         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54769         "bp-asm.h".
54770         (PARMS): Do not use macros from bp-asm.h.
54771         (S1): Likewise.
54772         (S2): Likewise.
54773         (SIZE): Likewise.
54774         (__mpn_add_n): Do not use BP_SYM.
54775         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54776         weak_alias.
54777         (bzero): Likewise.
54778         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54779         "bp-asm.h".
54780         (PARMS): Do not use macros from bp-asm.h.
54781         (BLK2): Likewise.
54782         (LEN): Likewise.
54783         (memcmp): Do not use BP_SYM.
54784         (bcmp): Do not use BP_SYM in weak_alias.
54785         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54786         "bp-asm.h".
54787         (PARMS): Do not use macros from bp-asm.h.
54788         (DEST): Likewise.
54789         (SRC): Likewise.
54790         (LEN): Likewise.
54791         (memcpy): Likewise.  Do not use BP_SYM.
54792         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54793         "bp-asm.h".
54794         (PARMS): Do not use macros from bp-asm.h.
54795         (DEST): Likewise.
54796         (SRC): Likewise.
54797         (LEN): Likewise.
54798         (memmove): Likewise.  Do not use BP_SYM.
54799         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54800         "bp-asm.h".
54801         (PARMS): Do not use macros from bp-asm.h.
54802         (DEST): Likewise.
54803         (SRC): Likewise.
54804         (LEN): Likewise.
54805         (__mempcpy): Likewise.  Do not use BP_SYM.
54806         (mempcpy): Do not use BP_SYM in weak_alias.
54807         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54808         "bp-asm.h".
54809         (PARMS): Do not use macros from bp-asm.h.
54810         (DEST): Likewise.
54811         (LEN): Likewise.
54812         [!BZERO_P] (CHR): Likewise.
54813         (memset): Likewise.  Do not use BP_SYM.
54814         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54815         "bp-asm.h".
54816         (PARMS): Do not use macros from bp-asm.h.
54817         (STR2): Likewise.
54818         (strcmp): Do not use BP_SYM.
54819         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54820         "bp-asm.h".
54821         (PARMS): Do not use macros from bp-asm.h.
54822         (STR): Likewise.
54823         (DELIM): Likewise.
54824         [USE_AS_STRTOK_R] (SAVE): Likewise.
54825         (FUNCTION): Likewise.  Do not use BP_SYM.
54826         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54827         aliases.
54828         (strtok_r): Likewise.
54829         (__GI___strtok_r): Likewise.
54830         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54831         (PARMS): Do not use macros from bp-asm.h.
54832         (S): Likewise.
54833         (SIZE): Likewise.
54834         (__mpn_lshift): Do not use BP_SYM.
54835         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54836         (PARMS): Do not use macros from bp-asm.h.
54837         (STR): Likewise.
54838         (CHR): Likewise.
54839         (__memchr): Do not use BP_SYM.
54840         (memchr): Do not use BP_SYM in weak_alias.
54841         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54842         (PARMS): Do not use macros from bp-asm.h.
54843         (BLK2): Likewise.
54844         (LEN): Likewise.
54845         (memcmp): Do not use BP_SYM.
54846         (bcmp): Do not use BP_SYM in weak_alias.
54847         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54848         (PARMS): Do not use macros from bp-asm.h.
54849         (S1): Likewise.
54850         (SIZE): Likewise.
54851         (__mpn_mul_1): Do not use BP_SYM.
54852         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54853         "bp-asm.h".
54854         (PARMS): Do not use macros from bp-asm.h.
54855         (STR): Likewise.
54856         (CHR): Likewise.
54857         (__rawmemchr): Do not use BP_SYM.
54858         (rawmemchr): Do not use BP_SYM in weak_alias.
54859         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54860         (PARMS): Do not use macros from bp-asm.h.
54861         (S): Likewise.
54862         (SIZE): Likewise.
54863         (__mpn_rshift): Do not use BP_SYM.
54864         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54865         (PARMS): Do not use macros from bp-asm.h.
54866         (SIGMSK): Likewise.
54867         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54868         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54869         (_start): Do not use BP_SYM.
54870         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54871         (PARMS): Do not use macros from bp-asm.h.
54872         (DEST): Likewise.
54873         (SRC): Likewise.
54874         (__stpcpy): Likewise.  Do not use BP_SYM.
54875         (stpcpy): Do not use BP_SYM in weak_alias.
54876         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54877         "bp-asm.h".
54878         (PARMS): Do not use macros from bp-asm.h.
54879         (DEST): Likewise.
54880         (SRC): Likewise.
54881         (LEN): Likewise.
54882         (__stpncpy): Likewise.  Do not use BP_SYM.
54883         (stpncpy): Do not use BP_SYM in weak_alias.
54884         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54885         (PARMS): Do not use macros from bp-asm.h.
54886         (STR): Likewise.
54887         (CHR): Likewise.
54888         (strchr): Likewise.  Do not use BP_SYM.
54889         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54890         "bp-asm.h".
54891         (PARMS): Do not use macros from bp-asm.h.
54892         (STR): Likewise.
54893         (CHR): Likewise.
54894         (__strchrnul): Likewise.  Do not use BP_SYM.
54895         (strchrnul): Do not use BP_SYM in weak_alias.
54896         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54897         "bp-asm.h".
54898         (PARMS): Do not use macros from bp-asm.h.
54899         (STOP): Likewise.
54900         (strcspn): Do not use BP_SYM.
54901         * sysdeps/i386/strpbrk.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         (STOP): Likewise.
54906         (strpbrk): Likewise.  Do not use BP_SYM.
54907         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54908         "bp-asm.h".
54909         (PARMS): Do not use macros from bp-asm.h.
54910         (STR): Likewise.
54911         (CHR): Likewise.
54912         (strrchr): Likewise.  Do not use BP_SYM.
54913         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54914         (PARMS): Do not use macros from bp-asm.h.
54915         (SKIP): Likewise.
54916         (strspn): Do not use BP_SYM.
54917         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54918         (PARMS): Do not use macros from bp-asm.h.
54919         (STR): Likewise.
54920         (DELIM): Likewise.
54921         (SAVE): Likewise.
54922         (FUNCTION): Likewise.  Do not use BP_SYM.
54923         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54924         aliases.
54925         (strtok_r): Likewise.
54926         (__GI___strtok_r): Likewise.
54927         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54928         (PARMS): Do not use macros from bp-asm.h.
54929         (S1): Likewise.
54930         (S2): Likewise.
54931         (SIZE): Likewise.
54932         (__mpn_sub_n): Do not use BP_SYM.
54933         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54934         "bp-asm.h".
54935         (PARMS): Do not use macros from bp-asm.h.
54936         (S1): Likewise.
54937         (SIZE): Likewise.
54938         (__mpn_submul_1): Do not use BP_SYM.
54939         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54940         <bp-sym.h>.
54941         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54942         and <bp-asm.h>.
54943         (PARMS): Do not use macros from bp-asm.h.
54944         (FLAGS): Likewise.
54945         (PTID): Likewise.
54946         (TLS): Likewise.
54947         (CTID): Likewise.
54948         (__clone): Do not use BP_SYM.
54949         (clone): Do not use BP_SYM in weak_alias.
54950         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54951         and <bp-asm.h>.
54952         (PARMS): Do not use macros from bp-asm.h.
54953         (LEN): Likewise.
54954         (__mmap64): Do not use BP_SYM.
54955         (mmap64): Do not use BP_SYM in weak_alias.
54956         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54957         <bp-sym.h> and <bp-asm.h>.
54958         (PARMS): Do not use macros from bp-asm.h.
54959         (__posix_fadvise64_l64): Do not use BP_SYM.
54960         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54961         (PARMS): Do not use macros from bp-asm.h.
54962         (NSOPS): Likewise.
54963         (semtimedop): Do not use BP_SYM.
54964         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54965         and <bp-asm.h>.
54967 2013-02-21  Allan McRae  <allan@archlinux.org>
54969         * manual/message.texi (Charset conversion in gettext):
54970         Move @end statement to beginning of line.
54972 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54974         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54975         static.
54976         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54977         Likewise.
54979         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54980         (denorm): Likewise.
54981         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54984 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54986         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54987         tail-call to the resolved function if pltexit isn't needed.
54989 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54992         or Y being zero as being unlikely.
54993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54994         Likewise.
54996 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54998         * manual/nss.texi (System Databases and Name Service Switch):
54999         Remove frobnicate @pxref.
55001 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55003         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55004         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55006 2013-02-20  Petr Machata  <pmachata@redhat.com>
55008         * elf/elf.h (R_ARM_TARGET1): New macro.
55009         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55010         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55011         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55012         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55013         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55014         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55015         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55016         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55017         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55018         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55019         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55020         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55021         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55022         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55023         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55024         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55025         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55026         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55027         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55028         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55029         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55030         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55031         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55032         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55033         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55034         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55035         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55036         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55037         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55038         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55039         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55040         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55041         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55042         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55043         (R_ARM_THM_GOT_BREL12): Likewise.
55044         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55045         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55046         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55047         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55048         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55049         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55050         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55051         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55052         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55054 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55056         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55057         __attribute_used__ to __attribute__ ((unused)).
55059 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55061         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55062         powerpc mpa.c.
55063         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55064         comment formatting.
55065         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55067 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55069         [BZ #13550]
55070         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55071         Remove macro.
55072         (ENTER): Remove both macro definitions.
55073         (LEAVE): Likewise.
55074         (CHECK_BOUNDS_LOW): Likewise.
55075         (CHECK_BOUNDS_HIGH): Likewise.
55076         (CHECK_BOUNDS_BOTH): Likewise.
55077         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55078         (RETURN_BOUNDED_POINTER): Likewise.
55079         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55080         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55081         (POP_ERRNO_LOCATION_RETURN): Likewise.
55082         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55083         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55084         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55085         macros.
55086         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55087         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55088         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55089         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55090         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55091         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55092         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55093         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55094         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55095         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55096         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55097         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55098         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55099         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55100         removed macros.
55101         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55102         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55103         macros.
55104         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55105         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55106         * sysdeps/i386/i586/memset.S (memset): Likewise.
55107         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55108         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55109         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55110         macros.
55111         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55112         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55113         Change uses of L(2) to L(out).
55114         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55115         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55116         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55117         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55118         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55119         removed macros.
55120         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55121         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55122         macros.
55123         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55124         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55125         (RETURN): Do not use macro LEAVE.
55126         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55127         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55128         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55129         * sysdeps/i386/i686/memset.S (memset): Likewise.
55130         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55131         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55132         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55133         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55134         Likewise.
55135         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55136         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55137         L(1_2) and L(1_3) into L(1).
55138         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55139         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55140         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55141         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55142         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55143         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55144         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55145         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55146         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55147         macros.
55148         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55149         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55150         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55151         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55152         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55153         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55154         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55155         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55156         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55157         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55158         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55159         * sysdeps/i386/strspn.S (strspn): Likewise.
55160         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55161         conditional code.
55162         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55163         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55164         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55165         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55166         L(1_3) into L(1_1).
55167         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55168         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55169         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55170         macros.
55171         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55173 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55175         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55176         macro.
55178 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55180         * math/atest-exp.c (exp_mpn): Remove ROUND.
55181         * math/atest-exp2.c (exp_mpn): Likewise.
55182         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55184         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55185         * stdlib/tst-tls-atexit-lib.c: Likewise.
55186         * stdlib/tst-tls-atexit.c: Likewise.
55188 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55190         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55191         and __attribute_alloc_size__.
55193 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55195         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55196         __attribute_alloc_size__.
55197         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55198         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55200 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55202         * include/programs/xmalloc.h: New file.
55203         * catgets/gencat.c: Include it.
55204         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55205         * elf/pldd.c: Likewise.
55206         * iconv/iconv_charmap.c: Likewise.
55207         * iconv/iconvconfig.c: Likewise.
55208         * iconv/strtab.c: Likewise.
55209         * locale/programs/locale.c: Likewise.
55210         * locale/programs/localedef.h: Likewise.
55211         * locale/programs/simple-hash.c: Likewise.
55212         * nscd/nscd.h: Likewise.
55213         * nss/makedb.c: Likewise.
55214         * sysdeps/generic/ldconfig.h: Likewise.
55216 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55218         * Versions.def: Add GLIBC_2.18.
55219         * include/link.h (struct link_map): New member l_tls_dtor_count.
55220         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55221         (__call_tls_dtors): Likewise.
55222         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55223         __cxa_thread_atexit_impl.
55224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55225         Likewise.
55226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55227         Likewise.
55228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55229         Likewise.
55230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55231         Likewise.
55232         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55234         Likewise.
55235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55236         Likewise.
55237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55239         Likewise.
55240         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55241         (tests): Add test case tst-tls-atexit.
55242         (modules-names): Add shared library for tst-tls-atexit.
55243         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55244         (GLIBC_PRIVATE): Add __call_tls_dtors.
55245         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55246         for libstdc++.
55247         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55248         * stdlib/tst-tls-atexit.c: New test case.
55249         * stdlib/tst-tls-atexit-lib.c: New test case.
55251         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55253         * elf/Versions (ld): Add _dl_find_dso_for_object.
55254         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55255         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55256         (dl_open_worker): Use _dl_find_dso_for_object.
55257         * elf/dl-sym.c (do_sym): Likewise.
55258         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55260 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55262         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55263         Syntactic changes only.
55264         (_dl_runtime_profile): Do a tail-call to the resolved function.
55266 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55268         [BZ #13550]
55269         * sysdeps/x86_64/bp-asm.h: Remove file.
55270         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55271         <bp-sym.h> and <bp-asm.h>.
55272         (__clone): Do not use BP_SYM.
55273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55274         <bp-sym.h> and <bp-asm.h>.
55275         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55276         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55277         "bp-asm.h".
55278         (_setjmp): Do not use BP_SYM.
55279         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55280         "bp-asm.h".
55281         (setjmp): Do not use BP_SYM.
55282         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55283         libc_hidden_def.
55284         (mempcpy): Do not use BP_SYM in weak_alias.
55285         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55286         "bp-asm.h".
55287         (strchr): Do not use BP_SYM.
55288         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55289         "bp-asm.h".
55290         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55291         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55292         (_start): Do not use BP_SYM.
55293         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55294         "bp-asm.h".
55295         (strcat): Do not use BP_SYM.
55296         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55297         "bp-asm.h".
55298         (STRCMP): Do not use BP_SYM.
55299         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55300         "bp-asm.h".
55301         (STRCPY): Do not use BP_SYM.
55302         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55303         "bp-asm.h".
55304         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55305         "bp-asm.h".
55306         (FUNCTION): Do not use BP_SYM.
55307         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55308         weak_alias.
55309         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55311 2013-02-17  Andreas Jaeger  <aj@suse.de>
55313         * time/Versions: Sort entries.
55314         * string/Versions: Likewise.
55315         * resolv/Versions: Likewise.
55316         * posix/Versions: Likewise.
55317         * iconv/Versions: Likewise.
55318         * elf/Versions: Likewise.
55319         * wcsmbs/Versions: Likewise.
55321 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55323         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55324         loop termination condition.
55326         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55327         variable to calculate EZ.
55328         (__sqr): Likewise.
55330         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55331         the lower precision input.
55333 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55335         [BZ #13550]
55336         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55337         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55338         (run-via-rtld-prefix): Do not handle %-bp tests.
55339         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55340         (all-object-suffixes): Remove .ob.
55341         (bppfx): Remove variable.
55342         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55343         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55344         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55345         [$(build-bounded) = yes] (libtype.ob): Likewise.
55346         * Makerules (elide-routines.ob): Remove variable.
55347         (do-tests-clean): Do not handle *-bp.out.
55348         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55349         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55350         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55351         (tests): Do not include $(tests-bp.out).
55352         (xtests): Do not include $(xtests-bp.out).
55353         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55354         [$(build-bounded) = yes] ($(addprefix
55355         $(objpfx),$(binaries-bounded))): Remove rule.
55356         ($(objpfx)%-bp.out): Remove rule.
55357         * config.make.in (build-bounded): Remove variable.
55358         * crypt/Makefile [$(build-bounded) = yes]
55359         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55360         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55361         append to variable.
55362         [$(build-bounded) = yes] (install-lib): Likewise.
55363         [$(build-bounded) = yes] (generated): Likewise.
55364         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55365         Remove rule.
55366         * intl/Makefile [$(build-bounded) = yes]
55367         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55368         * math/Makefile [$(build-bounded) = yes]
55369         ($(tests:%=$(objpfx)%-bp): Likewise.
55370         * misc/Makefile [$(build-bounded) = yes]
55371         ($(objpfx)tst-tsearch-bp): Likewise.
55372         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55373         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55374         Remove dependency.
55375         * string/Makefile (o-objects.ob): Remove variable.
55376         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55377         (CFLAGS-.ob): Remove variable.
55378         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55379         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55380         both definitions of variable.
55381         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55382         (ASFLAGS-.ob): Remove variable.
55384 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55386         [BZ #13550]
55387         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55388         Remove __BOUNDED_POINTERS__ from condition.
55389         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55390         * string/bits/string2.h [!__NO_STRING_INLINES &&
55391         !__BOUNDED_POINTERS__]: Likewise.
55392         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55393         Likewise.
55394         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55395         Remove conditional code.
55396         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55397         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55398         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55399         condition.
55401         [BZ #13550]
55402         * csu/libc-start.c: Do not include <bp-sym.h>.
55403         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55404         * elf/dl-open.c: Do not include <bp-sym.h>.
55405         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55406         * math/fegetenv.c: Do not include <bp-sym.h>.
55407         (fegetenv): Do not use BP_SYM in versioned symbols.
55408         * nptl/sysdeps/pthread/bits/libc-lockP.h
55409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55410         <bp-sym.h>.
55411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55412         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55414         (__pthread_mutex_destroy): Likewise.
55415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55416         (__pthread_mutex_lock): Likewise.
55417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55418         (__pthread_mutex_trylock): Likewise.
55419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55420         (__pthread_mutex_unlock): Likewise.
55421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55422         (__pthread_mutexattr_init): Likewise.
55423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55424         (__pthread_mutexattr_destroy): Likewise.
55425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55426         (__pthread_mutexattr_settype): Likewise.
55427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55428         (__pthread_rwlock_init): Likewise.
55429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55430         (__pthread_rwlock_destroy): Likewise.
55431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55432         (__pthread_rwlock_rdlock): Likewise.
55433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55434         (__pthread_rwlock_tryrdlock): Likewise.
55435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55436         (__pthread_rwlock_wrlock): Likewise.
55437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55438         (__pthread_rwlock_trywrlock): Likewise.
55439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55440         (__pthread_rwlock_unlock): Likewise.
55441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55442         (__pthread_key_create): Likewise.
55443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55444         (__pthread_setspecific): Likewise.
55445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55446         (__pthread_getspecific): Likewise.
55447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55448         Likewise.
55449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55450         (_pthread_cleanup_push_defer): Likewise.
55451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55452         (_pthread_cleanup_pop_restore): Likewise.
55453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55454         (pthread_setcancelstate): Likewise.
55455         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55456         <bp-sym.h>.
55457         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55458         (memchr): Do not use BP_SYM in weak_alias.
55459         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55460         (fegetenv): Do not use BP_SYM in versioned symbols.
55461         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55462         (fesetenv): Do not use BP_SYM in versioned symbols.
55463         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55464         (feupdateenv): Do not use BP_SYM in versioned symbols.
55465         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55466         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55467         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55468         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55469         (open64): Do not use BP_SYM in weak_alias.
55470         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55471         (fegetenv): Do not use BP_SYM in versioned symbols.
55472         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55473         (fesetenv): Do not use BP_SYM in versioned symbols.
55474         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55475         (feupdateenv): Do not use BP_SYM in versioned symbols.
55476         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55477         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55478         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55479         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55480         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55481         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55482         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55483         <bp-sym.h>.
55484         (__libc_start_main): Do not use BP_SYM.
55486 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55489         redundant return line.
55490         (norm): Likewise.
55491         (denorm): Likewise.
55492         (dbl_mp): Likewise.
55493         (sub_magnitudes): Likewise.
55494         (__add): Likewise.
55495         (__sub): Likewise.
55496         (__mul): Likewise.
55497         (__inv): Likewise.
55498         (__dvd): Likewise.
55499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55500         (norm): Likewise.
55501         (denorm): Likewise.
55502         (dbl_mp): Likewise.
55503         (sub_magnitudes): Likewise.
55504         (__add): Likewise.
55505         (__sub): Likewise.
55506         (__mul): Likewise.
55507         (__inv): Likewise.
55508         (__dvd): Likewise.
55510         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55511         instead of __mul.
55512         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55513         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55514         (cc32): Likewise.
55516         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55517         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55518         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55519         of __mul for squares.
55520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55521         function
55522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55523         Likewise.
55524         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55525         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55527 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55529         [BZ #13550]
55530         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55531         code.
55532         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55533         prototype or function definition.  Rename ubp_* variables and
55534         parameters.  Remove argv definitions conditional on
55535         [__BOUNDED_POINTERS__].
55536         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55537         * elf/dl-runtime.c (_dl_fixup): Likewise.
55538         * include/set-hooks.h (RUN_HOOK): Likewise.
55539         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55540         definition.
55541         * string/strcpy.c (strcpy): Do not use __unbounded.
55542         * sysdeps/generic/frame.h (struct layout): Likewise.
55543         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55544         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55545         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55546         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55547         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55548         (__backtrace): Likewise.
55549         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55550         use __ptrvalue.
55551         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55552         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55553         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55554         Likewise.
55555         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55556         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55557         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55558         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55559         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55560         Do not use __unbounded.
55561         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55562         Rename __unboundedrlimits parameter to rlimits in prototype.
55563         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55564         Do not use __unbounded.
55565         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55566         not use __ptrvalue.
55567         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55568         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55569         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55570         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55571         __ptrvalue or __unbounded.
55572         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
55573         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
55574         use __unbounded.
55575         (__new_msgctl): Do not use __ptrvalue.
55576         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
55577         __unbounded.
55578         (__libc_msgrcv): Do not use __ptrvalue.
55579         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
55580         startup_info): Do not use __unbounded.
55581         (__libc_start_main): Likewise.  Rename ubp_* variables and
55582         parameters.  Remove argv definitions conditional on
55583         [__BOUNDED_POINTERS__].
55584         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
55585         __ptrvalue.
55586         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
55587         use __unbounded.
55588         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
55589         or __ptrvalue.
55590         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
55591         use __unbounded.
55592         (__new_shmctl): Do not use __ptrvalue.
55593         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
55594         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
55595         Likewise.
55596         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
55597         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
55598         (__libc_sigaction): Likewise.
55599         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
55600         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
55601         Likewise.
55602         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55604 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
55606         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
55608         * string/mempcpy.c: Implement by calling memcpy.
55610 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
55612         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
55614         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
55615         evaluation.
55617         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
55618         values in the mantissa.
55620         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
55621         minimize writes to Z.
55622         (sub_magnitudes): Simplify code a bit.
55624 2013-02-12  Roland McGrath  <roland@hack.frob.com>
55626         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
55627         from the message.  The linker prefixes all warnings with that already.
55629 2013-02-12  Andreas Schwab  <schwab@suse.de>
55631         [BZ #15078]
55632         * posix/regexec.c (extend_buffers): Add parameter min_len.
55633         (check_matching): Pass minimum needed length.
55634         (clean_state_log_if_needed): Likewise.
55635         (get_subexp): Likewise.
55636         * posix/Makefile (tests): Add bug-regex34.
55637         (bug-regex34-ENV): Define.
55638         * posix/bug-regex34.c: New file.
55640         [BZ #11561]
55641         * posix/regcomp.c (parse_bracket_exp): When looking up collating
55642         elements compare against the byte sequence of it, not its name.
55643         * posix/Makefile (tests): Add bug-regex35.
55644         (bug-regex35-ENV): Define.
55645         * posix/bug-regex35.c: New file.
55647 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55649         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
55650         comment.
55651         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
55652         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
55653         (CHECK_EOL): Add undef.
55655 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
55657         * bits/stdlib-bsearch.h: New file.
55658         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
55659         * stdlib/stdlib.h: Likewise.
55661 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55663         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
55664         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
55665         declaration.
55666         * manual/search.texi (Array Search Function): Add missing const in
55667         lfind prototype.
55668         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
55669         declaration to use rlim_t.
55670         (Basic Scheduling Functions): Remove erroneous const from
55671         sched_getparam prototype.  Remove erroneous * from
55672         sched_get_priority_max and sched_get_priority_min prototypes.
55673         (Resource Usage): Fix summary @comment on vtimes to refer to
55674         sys/vtimes.h rather than vtimes.h.
55675         Add missing *s in vtimes prototype.
55676         (Limits on Resources): Fix ulimit prototype to return long int.
55677         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
55678         prototypes to use long int rather than double.
55679         (BSD Random): Fix initstate and setstate to use char *, not void *.
55680         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
55681         prototype to make second argument 'struct aiocb64 *const[]'.
55682         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
55683         (Status of AIO Operations): Remove erroneous const in aio_return and
55684         aio_return64 prototypes.
55685         (Synchronizing I/O): Fix sync prototype to return void.
55686         * manual/startup.texi (Suboptions): Remove an erroneous const in
55687         getsubopt prototype.
55688         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
55689         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
55690         use size_t rather than int.
55691         (Scanning All Users): Likewise for getpwent_r.
55692         (Setting Groups): Add missing const to setgroups prototype.
55693         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
55694         * manual/socket.texi (Host Names): Fix gethostbyaddr and
55695         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
55696         'const void *' rather than 'const char *'.
55697         (Host Address Functions): Likewise for inet_ntop.
55698         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
55699         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
55700         ssize_t for return value.
55701         (Sending Data): Likewise for send, sendto, sendmsg.
55702         (Socket Option Functions): Add a missing const in setsockopt prototype.
55703         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
55704         use wchar_t for the argument.
55705         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
55706         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
55707         take no arguments.
55708         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
55709         double/float/long double for second argument.
55710         Fix return types of significand, significandf, significandl.
55711         * manual/filesys.texi (Setting Permissions): Use mode_t for second
55712         argument in fchmod prototype.
55713         (File Owner): Use uid_t and gid_t in fchown prototype.
55714         (File Times): Add const to utimes, futimes, and lutimes prototypes.
55715         (Making Special Files): Use mode_t and dev_t in mknod prototype.
55716         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
55717         use 'const struct dirent **' as argument types to CMP function pointer
55718         argument.
55719         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
55720         (File Times): Fix summary magic @comment for struct utimbuf and utime
55721         to refer to utime.h, not time.h.
55722         * manual/string.texi (Argz Functions): Add missing const in
55723         argz_extract and argz_next prototypes.
55724         (Finding Tokens in a String): Likewise for basename.
55725         (String/Array Comparison): Fix typo in wcscasecmp prototype.
55726         (Copying and Concatenation): Fix typo in wmemmove prototype.
55727         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
55728         (Signal Stack): Remove erroneous const in sigstack prototype.
55729         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
55730         prototype.
55731         (Simple Calendar Time): Likewise for stime.
55732         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
55733         prototype.
55734         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
55735         say sys/sysctl.h instead.
55736         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
55737         and vsyslog prototypes.
55739 2013-02-11  Tom de Vries  <tom@codesourcery.com>
55741         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
55742         Remove.
55744 2013-02-11  Roland McGrath  <roland@hack.frob.com>
55746         * misc/sys/mman.h: Fix typo in mremap comment.
55748 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55750         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
55751         the '\0' terminator.
55753 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55755         [BZ #13550]
55756         * debug/segfault.c: Don't include <bp-checks.h>.
55757         * sysdeps/generic/bp-checks.h: Remove file.
55758         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55759         (__GETDENTS): Don't use CHECK_N.
55760         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55761         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55762         (__getgroups): Don't use CHECK_N.
55763         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55764         (setgroups): Don't use CHECK_N.
55765         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55766         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55767         (__libc_msgrcv): Don't use CHECK_N.
55768         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55769         (__libc_msgsnd): Don't use CHECK_N.
55770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55771         <bp-checks.h>.
55772         (__libc_pread): Don't use CHECK_N.
55773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55774         include <bp-checks.h>.
55775         (__libc_pread64): Don't use CHECK_N.
55776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55777         include <bp-checks.h>.
55778         (__libc_pwrite): Don't use CHECK_N.
55779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55780         include <bp-checks.h>.
55781         (__libc_pwrite64): Don't use CHECK_N.
55782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55783         <bp-checks.h>.
55784         (__libc_pread): Don't use CHECK_N.
55785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55786         include <bp-checks.h>.
55787         (__libc_pread64): Don't use CHECK_N.
55788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55789         include <bp-checks.h>.
55790         (__libc_pwrite): Don't use CHECK_N.
55791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55792         include <bp-checks.h>.
55793         (__libc_pwrite64): Don't use CHECK_N.
55794         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55795         (do_pread): Don't use CHECK_N.
55796         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55797         (do_pread64): Don't use CHECK_N.
55798         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55799         (do_pwrite): Don't use CHECK_N.
55800         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55801         (do_pwrite64): Don't use CHECK_N.
55802         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55803         (__libc_readv): Don't use CHECK_N.
55804         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55805         (semop): Don't use CHECK_N.
55806         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55807         <bp-checks.h>.
55808         (semtimedop): Don't use CHECK_N.
55809         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55810         (__libc_pread): Don't use CHECK_N.
55811         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55812         <bp-checks.h>.
55813         (__libc_pread64): Don't use CHECK_N.
55814         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55815         <bp-checks.h>.
55816         (__libc_pwrite): Don't use CHECK_N.
55817         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55818         <bp-checks.h>.
55819         (__libc_pwrite64): Don't use CHECK_N.
55820         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55821         <bp-checks.h>.
55822         (__libc_msgrcv): Don't use CHECK_N.
55823         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55824         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55825         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55826         (__libc_writev): Don't use CHECK_N.
55828 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55830         * string/strcpy.c: Removed unused variable.
55832         * Makeconfig (+sysdep-includes): Define with := rather than =.
55833         Use an existing include/ subdir of each sysdeps dir before it.
55835 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55837         * nscd/connection.c (register_traced_file): Comment function.
55838         [HAVE_INOTIFY] (union __inev): Define.
55839         [HAVE_INOTIFY] (inotify_check_files): New function.
55840         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55841         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55842         clear_db_cache.
55843         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55845 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55847         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55848         loaded if not already and that a failure is permanent.
55850 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55852         [BZ #15006]
55853         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55854         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55856 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55858         [BZ #13550]
55859         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55860         (CHECK_1_NULL_OK): Likewise.
55861         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55862         (__fxstat): Do not use CHECK_1.
55863         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55864         <bp-checks.h>.
55865         (___fxstat64): Do not use CHECK_1.
55866         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55867         <bp-checks.h>.
55868         (__fxstatat): Do not use CHECK_1.
55869         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55870         <bp-checks.h>.
55871         (__fxstatat64): Do not use CHECK_1.
55872         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55873         <bp-checks.h>.
55874         (__fxstat): Do not use CHECK_1.
55875         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55876         <bp-checks.h>.
55877         (__fxstatat): Do not use CHECK_1.
55878         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55879         <bp-checks.h>.
55880         (__getresgid): Do not use CHECK_1.
55881         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55882         <bp-checks.h>.
55883         (__getresuid): Do not use CHECK_1.
55884         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55885         <bp-checks.h>.
55886         (__lxstat): Do not use CHECK_1.
55887         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55888         <bp-checks.h>.
55889         (__old_msgctl): Do not use CHECK_1.
55890         (__new_msgctl): Likewise.
55891         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55892         <bp-checks.h>.
55893         (__new_setrlimit): Do not use CHECK_1.
55894         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55895         <bp-checks.h>.
55896         (__old_shmctl): Do not use CHECK_1.
55897         (__new_shmctl): Likewise.
55898         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55899         <bp-checks.h>.
55900         (__xstat): Do not use CHECK_1.
55901         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55902         (__lxstat): Do not use CHECK_1.
55903         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55904         <bp-checks.h>.
55905         (___lxstat64): Do not use CHECK_1.
55906         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55907         (__old_msgctl): Do not use CHECK_1.
55908         (__new_msgctl): Likewise.
55909         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55910         <bp-checks.h>.
55911         (__gettimeofday): Do not use CHECK_1.
55912         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55913         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55914         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55915         <bp-checks.h>.
55916         (__gettimeofday): Do not use CHECK_1.
55917         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55918         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55919         (__new_shmctl): Do not use CHECK_1.
55920         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55921         <bp-checks.h>.
55922         (do_sigtimedwait): Do not use CHECK_1.
55923         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55924         <bp-checks.h>.
55925         (do_sigwaitinfo): Do not use CHECK_1.
55926         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55927         <bp-checks.h>.
55928         (msgctl): Do not use CHECK_1.
55929         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55930         <bp-checks.h>.
55931         (shmctl): Do not use CHECK_1.
55932         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55933         (ustat): Do not use CHECK_1.
55934         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55935         <bp-checks.h>.
55936         (__fxstat): Do not use CHECK_1.
55937         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55938         <bp-checks.h>.
55939         (__fxstatat): Do not use CHECK_1.
55940         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55941         <bp-checks.h>.
55942         (__lxstat): Do not use CHECK_1.
55943         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55944         <bp-checks.h>.
55945         (__xstat): Do not use CHECK_1.
55946         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55947         (__xstat): Do not use CHECK_1.
55948         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55949         (___xstat64): Do not use CHECK_1.
55951         [BZ #13550]
55952         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55953         definitions.
55954         (CHECK_BOUNDS_HIGH): Likewise.
55955         * string/strcpy.c: Do not include <bp-checks.h>.
55956         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55958 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55960         * nscd/nscd-client.h (__nscd_drop_map_ref):
55961         Add __attribute__ ((unused)).
55962         * nis/nss-nisplus.h (niserr2nss): Likewise.
55964         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55965         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55967         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55968         Remove inline keyword.
55969         * include/rounding-mode.h (round_away): Likewise.
55970         * libio/wfileops.c (adjust_wide_data): Likewise.
55971         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55972         (__m128i_strloadu_tolower): Likewise.
55973         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55974         (__m128i_strloadu_tolower): Likewise.
55975         * time/mktime.c (ydhms_diff): Likewise.
55976         * locale/elem-hash.h (elem_hash): Likewise.
55977         * locale/setlocale.c (setdata): Likewise.
55978         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55979         (re_string_wchar_at): Likewise.
55980         (bitset_not, bitset_merge, bitset_mask): Likewise.
55981         [!(__GNUC__ > 3)] (inline): Remove macro.
55982         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55983         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55984         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55985         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55986         * string/memcmp.c (memcmp_bytes): Likewise.
55987         * locale/programs/locarchive.c (compute_hashval): Likewise.
55988         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55989         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55990         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55991         * nss/getent.c (print_rpc, print_protocols): Likewise.
55992         (print_passwd, print_group, print_aliases): Likewise.
55993         * nis/nss-nisplus.h (niserr2nss): Likewise.
55994         * nscd/connections.c (restart_p): Likewise.
55995         Change return type to bool.
55997 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55999         * Makeconfig (all-Depend-files): Add existing
56000         $(sorted-subdirs:=/Depend) files.
56001         (all-subdirs): Remove nss.
56002         * sysdeps/unix/inet/Subdirs: Add it here instead.
56003         * hesiod/Depend: New file.
56005         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56006         instead of calling alloca.
56008         * io/lseek.c (__lseek): Rename to __libc_lseek.
56009         Define __lseek as an alias.
56011         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56013 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56015         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56016         else clause and remove check for non-standard endianness.
56018 2013-02-04  David S. Miller  <davem@davemloft.net>
56020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56022 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56024         [BZ #13550]
56025         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56026         (__ubp_memchr): Remove prototype.
56027         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56028         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56029         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56030         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56031         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56032         Remove alias.
56033         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56034         (__ubp_memchr): Likewise.
56035         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56036         (__ubp_memchr): Likewise.
56037         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56038         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56039         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56040         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56041         CHECK_STRING.
56042         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56043         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56044         (__getcwd): Do not use CHECK_STRING.
56045         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56046         <bp-checks.h>.
56047         (__real_chown): Do not use CHECK_STRING.
56048         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56049         <bp-checks.h>.
56050         (fchownat): Do not use CHECK_STRING.
56051         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56052         CHECK_STRING.
56053         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56054         <bp-checks.h>.
56055         (__lchown): Do not use CHECK_STRING.
56056         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56057         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56058         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56059         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56061         include <bp-checks.h>.
56062         (truncate64): Do not use CHECK_STRING.
56063         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56064         <bp-checks.h>.
56065         (__real_chown): Do not use CHECK_STRING.
56066         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56067         <bp-checks.h>.
56068         (__lchown): Do not use CHECK_STRING.
56069         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56070         <bp-checks.h>.
56071         (__chown): Do not use CHECK_STRING.
56072         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56073         <bp-checks.h>.
56074         (truncate64): Do not use CHECK_STRING.
56075         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56076         Likewise.
56077         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56078         (__xmknod): Do not use CHECK_STRING.
56079         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56080         <bp-checks.h>.
56081         (__xmknodat): Do not use CHECK_STRING.
56082         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56083         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56085 2013-02-04  Andreas Schwab  <schwab@suse.de>
56087         [BZ #14142]
56088         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56089         * include/netdb.h: Likewise for h_errno.
56090         * elf/tst-stackguard1.c: Include <tls.h>.
56092 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56094         * elf/link.h (struct link_map): Extend the l_addr comment.
56095         * include/link.h (struct link_map): Likewise.
56097 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56099         [BZ #13550]
56100         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56101         (BOUNDED_1): Remove macro.
56102         * debug/backtrace.c: Don't include <bp-checks.h>.
56103         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56104         (__backtrace): Likewise.
56105         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56106         <bp-checks.h>.
56107         (__backtrace): Don't use BOUNDED_1.
56108         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56109         <bp-checks.h>.
56110         (__backtrace): Don't use BOUNDED_1.
56111         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56112         (__backtrace): Don't use BOUNDED_1.
56113         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56114         (shmat): Don't use BOUNDED_N.
56116 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56118         [BZ #13550]
56119         * sysdeps/generic/bp-start.h: Remove file.
56120         * csu/libc-start.c: Don't include <bp-start.h>.
56121         (LIBC_START_MAIN): Set up __environ directly instead of using
56122         INIT_ARGV_and_ENVIRON.
56123         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56124         <bp-start.h>.
56126         [BZ #13550]
56127         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56128         definitions.
56129         (CHECK_FCNTL): Likewise.
56130         (CHECK_N_PAGES): Likewise.
56132         [BZ #13550]
56133         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56134         definitions.
56135         (CHECK_SIGSET_NULL_OK): Likewise.
56136         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56137         <bp-checks.h>.
56138         (sigpending): Don't use CHECK_SIGSET.
56139         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56140         <bp-checks.h>.
56141         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56142         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56143         <bp-checks.h>.
56144         (do_sigsuspend): Don't use CHECK_SIGSET.
56145         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56146         use CHECK_SIGSET.
56147         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56148         (do_sigwait): Don't use CHECK_SIGSET.
56149         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56150         use CHECK_SIGSET.
56151         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56152         include <bp-checks.h>.
56153         (sigpending): Don't use CHECK_SIGSET.
56154         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56155         include <bp-checks.h>.
56156         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56157         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56158         <bp-checks.h>.
56159         (sigpending): Don't use CHECK_SIGSET.
56160         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56161         <bp-checks.h>.
56162         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56164         [BZ #13550]
56165         * sysdeps/generic/bp-semctl.h: Remove file.
56166         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56167         <bp-checks.h> and <bp-semctl.h>.
56168         (__old_semctl): Don't use CHECK_SEMCTL.
56169         (__new_semctl): Likewise.
56170         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56171         and <bp-semctl.h>.
56172         (__old_semctl): Don't use CHECK_SEMCTL.
56173         (__new_semctl): Likewise.
56174         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56175         <bp-checks.h> and <bp-semctl.h>.
56176         (__old_semctl): Don't use CHECK_SEMCTL.
56177         (__new_semctl): Likewise.
56178         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56179         <bp-checks.h> and <bp-semctl.h>.
56180         (semctl): Don't use CHECK_SEMCTL.
56182         [BZ #13550]
56183         * Makerules (elide-bp-thunks): Remove variable.
56184         (elide-routines.oS): Don't use $(elide-bp-thunks).
56185         (elide-routines.os): Likewise.
56186         (elide-routines.o): Likewise.
56187         (elide-routines.op): Likewise.
56188         (elide-routines.og): Likewise.
56189         (objects): Don't use $(bp-thunks).
56190         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56191         include.
56192         (common-generated): Do not add s-proto-bp.d.
56193         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56194         (int): Likewise.
56195         (typ): Likewise.
56196         Do not generate makefile rules for bounded-pointer thunks.
56197         * sysdeps/generic/bp-thunks.h: Remove file.
56198         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56199         * sysdeps/unix/s-proto-bp.S: Likewise.
56201         [BZ #15062]
56202         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56203         parts of result separately when argument is not close to line from
56204         -i to i and one part of argument is small.
56205         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56206         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56207         * math/libm-test.inc (cacos_test): Add more tests.
56208         (casin_test): Likewise.
56209         (casinh_test): Likewise.
56210         * sysdeps/i386/fpu/libm-test-ulps: Update.
56211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56213 2013-01-31  David S. Miller  <davem@davemloft.net>
56215         * po/de.po: Update from translation team.
56217 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56219         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56221 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56223         * configure.in (_AC_PROG_CC_C89): New definition.
56224         * configure: Regenerate.
56226         * configure.in (AC_PROG_CPP): New definition.
56227         * configure: Regenerate.
56229 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56231         * debug/tst-backtrace.h: New file.
56232         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56233         (ret): Remove variable.
56234         (x): Likewise.
56235         (FAIL): Remove macro.
56236         (NO_INLINE): Likewise.
56237         (fn1): Use match function instead of strstr.
56238         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56239         (ret): Remove variable.
56240         (x): Likewise.
56241         (FAIL): Remove macro.
56242         (NO_INLINE): Likewise.
56243         (fn): Use match function instead of strstr.
56244         * debug/tst-backtrace4.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.
56250         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56251         (ret): Remove variable.
56252         (x): Likewise.
56253         (FAIL): Remove macro.
56254         (NO_INLINE): Likewise.
56255         (handle_signal): Use match function instead of strstr.
56257 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56259         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56261 2013-01-23  David S. Miller  <davem@davemloft.net>
56263         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56264         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56265         argument of CAS if possible.
56266         * sysdeps/sparc/sparc64/bits/atomic.h
56267         (__arch_compare_and_exchange_val_32_acq): Likewise.
56268         (__arch_compare_and_exchange_val_64_acq): Likewise.
56270 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56272         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56273         * sysdeps/posix/ulimit.c: ... this.
56274         Include <limits.h>.
56275         * sysdeps/unix/bsd/ulimit.c: Remove file.
56277 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56279         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56280         (LDFLAGS-tst-array5): Likewise.
56282 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56284         [BZ #15036]
56285         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56286         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56287         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56288         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56290 2013-01-21  David S. Miller  <davem@davemloft.net>
56292         * sysdeps/sparc/backtrace.c: New file.
56293         * sysdeps/sparc/sparc32/backtrace.h: New file.
56294         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56295         * sysdeps/sparc/sparc64/backtrace.h: New file.
56296         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56297         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56298         -funwind-tables.
56300 2013-01-21  Andreas Schwab  <schwab@suse.de>
56302         [BZ #15020]
56303         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56304         closed its stdout.
56306 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56309         "mpa2.h".
56310         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56312 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56313             Mark Mitchell  <mark@codesourcery.com>
56314             Tom de Vries  <tom@codesourcery.com>
56315             Paul Pluzhnikov  <ppluzhnikov@google.com>
56317         * debug/tst-backtrace2.c: New file.
56318         * debug/tst-backtrace3.c: Likewise.
56319         * debug/tst-backtrace4.c: Likewise.
56320         * debug/tst-backtrace5.c: Likewise.
56321         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56322         (CFLAGS-tst-backtrace3.c): Likewise.
56323         (CFLAGS-tst-backtrace4.c): Likewise.
56324         (CFLAGS-tst-backtrace5.c): Likewise.
56325         (LDFLAGS-tst-backtrace2): Likewise.
56326         (LDFLAGS-tst-backtrace3): Likewise.
56327         (LDFLAGS-tst-backtrace4): Likewise.
56328         (LDFLAGS-tst-backtrace5): Likewise.
56329         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56330         tst-backtrace4 and tst-backtrace5.
56332 2013-01-18  Anton Blanchard  <anton@samba.org>
56333             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56335         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56336         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56337         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56338         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56340         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56341         "+r" and remove output regs list as redundant.  Add explicit inline
56342         asm to specify register of return val to work around compiler codegen
56343         bug.  Remove (int) cast on return value.  Add return type parameter to
56344         use in macro so that this macro does not truncate return value for
56345         64-bit values.
56346         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56347         pass to INTERNAL_VSYSCALL_NCS.
56348         (INLINE_VSYSCALL): Add 'long int' as return type to
56349         INTERNAL_VSYSCALL_NCS macro invocation.
56350         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56351         INTERNAL_VSYSCALL_NCS macro invocation.
56352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56354 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56356         [BZ #14496]
56357         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56358         Fix application of SIMD FP exception mask.
56360         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56361         mp_no from a power of two.
56362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56363         __mpexp_twomm1.  Use __pow_mp.
56365         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56366         multiplication.
56368 2013-01-17  David S. Miller  <davem@davemloft.net>
56370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56372 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56374         [BZ #15023]
56375         * include/complex.h: Condition contents on [!_COMPLEX_H].
56376         (__kernel_casinhf): New prototype.
56377         (__kernel_casinh): Likewise.
56378         (__kernel_casinhl): Likewise.
56379         * math/Makefile (libm_calls): Add k_casinh.
56380         * math/k_casinh.c: New file.
56381         * math/k_casinhf.c: Likewise.
56382         * math/k_casinhl.c: Likewise.
56383         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56384         finite nonzero arguments.
56385         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56386         finite nonzero arguments.
56387         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56388         finite nonzero arguments.
56389         * math/s_casinh.c: Do not include <float.h>.
56390         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56391         * math/s_casinhf.c: Do not include <float.h>.
56392         (__casinhf): Move code for finite nonzero arguments to
56393         k_casinhf.c.
56394         * math/s_casinhl.c: Do not include <float.h>.
56395         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56396         redefine.
56397         (__casinhl): Move code for finite nonzero arguments to
56398         k_casinhl.c.
56399         * math/libm-test.inc (cacos_test): Add more tests.
56400         * sysdeps/i386/fpu/libm-test-ulps: Update.
56401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56403 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56405         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56406         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56407         [!HAVE_MREMAP]: Remove [defined linux] case.
56408         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56410 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56412         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56414 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56416         * elf/elf.h (R_386_SIZE32): New relocation.
56417         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56418         R_386_SIZE32.
56419         (elf_machine_rela): Likewise.
56420         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56421         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56423 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56425         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56426         (FP_FAST_FMA): Do not define.
56427         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56428         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56429         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56430         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56431         !_SOFT_FLOAT]: Likewise.
56432         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56433         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56434         value.
56435         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56436         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56437         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56438         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56439         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56440         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56441         file.
56443 2013-01-16  Andreas Schwab  <schwab@suse.de>
56445         [BZ #14327]
56446         * include/stdlib.h (__mktemp): Add declaration.
56447         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56448         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56450 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56452         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56453         definitions.
56454         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56455         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56456         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56457         definitions here.
56458         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56459         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56460         definitions.
56461         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56462         and ONE.
56463         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56464         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56465         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56466         definitions.
56467         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56468         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56469         definitions.
56470         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56472         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56474 2013-01-15  David S. Miller  <davem@davemloft.net>
56476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56477         trunc{,f} to libm-sysdep_routes.
56478         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56480         file.
56481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56483         file.
56484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56485         file.
56486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56488         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56489         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56490         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56491         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56492         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56493         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56496         nearbyint{,f} to libm-sysdep_routes.
56497         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56499         New file.
56500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56501         file.
56502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56503         New file.
56504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56505         file.
56506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56508         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56509         file.
56510         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56511         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56512         file.
56513         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56514         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56515         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56517         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56518         libc_feholdexcept and libc_fesetenv.
56520 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56522         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56524 2013-01-14  David S. Miller  <davem@davemloft.net>
56526         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56527         (SPARC_ASM_VIS2_IFUNC): Likewise.
56528         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56530         use of 'siam' instruction.
56531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56532         Likewise.
56533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56534         Likewise.
56535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56536         Likewise.
56537         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56538         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56539         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56540         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56542         file.
56543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56544         file.
56545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56546         file.
56547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56548         file.
56549         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56552         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56554         new VIS2 routines.
56555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56558         Likewise.
56559         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56560         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56561         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56562         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56564         routines to libm-sysdep_routines.
56565         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56568         fdim/fdimf to libm-sysdep_routines.
56569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56570         file.
56571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
56573         file.
56574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
56575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
56576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
56577         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
56578         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
56579         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
56580         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
56582 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56584         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
56585         to optimize copies.
56587         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
56588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
56592         local variable MPTWO.
56593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56594         Likewise.
56596 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56598         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
56599         GLOB_NOESCAPE.
56601 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56603         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
56605 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
56607         * manual/pattern.texi (glob_t): Document gl_flags.
56608         (glob64_t): Likewise.
56610 2013-01-11  David S. Miller  <davem@davemloft.net>
56612         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
56613         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
56614         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
56615         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
56616         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
56617         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
56618         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
56619         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
56620         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
56621         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
56622         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
56623         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
56624         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
56626         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56627         sparc V9 rather than using V8 code.
56628         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56629         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56631         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
56632         Move to...
56633         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
56634         Here.
56636 2013-01-11  Roland McGrath  <roland@hack.frob.com>
56638         [BZ #14941]
56639         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
56640         not in the main loop.
56641         * configure: Regenerated.
56643 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
56645         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
56646         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
56647         to just #else.
56648         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
56649         [!__GLIBC_HAVE_LONG_LONG] case.
56650         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
56651         condition to just #else.
56652         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
56653         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
56654         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
56655         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
56656         unconditional.
56657         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
56658         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56659         #elif condition to just #else.
56660         * sysdeps/unix/sysv/linux/sys/sysmacros.h
56661         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
56662         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
56663         #elif condition to just #else.
56665 2013-01-11  Steve Ellcey  <sellcey@mips.com>
56667         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
56668         (EF_MIPS_ARCH_64): Fix value.
56669         (EF_MIPS_ARCH_32R2): New.
56670         (EF_MIPS_ARCH_64R2): New.
56672 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
56674         * Makeconfig (+link-pie-before-libc): New.
56675         (+link-pie-after-libc): Likewise.
56676         (+link-pie-tests): Likewise.
56677         (+link-pie): Rewritten.
56678         (link-before-libc): Remove $(config-LDFLAGS).
56679         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
56680         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
56681         (config-LDFLAGS): Renamed to ...
56682         (rtld-LDFLAGS): This.
56683         (rtld-tests-LDFLAGS): New macro.
56684         (link-libc-rpath-link): Likewise.
56685         (link-libc-tests-rpath-link): Likewise.
56686         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
56687         (link-libc): Prepand $(link-libc-rpath-link).
56688         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
56689         (test-program-prefix): New macro.
56690         (test-via-rtld-prefix): Likewise.
56691         (test-program-cmd): Likewise.
56692         (host-test-program-cmd): Likewise.
56693         * Makefile ($(common-objpfx)testrun.sh): Replace
56694         $(run-program-prefix) with $(test-program-prefix).
56695         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
56696         $(rtld-LDFLAGS).
56697         ($(common-objpfx)shlib.lds): Likewise.
56698         (build-module-helper): Likewise.
56699         ($(common-objpfx)format.lds): Likewise.
56700         * Rules (binaries-pie-tests): New.
56701         (binaries-pie-notests): Likewise.
56702         (binaries-pie): Rewritten.
56703         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
56704         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
56705         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
56706         (make-test-out): Replace $(host-built-program-cmd) with
56707         $(host-test-program-cmd).
56708         * config.make.in (build-hardcoded-path-in-tests): New variable.
56709         * configure.in (--enable-hardcoded-path-in-tests): New configure
56710         option.
56711         (hardcoded_path_in_tests): New AC_SUBST.
56712         * configure: Regenerated.
56713         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
56714         $(built-program-cmd) with $(test-program-cmd).
56715         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
56716         (test_program_cmd): This.
56717         * elf/Makefile ($(objpfx)order.out): Run test with
56718         $(test-program-prefix).
56719         ($(objpfx)order2.out): Likewise.
56720         ($(objpfx)tst-initorder.out): Likewise.
56721         ($(objpfx)tst-initorder2.out): Likewise.
56722         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
56723         $(test-program-cmd).
56724         ($(objpfx)tst-array1-static.out): Likewise.
56725         ($(objpfx)tst-array2.out): Likewise.
56726         ($(objpfx)tst-array3.out): Likewise.
56727         ($(objpfx)tst-array4.out): Likewise.
56728         ($(objpfx)tst-array5.out): Likewise.
56729         ($(objpfx)tst-array5-static.out): Likewise.
56730         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
56731         $(test-program-cmd).
56732         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
56733         $(run-program-prefix) with $(test-program-prefix).
56734         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
56735         (test_program_prefix): This.
56736         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
56737         $(run-program-prefix) with $(test-program-prefix).
56738         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
56739         (test_program_prefix): This.
56740         * iconvdata/tst-tables.sh: Likewise.
56741         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
56742         $(run-program-prefix) with $(test-program-prefix).
56743         ($(objpfx)tst-translit.out): Likewise.
56744         ($(objpfx)tst-gettext2.out): Likewise.
56745         ($(objpfx)tst-gettext4.out): Likewise.
56746         ($(objpfx)tst-gettext6.out): Likewise.
56747         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
56748         (test_program_prefix): This.
56749         * intl/tst-gettext2.sh: Likewise.
56750         * intl/tst-gettext4.sh  Likewise.
56751         * intl/tst-gettext6.sh: Likewise.
56752         * intl/tst-translit.sh: Likewise.
56753         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
56754         with $(test-program-cmd).
56755         * libio/Makefile ($(objpfx)test-freopen.out): Replace
56756         $(run-program-prefix) with $(test-program-prefix).
56757         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56758         (test_program_prefix): This.
56759         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56760         $(run-program-prefix) with $(test-program-prefix).
56761         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56762         (test_program_prefix): This.
56763         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56764         * posix/Makefile ($(objpfx)globtest.out): Replace
56765         $(run-via-rtld-prefix) and $(test-wrapper) with
56766         $(test-program-prefix) and $(test-via-rtld-prefix).
56767         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56768         $(test-program-prefix).
56769         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56770         $(host-test-program-cmd).
56771         (tst-spawn-ARGS): Likewise.
56772         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56773         $(test-program-prefix).
56774         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56775         (test_via_rtld_prefix): This.
56776         (test_wrapper): Renamed to ...
56777         (test_program_prefix): This.
56778         (run_program_prefix): Replaced by test_program_prefix.
56779         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56780         (test_program_prefix): This.
56781         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56782         with $(host-test-program-cmd).
56783         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56784         $(run-program-prefix) with $(test-program-prefix).
56785         ($(objpfx)tst-printf.out): Likewise.
56786         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56787         $(test-program-cmd).
56788         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56789         (test_program_prefix): This.
56790         * stdio-common/tst-unbputc.sh: Likewise.
56791         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56792         $(run-program-prefix) with $(test-program-prefix).
56793         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56794         (test_program_prefix): This.
56795         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56796         $(built-program-cmd) with $(test-program-cmd).
56798 2013-01-11  Andreas Jaeger  <aj@suse.de>
56800         [BZ #15003]
56801         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56802         value. Sync with Linux 3.7.
56804 2013-01-10  David S. Miller  <davem@davemloft.net>
56806         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56807         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56808         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56810 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56812         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56813         never set.
56814         * configure: Regenerated.
56816 2013-01-10  David S. Miller  <davem@davemloft.net>
56818         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56819         sparc V9 rather than using V8 code.
56820         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56821         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56823 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56825         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56826         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56827         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56828         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56829         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56830         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56831         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56832         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56833         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56834         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56835         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56836         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56837         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56838         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56839         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56840         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56841         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56842         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56843         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56844         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56845         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56846         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56847         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56848         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56849         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56850         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56851         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56853 2013-01-10  David S. Miller  <davem@davemloft.net>
56855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56857 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56859         * posix/Makefile (tests-static): New variable.
56860         (tests): Add $(tests-static).
56861         (tst-exec-static-ARGS): New variable.
56862         (tst-spawn-static-ARGS): Likewise.
56863         * posix/tst-exec-static.c: New file.
56864         * posix/tst-spawn-static.c: Likewise.
56865         * posix/tst-exec.c: Support run directly.
56866         * posix/tst-spawn.c: Likewise.
56868 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56870         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56871         long.
56872         * math/bits/mathcalls.h (llrint): Likewise.
56873         (llround): Likewise.
56874         * stdlib/stdlib.h (struct drand48_data): Likewise.
56875         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56876         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56877         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56878         Likewise.
56879         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56880         Likewise.
56881         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56882         (elf_greg_t): Likewise.
56883         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56884         (__jmp_buf): Likewise.
56885         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56886         definitions.
56887         (llrint): Likewise, for all definitions.
56888         (llrintl): Likewise.
56890         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56891         Remove [__GNUC__] condition.
56892         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56893         condition to just [__USE_ISOC99].
56894         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56896 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56898         [BZ #14200]
56899         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56900         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56901         defined.
56902         (_POSIX_V6_ILP32_OFF32): Likewise.
56903         (_XBS5_ILP32_OFF32): Likewise.
56904         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56905         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56907 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56909         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56912         doubles __mpexp_twomm1.  Adjust usage.
56913         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56914         Remove.
56916 2013-01-10  Andreas Schwab  <schwab@suse.de>
56918         [BZ #14964]
56919         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56920         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56922 2013-01-09  David S. Miller  <davem@davemloft.net>
56924         [BZ #15003]
56925         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56926         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56927         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56928         (TCP_FASTOPEN): Define.
56929         (tcp_repair_opt): New structure.
56930         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56931         enum values.
56932         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56933         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56934         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56935         (tcp_cookie_transactions): New structure.
56937 2013-01-09  Anton Blanchard  <anton@samba.org>
56939         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56940         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56941         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56942         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56944 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56946         * include/features.h (__USE_ANSI): Remove.
56948 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56950         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56952         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56954 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56956         * sysdeps/s390/fpu/libm-test-ulps: Update.
56958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56960         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56961         (__acr): Likewise.
56962         (__cpy): Likewise.
56963         (norm): Likewise.
56964         (denorm): Likewise.
56965         (__mp_dbl): Likewise.
56966         (__dbl_mp): Likewise.
56967         (add_magnitudes): Likewise.
56968         (sub_magnitudes): Likewise.
56969         (__add): Likewise.
56970         (__sub): Likewise.
56971         (__mul): Likewise.
56972         (__inv): Likewise.
56973         (__dvd): Likewise.
56974         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56975         (__acr): Likewise.
56976         (__cpy): Likewise.
56977         (norm): Likewise.
56978         (denorm): Likewise.
56979         (__mp_dbl): Likewise.
56980         (__dbl_mp): Likewise.
56981         (add_magnitudes): Likewise.
56982         (sub_magnitudes): Likewise.
56983         (__add): Likewise.
56984         (__sub): Likewise.
56985         (__mul): Likewise.
56986         (__inv): Likewise.
56987         (__dvd): Likewise.
56988         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56989         (__acr): Likewise.
56990         (__cpy): Likewise.
56991         (norm): Likewise.
56992         (denorm): Likewise.
56993         (__mp_dbl): Likewise.
56994         (__dbl_mp): Likewise.
56995         (add_magnitudes): Likewise.
56996         (sub_magnitudes): Likewise.
56997         (__add): Likewise.
56998         (__sub): Likewise.
56999         (__mul): Likewise.
57000         (__inv): Likewise.
57001         (__dvd): Likewise.
57003 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57005         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57006         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57007         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57008         2 && __USE_EXTERN_INLINES]: Likewise.
57010 2013-01-08  Andreas Jaeger  <aj@suse.de>
57012         [BZ# 14985]
57013         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57014         Remove.
57015         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57016         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57018 2013-01-07  Anton Blanchard  <anton@samba.org>
57020         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57021         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57022         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57023         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57024         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57025         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57026         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57027         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57029         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57030         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57031         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57032         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57033         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57034         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57035         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57036         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57037         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57038         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57039         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57040         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57041         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57042         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57043         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57044         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57045         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57046         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57047         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57048         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57049         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57050         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57052         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57053         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57054         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57055         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57056         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57057         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57058         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57059         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57060         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57061         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57062         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57064 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57066         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57067         (__MALLOC_PMT): Likewise.
57068         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57069         [__GNUC__], only on [_LIBC].
57070         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57071         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57072         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57073         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57074         forward declaration.
57075         (realloc_hook_ini): Likewise.
57076         (memalign_hook_ini): Likewise.
57077         (__libc_memalign): Do not use __MALLOC_PMT in variable
57078         declaration.
57079         (__libc_valloc): Likewise.
57080         (__libc_pvalloc): Likewise.
57081         (__libc_calloc): Likewise.
57082         (__posix_memalign): Likewise.
57084         [BZ #14996]
57085         * math/s_casinh.c: Include <float.h>.
57086         (__casinh): Do not do computation with squaring and square root
57087         for large arguments.
57088         * math/s_casinhf.c: Include <float.h>.
57089         (__casinhf): Do not do computation with squaring and square root
57090         for large arguments.
57091         * math/s_casinhl.c: Include <float.h>.
57092         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57093         (__casinhl): Do not do computation with squaring and square root
57094         for large arguments.
57095         * math/libm-test.inc (casin_test): Add more tests.
57096         (casinh_test): Likewise.
57097         * sysdeps/i386/fpu/libm-test-ulps: Update.
57098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57100 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57102         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57103         (__x86_64_raw_data_cache_size): Likewise.
57104         (__x86_64_data_cache_size_half): Likewise.
57105         (__x86_64_raw_data_cache_size_half): Likewise.
57106         (__x86_64_shared_cache_size): Likewise.
57107         (__x86_64_raw_shared_cache_size): Likewise.
57108         (__x86_64_shared_cache_size_half): Likewise.
57109         (__x86_64_raw_shared_cache_size_half): Likewise.
57110         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57111         to ...
57112         (__x86_data_cache_size): This.
57113         (__x86_64_raw_data_cache_size): Renamed to ...
57114         (__x86_raw_data_cache_size): This.
57115         (__x86_64_data_cache_size_half): Renamed to ...
57116         (__x86_data_cache_size_half): This.
57117         (__x86_64_raw_data_cache_size_half): Renamed to ...
57118         (__x86_raw_data_cache_size_half): This.
57119         (__x86_64_shared_cache_size): Renamed to ...
57120         (__x86_shared_cache_size): This.
57121         (__x86_64_raw_shared_cache_size): Renamed to ...
57122         (__x86_raw_shared_cache_size): This.
57123         (__x86_64_shared_cache_size_half): Renamed to ...
57124         (__x86_shared_cache_size_half): This.
57125         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57126         (__x86_raw_shared_cache_size_half): This.
57127         * sysdeps/x86_64/memcpy.S: Updated.
57128         * sysdeps/x86_64/memset.S: Likewise.
57129         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57130         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57131         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57133 2013-01-04  David S. Miller  <davem@davemloft.net>
57135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57137 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57139         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57140         1 to avoid redefinition warning.
57141         (__USE_GNU): Don't define.
57142         (init_signaling_nan): Protoize.
57144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57146 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57148         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57150         (__cpymn): Likewise.
57151         (norm): Remove commented code.
57152         (denorm): Likewise.
57153         (__mp_dbl): Likewise.
57154         (__inv): Likewise.
57155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57156         (__cpymn): Likewise.
57157         (norm): Remove commented code.
57158         (denorm): Likewise.
57159         (__mp_dbl): Likewise.
57160         (__inv): Likewise.
57162         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57163         mp_no value for 1.0 and 2.0.
57164         (norm): Use RADIXI instead of radixi.d.
57165         (denorm): Likewise.
57166         (__mul): Use 0.0 instead of zero.d.
57167         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57168         mp_no value for 1.0 and 2.0.
57169         (norm): Use RADIXI instead of radixi.d.
57170         (denorm): Likewise.
57171         (__mul): Use 0.0 instead of zero.d.
57173 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57175         [BZ #14994]
57176         * math/s_casinh.c (__casinh): Reduce finite argument to first
57177         quadrant then set signs of results at the end.
57178         * math/s_casinhf.c (__casinhf): Likewise.
57179         * math/s_casinhl.c (__casinhl): Likewise.
57180         * math/libm-test.inc (casin_test): Add more tests.
57181         (casinh_test): Likewise.
57182         * sysdeps/i386/fpu/libm-test-ulps: Update.
57183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57185 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57187         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57189         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57191         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57192         declarations.
57193         (denorm): Likewise.
57194         (__mp_dbl): Likewise.
57195         (__inv): Likewise.
57197         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57198         and adjust the header comment.
57200         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57201         variable name from declaration.
57203 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57205         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57206         Initialize COMMON_CPUID_INDEX_7 element.
57207         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57208         (CPUID_RTM): Likewise.
57209         (HAS_RTM): Likewise.
57210         (COMMON_CPUID_INDEX_7): New enum.
57212 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57214         [BZ #14981]
57215         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57216         size is zero, record memory as freed.
57218 2013-01-03  Andreas Jaeger  <aj@suse.de>
57220         * po/ia.po: Add new Interlingua translation.
57222 2012-01-03  Allan McRae  <allan@archlinux.org>
57224         * locale/programs/localedef.c: Fix description of '--posix' flag.
57226 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57228         * NEWS: Update dates in second copyright notice.
57229         * README: Update copyright dates in example.
57230         * manual/libc.texinfo: Update copyright dates.
57231         * scripts/test-installation.pl: Update copyright date in --version
57232         output.
57234         * hurd/ctty-input.c: Fix copyright notice formatting.
57235         * hurd/ctty-output.c: Likewise.
57236         * hurd/dtable.c: Likewise.
57237         * hurd/hurd-raise.c: Likewise.
57238         * hurd/hurdprio.c: Likewise.
57239         * hurd/msgportdemux.c: Likewise.
57240         * misc/sys/file.h: Likewise.
57241         * misc/sys/ioctl.h: Likewise.
57242         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57243         * sysdeps/mach/hurd/chdir.c: Likewise.
57244         * sysdeps/mach/hurd/fchdir.c: Likewise.
57245         * sysdeps/mach/hurd/rename.c: Likewise.
57246         * sysdeps/mach/hurd/rmdir.c: Likewise.
57247         * sysdeps/mach/hurd/seekdir.c: Likewise.
57248         * sysdeps/mach/hurd/setsid.c: Likewise.
57249         * sysdeps/posix/wait3.c: Likewise.
57251         * All files with FSF copyright notices: Update copyright dates
57252         using scripts/update-copyrights.
57253         * intl/plural.c: Regenerated.
57254         * locale/programs/charmap-kw.h: Likewise.
57255         * locale/programs/locfile-kw.h: Likewise.
57257 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57259         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57260         four values.
57262         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57263         calculation loop and add branch prediction.
57265         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57266         check access beyond bounds of m1np.
57268         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57269         MPTWO.
57270         (__inv): Remove local variable MPTWO to use the global
57271         constant.
57272         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57273         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57274         variable MPTWO.
57275         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57276         MP3HALFS static const.
57278 2013-01-01  David S. Miller  <davem@davemloft.net>
57280         * po/ca.po: Update from translation team.
57282 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57284         * scripts/update-copyrights: New file.
57285         * Makeconfig: Reformat copyright notice.
57286         * ctype/ctype.h: Likewise.
57287         * debug/swprintf_chk.c: Likewise.
57288         * elf/dl-cache.c: Likewise.
57289         * elf/dl-debug.c: Likewise.
57290         * elf/dl-object.c: Likewise.
57291         * grp/initgroups.c: Likewise.
57292         * hurd/Makefile: Likewise.
57293         * hurd/hurd/signal.h: Likewise.
57294         * hurd/hurdfault.c: Likewise.
57295         * hurd/hurdioctl.c: Likewise.
57296         * hurd/hurdlookup.c: Likewise.
57297         * hurd/intr-msg.c: Likewise.
57298         * iconv/gconv_open.c: Likewise.
57299         * libio/swprintf.c: Likewise.
57300         * locale/lc-ctype.c: Likewise.
57301         * locale/nl_langinfo.c: Likewise.
57302         * mach/Machrules: Likewise.
57303         * mach/Makefile: Likewise.
57304         * malloc/obstack.h: Likewise.
57305         * manual/Makefile: Likewise.
57306         * manual/tsort.awk: Likewise.
57307         * misc/bits/stab.def: Likewise.
57308         * nis/nis_print_group_entry.c: Likewise.
57309         * nis/nis_table.c: Likewise.
57310         * nis/nss_compat/compat-pwd.c: Likewise.
57311         * nis/nss_compat/compat-spwd.c: Likewise.
57312         * po/Makefile: Likewise.
57313         * posix/fnmatch.c: Likewise.
57314         * posix/regex.h: Likewise.
57315         * resolv/Makefile: Likewise.
57316         * resolv/nss_dns/dns-network.c: Likewise.
57317         * resolv/res_hconf.c: Likewise.
57318         * scripts/gen-sorted.awk: Likewise.
57319         * soft-fp/soft-fp.h: Likewise.
57320         * stdio-common/printf.h: Likewise.
57321         * stdlib/monetary.h: Likewise.
57322         * stdlib/random.c: Likewise.
57323         * stdlib/random_r.c: Likewise.
57324         * sysdeps/generic/Makefile: Likewise.
57325         * sysdeps/gnu/Makefile: Likewise.
57326         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57327         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57328         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57329         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57330         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57331         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57332         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57333         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57334         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57335         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57336         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57337         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57338         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57339         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57340         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57341         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57342         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57343         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57344         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57345         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57346         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57347         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57348         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57349         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57350         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57351         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57352         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57353         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57354         * sysdeps/mach/hurd/errnos.awk: Likewise.
57355         * sysdeps/mach/hurd/fork.c: Likewise.
57356         * sysdeps/mach/hurd/getcwd.c: Likewise.
57357         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57358         * sysdeps/mach/hurd/mmap.c: Likewise.
57359         * sysdeps/mach/hurd/utimes.c: Likewise.
57360         * sysdeps/mach/hurd/xmknod.c: Likewise.
57361         * sysdeps/posix/profil.c: Likewise.
57362         * sysdeps/posix/readdir_r.c: Likewise.
57363         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57364         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57365         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57366         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57368         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57369         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57370         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57371         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57372         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57373         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57374         * sysdeps/pthread/lio_listio.c: Likewise.
57375         * sysdeps/sparc/dl-procinfo.h: Likewise.
57376         * sysdeps/unix/i386/sysdep.S: Likewise.
57377         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57378         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57379         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57380         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57382         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57383         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57384         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57385         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57386         * sysdeps/wordsize-32/divdi3.c: Likewise.
57387         * time/sys/time.h: Likewise.
57388         * wcsmbs/Makefile: Likewise.
57390 2013-01-01  David S. Miller  <davem@davemloft.net>
57392         * po/fr.po: Update from translation team.
57394         * catgets/gencat.c: Update copyright year.
57395         * csu/version.c: Likewise.
57396         * debug/catchsegv.sh: Likewise.
57397         * debug/pcprofiledump.c: Likewise.
57398         * debug/xtrace.sh: Likewise.
57399         * elf/ldconfig.c: Likewise.
57400         * elf/ldd.bash.in: Likewise.
57401         * elf/pldd.c: Likewise.
57402         * elf/sotruss.ksh: Likewise.
57403         * elf/sprof.c: Likewise.
57404         * iconv/iconv_prog.c: Likewise.
57405         * iconv/iconvconfig.c: Likewise.
57406         * locale/programs/locale.c: Likewise.
57407         * locale/programs/localedef.c: Likewise.
57408         * login/programs/pt_chown.c: Likewise.
57409         * malloc/memusage.sh: Likewise.
57410         * malloc/memusagestat.c: Likewise.
57411         * malloc/mtrace.pl: Likewise.
57412         * nscd/nscd.c: Likewise.
57413         * nss/getent.c: Likewise.
57414         * nss/makedb.c: Likewise.
57415         * posix/getconf.c: Likewise.
57417 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57419         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57420         numbers.
57422 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57424         * math/bits/mathcalls.h (modf): Use __nonnull.
57426 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57428         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57429         (split): Use macro CN instead of the bare value.
57430         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57431         could be used.
57432         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57433         instead of the bare value.
57434         (power1): Likewise.
57436 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57438         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57439         __ATAN_TWOM.
57440         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57442         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57443         their values.
57444         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57445         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57446         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57447         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57449 2012-12-28  Andreas Jaeger  <aj@suse.de>
57451         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57452         values are from Linux 3.7.
57454         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57455         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57457 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57459         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57460         TRUE case.
57462         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57463         (norm): Likewise.
57464         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57465         variables with preprocessor constants.
57466         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57467         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57468         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57470 2012-12-27  Bruno Haible  <bruno@clisp.org>
57472         [BZ #14317]
57473         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57474         only if needed.
57476 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57478         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57479         and use variable directly.
57480         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57482         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57483         MPONE.
57484         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57485         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57486         variable MPONE.
57487         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57488         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57489         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57490         include directive.  Remove local variable MPONE.
57491         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57492         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57493         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57495 2012-12-25  David S. Miller  <davem@davemloft.net>
57497         * version.h (RELEASE): Set to "development".
57498         (VERSION): Set to "2.17.90".
57499         * NEWS: Add 2.18 section.
57501 2012-12-21  David S. Miller  <davem@davemloft.net>
57503         * po/hr.po: Update from translation team.
57505 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57507         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57509 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57511         * NEWS:  Mention new memcpy for MIPS.
57513 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57515         * manual/contrib.texi (Contributors): Spelling correction.
57517 2012-12-15  David S. Miller  <davem@davemloft.net>
57519         * po/ru.po: Update from translation team.
57521 2012-12-13  David S. Miller  <davem@davemloft.net>
57523         * NEWS: Mention IFUNC testsuite enhancements.
57525         * po/pl.po: Update from translation team.
57526         * po/bg.po: Likewise.
57528         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57529         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57531 2012-12-11  David S. Miller  <davem@davemloft.net>
57533         * po/sv.po: Update from translation team.
57535         * po/vi.po: Update from translation team.
57537         * po/cs.po: Update from translation team.
57539         * po/de.po: Update from translation team.
57540         * po/eo.po: Likewise.
57541         * po/nl.po: Likewise.
57543 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57545         [BZ #14246]
57546         * manual/argp.texi (Argp Helper Functions): Move node to follow
57547         Argp Parsing State.
57549         [BZ #14872]
57550         * manual/conf.texi (Limits on File System Capacity): Mention if
57551         terminating null is included in the max size.
57553 2012-12-10  Andreas Jaeger  <aj@suse.de>
57555         * po/cs.po: Update from translation team.
57557 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57559         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57560         void pointer and cast to uintptr_t.
57561         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57562         path.
57563         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57564         * sysdeps/s390/s390-64/memset.S: Likewise.
57566 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57568         [BZ #14833]
57569         * menual/message.texi (Message Translation): Fix typos.
57570         (Helper programs for gettext): Likewise.
57572 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
57574         [BZ #14898]
57575         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
57576         Change to -1.
57578 2012-12-07  David S. Miller  <davem@davemloft.net>
57580         * po/libc.pot: Update.
57582 2012-12-07  Richard Henderson  <rth@redhat.com>
57584         [BZ #10114]
57585         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
57586         normal/normal case to before the switch.
57587         (_FP_DIV): Likewise.
57589 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
57590             Mike Frysinger  <vapier@gentoo.org>
57592         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
57593         check for __NR_fadvise64_64.
57595 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
57597         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
57598         0, not just to plain "0" as a statement.
57599         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
57600         with cw.
57602 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
57604         * NEWS: Use sourceware.org in Bugzilla URL.
57606 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
57609         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57611         * stdio-common/tst-put-error.c (do_test): Add newline to the
57612         padded test to ensure flush.
57614 2012-12-05  Jeff Law  <law@redhat.com>
57616         * sunrpc/etc.rpc (fedfs_admin): Add entry.
57618 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
57620         * README: Don't refer to ports add-on as distributed separately.
57621         Mention AArch64 in list of systems supported in the ports add-on.
57623         * LICENSES: Add more non-FSF copyright and license notices.
57625         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
57626         ((unused)).
57628         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
57630         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
57631         10000 as width of padded output.
57633 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57635         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
57637         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
57638         variable LX with __attribute__ ((unused)).
57639         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57640         Likewise.
57641         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57642         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57643         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
57644         with __attribute__ ((unused)).
57646 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
57648         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
57650 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
57652         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
57653         (CFLAGS-nldbl-acos.c): New variable.
57654         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
57655         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
57656         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
57657         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
57658         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
57659         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
57660         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
57661         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
57662         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
57663         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
57664         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
57665         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
57666         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
57667         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
57668         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
57669         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
57670         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
57671         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
57672         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
57673         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
57674         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
57675         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
57676         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
57677         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
57678         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
57679         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
57680         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
57681         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
57682         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
57683         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
57684         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
57685         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
57686         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
57687         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
57688         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
57689         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
57690         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
57691         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
57692         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
57693         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
57694         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
57695         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
57696         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
57697         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
57698         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
57699         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
57700         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
57701         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
57702         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
57703         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
57704         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
57705         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
57706         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
57707         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
57708         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
57709         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
57710         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
57711         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
57712         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
57713         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
57714         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
57715         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
57716         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
57717         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
57718         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
57719         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
57720         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
57721         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
57722         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
57723         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
57724         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
57725         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
57726         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
57727         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
57728         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
57729         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
57730         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
57731         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
57732         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
57733         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
57734         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
57735         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
57736         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
57737         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
57738         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
57739         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
57740         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
57741         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
57742         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
57743         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
57744         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
57745         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
57746         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
57747         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
57748         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
57749         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
57750         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
57752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57753         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
57755         [BZ #14914]
57756         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
57757         whole low double instead of just low 47 bits when splitting values
57758         into two parts.
57760 2012-12-03  Allan McRae  <allan@archlinux.org>
57762         * manual/stdio.texi (Predefined Printf Handlers): Remove
57763         @hsep and @vsep usage.
57765 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57767         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57768         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57770 2012-12-03  Jeff Law  <law@redhat.com>
57772         * time/sys/time.h (settimeofday): Do not mark TV argument
57773         as __nonnull.
57775 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57777         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57778         when currently writing and seek to current position when not.
57779         * libio/Makefile (tests): Remove bug-fclose1.
57780         * libio/bug-fclose1.c: Delete.
57782 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57784         * manual/arith.texi (feenableexcept): Fix typo.
57785         (fedisableexcept): Likewise.
57787 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57789         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57790         second, differently-typed declaration, rather than a cast.
57792 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57794         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57795         * include/rpc/svc.h: ... here.
57797 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57799         [BZ #13013]
57800         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57801         depending n and resplen2 to catch cases where answer
57802         equals answerp2.
57804 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57806         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57807         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57809 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57811         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57813 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57815         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57817 2012-11-28  Jeff Law  <law@redhat.com>
57819         [BZ #13761]
57820         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57821         dataset_temporary.  Track alloca usage into alloca_used.
57822         If dataset is large allocate and release it via malloc/free.
57824 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57826         [BZ #14197]
57827         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57829 2012-11-28  David S. Miller  <davem@davemloft.net>
57831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57833 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57835         [BZ #14803]
57836         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57837         of pi/2 rounded to nearest to 64 bits.
57838         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57839         nearest to 64 bits.
57840         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57841         bits.
57843 2012-11-28  Jeff Law <law@redhat.com>
57844             Martin Osvald <mosvald@redhat.com>
57846         [BZ #14889]
57847         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57848         * sunrpc/svc.c: Include time.h.
57849         (__svc_accept_failed): New function.
57850         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57851         any reason other than EINTR, call __svc_accept_failed.
57852         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57853         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57855 2012-11-28  Andreas Schwab  <schwab@suse.de>
57857         * scripts/abilist.awk: Also handle indirect functions in .opd
57858         section.
57860 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57862         [BZ #13881]
57863         * sysdeps/x86/fpu/powl_helper.c: New file.
57864         * sysdeps/x86/fpu/Makefile: Likewise.
57865         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57866         (p3): New object.
57867         (__ieee754_powl): Use __powl_helper for finite arguments except
57868         integer exponents below 8.
57869         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57870         (p3): New object.
57871         (__ieee754_powl): Use __powl_helper for finite arguments except
57872         integer exponents below 8.
57873         * math/libm-test.inc (pow_test): Add more tests and enable some
57874         previously disabled tests.
57875         * sysdeps/i386/fpu/libm-test-ulps: Update.
57876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57878 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57879             Carlos O'Donell  <carlos_odonell@mentor.com>
57881         * nss/makedb.c (is_prime): Assert that input is odd and greater
57882         than 4.  Note that fact in a comment too.
57883         (next_prime): Add 4 to input.
57885 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57887         [BZ #11741]
57888         * libio/Makefile (tests): Add test case tst-fwrite-error.
57889         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57890         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57891         * libio/tst-fwrite-error.c: New test case.
57893 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57895         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57896         before casting to void *.
57897         * include/libc-internal.h (__pointer_type): New macro.
57898         (__integer_if_pointer_type_sub): Likewise.
57899         (__integer_if_pointer_type): Likewise.
57900         (cast_to_integer): Likewise.
57901         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57902         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57903         before casting to atomic64_t.
57904         (atomic_exchange_acq): Likewise.
57905         (__arch_exchange_and_add_body): Likewise.
57906         (__arch_add_body): Likewise.
57907         (atomic_add_negative): Likewise.
57908         (atomic_add_zero): Likewise.
57910 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57912         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57913         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57914         (add_fdes): Likewise.
57915         (linear_search_fdes): Likewise.
57916         (binary_search_unencoded_fdes): Likewise.
57918 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57920         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57922 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57924         * configure.in: Autodetect C++ header directories.
57925         * configure: Regenerated.
57927 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57929         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57931 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57935 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57937         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57938         LDBL_MANT_DIG == 106]: Disable some tests.
57939         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57940         Likewise.
57941         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57942         Likewise.
57944         [BZ #14871]
57945         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57946         input for small inputs.  Return +/- pi/2 for large inputs.
57947         * math/libm-test.inc (atan_test): Add more tests.
57949         * sysdeps/generic/unwind-dw2-fde-glibc.c
57950         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57951         __attribute__ ((unused)).
57953         [BZ #14645]
57954         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57955         x * y if x and y are nonzero and z is zero.
57957         [BZ #14811]
57958         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57959         nonzero exponents with absolute value below 0x1p-117 to +/-
57960         0x1p-117.
57962         [BZ #14869]
57963         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57964         up arguments below 2**-450, not just those below 2**-500.
57965         * math/libm-test.inc (hypot_test): Add another test.
57967         [BZ #14868]
57968         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57969         Return a+b for ratio over 2**120, not 2**60.
57970         * math/libm-test.inc (hypot_test): Add another test.
57972         * math/libm-test.inc (clog_test): Use
57973         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57974         (clog10_test): Likewise.
57976         [BZ #6778]
57977         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57979 2012-11-22  Andreas Schwab  <schwab@suse.de>
57981         * sysdeps/i386/fpu/libm-test-ulps: Update.
57983 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57985         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57986         printf output with newline.
57988 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57990         [BZ #14865]
57991         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57992         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57993         -z nodlopen, -z initfirst and -z execstack support.
57994         * configure: Regenerated.
57996         * elf/elf.h (DF_1_NODIRECT): New macro.
57997         (DF_1_IGNMULDEF): Likewise.
57998         (DF_1_NOKSYMS): Likewise.
57999         (DF_1_NOHDR): Likewise.
58000         (DF_1_EDITED): Likewise.
58001         (DF_1_NORELOC): Likewise.
58002         (DF_1_SYMINTPOSE): Likewise.
58003         (DF_1_GLOBAUDIT): Likewise.
58004         (DF_1_SINGLETON): Likewise.
58005         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58006         DT_1_SUPPORTED_MASK bits.
58007         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58009 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58011         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58013 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58015         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58016         macro.
58018         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58019         (sendmmsg): Move declarations...
58020         * socket/sys/socket.h: ... here.
58021         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58022         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58023         include it from...
58024         * socket/recvmmsg.c: ... this new file.
58025         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58026         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58027         definition of __sendmmsg hidden.
58028         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58029         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58030         Move ENOSYS stub into and include it from...
58031         * socket/sendmmsg.c: ... this new file.
58032         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58033         (sysdep_routines): Move recvmmsg and sendmmsg...
58034         * socket/Makefile (routines): ... here.
58035         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58036         (GLIBC_PRIVATE): Add __sendmmsg.
58037         * include/sys/socket.h (__sendmmsg): Add declarations.
58038         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58039         sendmmsg.
58041 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58043         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58044         variable I1 with __attribute__ ((unused)).
58045         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58047 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58049         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58050         DUMMY variables with __attribute__ ((unused)).
58052         * bits/byteswap.h: Include <bits/types.h>.
58053         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58055 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58057         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58058         string_t.  Do not manually set errno.
58059         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58060         length with __strnlen.  Make sure to both set errno and return it on
58061         failure.
58063 2012-11-19  David S. Miller  <davem@davemloft.net>
58065         With help from Joseph Myers.
58066         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58067         very large arguments properly.
58068         * math/libm-test.inc (atan_test): New tests.
58069         (atan2_test): New tests.
58070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58073 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58075         [BZ #14856]
58076         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58077         Define to 3.
58079         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58080         [POSIX] (EADDRNOTAVAIL): Likewise.
58081         [POSIX] (EAFNOSUPPORT): Likewise.
58082         [POSIX] (EALREADY): Likewise.
58083         [POSIX] (ECONNABORTED): Likewise.
58084         [POSIX] (ECONNREFUSED): Likewise.
58085         [POSIX] (ECONNRESET): Likewise.
58086         [POSIX] (EDESTADDRREQ): Likewise.
58087         [POSIX] (EDQUOT): Likewise.
58088         [POSIX] (EHOSTUNREACH): Likewise.
58089         [POSIX] (EIDRM): Likewise.
58090         [POSIX] (EISCONN): Likewise.
58091         [POSIX] (ELOOP): Likewise.
58092         [POSIX] (EMULTIHOP): Likewise.
58093         [POSIX] (ENETDOWN): Likewise.
58094         [POSIX] (ENETUNREACH): Likewise.
58095         [POSIX] (ENOBUFS): Likewise.
58096         [POSIX] (ENODATA): Likewise.
58097         [POSIX] (ENOLINK): Likewise.
58098         [POSIX] (ENOMSG): Likewise.
58099         [POSIX] (ENOPROTOOPT): Likewise.
58100         [POSIX] (ENOSR): Likewise.
58101         [POSIX] (ENOSTR): Likewise.
58102         [POSIX] (ENOTCONN): Likewise.
58103         [POSIX] (ENOTSOCK): Likewise.
58104         [POSIX] (EOPNOTSUPP): Likewise.
58105         [POSIX] (EOVERFLOW): Likewise.
58106         [POSIX] (EPROTO): Likewise.
58107         [POSIX] (EPROTONOSUPPORT): Likewise.
58108         [POSIX] (EPROTOTYPE): Likewise.
58109         [POSIX] (ESTALE): Likewise.
58110         [POSIX] (ETIME): Likewise.
58111         [POSIX] (ETXTBSY): Likewise.
58112         [POSIX] (EWOULDBLOCK): Likewise.
58113         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58114         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58115         [POSIX] (SEEK_CUR): Likewise.
58116         [POSIX] (SEEK_END): Likewise.
58117         [POSIX || UNIX98] (mode_t): Do not require.
58118         [POSIX] (off_t): Likewise.
58119         [POSIX] (pid_t): Likewise.
58120         [POSIX] (sys/stat.h): Do not allow header.
58121         [POSIX] (unistd.h): Likewise.
58122         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58123         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58124         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58125         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58126         require.
58127         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58128         sigevent): Specify elements.
58129         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58130         entry.
58131         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58132         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58134         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58135         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58136         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58137         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58138         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58139         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58140         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58141         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58142         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58143         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58144         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58145         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58146         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58147         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58148         Likewise.
58149         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58150         Likewise.
58151         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58152         Likewise.
58153         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58154         Likewise.
58155         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58156         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58157         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58158         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58159         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58160         Specify lower bound on value.
58161         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58162         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58163         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58164         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58165         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58166         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58167         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58168         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58169         value.
58170         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58171         as optional.
58172         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58173         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58174         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58175         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58176         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58177         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58178         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58179         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58180         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58181         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58182         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58183         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58184         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58185         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58186         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58187         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58188         entry.
58189         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58190         optional.
58191         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58192         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58193         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58194         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58195         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58196         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58197         Likewise.
58198         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58199         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58200         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58201         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58202         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58203         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58204         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58205         as optional.
58206         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58207         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58208         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58209         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58210         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58211         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58212         specify as optional.
58213         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58214         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58215         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58216         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58217         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58218         [XPG3] (NL_LANGMAX): Likewise.
58219         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58220         [POSIX || XPG3] (NL_NMAX): Likewise.
58221         [POSIX || XPG3] (NL_SETMAX): Likewise.
58222         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58223         [XPG3] (NZERO): Likewise.
58224         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58225         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58226         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58227         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58228         (REG_ERANGE): Expect.
58229         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58230         optional-constant.
58231         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58232         Use (void) in prototype.
58233         [POSIX] (*_t): Allow.
58234         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58235         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58236         (WRDE_BADVAL): Expect.
58238         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58239         expect.
58240         [XPG3 || XPG4] (O_RSYNC): Likewise.
58241         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58242         Likewise.
58243         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58244         [XPG3 || XPG4] (sigqueue): Likewise.
58245         [XPG3 || XPG4] (sigtimedwait): Likewise.
58246         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58247         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58248         [XPG3 || XPG4] (vsnprintf): Likewise.
58249         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58250         Likewise.
58251         [XPG3 || XPG4] (blksize_t): Likewise.
58252         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58253         Likewise.
58254         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58255         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58256         [XPG3 || XPG4] (struct itimerspec): Likewise.
58257         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58258         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58259         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58260         [XPG3 || XPG4] (clockid_t): Likewise.
58261         [XPG3 || XPG4] (timer_t): Likewise.
58262         [XPG3 || XPG4] (clock_getres): Likewise.
58263         [XPG3 || XPG4] (clock_gettime): Likewise.
58264         [XPG3 || XPG4] (clock_settime): Likewise.
58265         [XPG3 || XPG4] (nanosleep): Likewise.
58266         [XPG3 || XPG4] (timer_create): Likewise.
58267         [XPG3 || XPG4] (timer_delete): Likewise.
58268         [XPG3 || XPG4] (timer_gettime): Likewise.
58269         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58270         [XPG3 || XPG4] (timer_settime): Likewise.
58271         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58272         [XPG3 || XPG4] (getlogin_r): Likewise.
58273         [XPG3 || XPG4] (pread): Likewise.
58274         [XPG3 || XPG4] (pthread_atfork): Likewise.
58275         [XPG3 || XPG4] (pwrite): Likewise.
58277         [BZ #14835]
58278         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58279         <bits/siginfo.h>.
58281 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58283         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58284         finalizing MALLSTREAM.
58286         * sysdeps/mach/hurd/syncfs.c: New file.
58288 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58290         [BZ #14719]
58291         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58292         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58293         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58294         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58295         (_nss_dns_gethostbyname4_r): Likewise.
58296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58297         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58299 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58301         [BZ #13763]
58302         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58304 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58306         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58307         * elf/cache.c (print_entry): Print ",AArch64" for
58308         FLAG_AARCH64_LIB64
58310         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58311         * elf/cache.c (print_entry): Print ",hard-float" for
58312         FLAG_ARM_LIBHF.
58314 2012-11-18  David S. Miller  <davem@davemloft.net>
58316         With help from Joseph Myers.
58317         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58318         cutoff to 2**-13.
58319         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58320         cutoff to 2**-25.
58321         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58322         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58323         small.
58324         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58325         * math/libm-test.inc (y0_test): New tests.
58326         (y1_test): New tests.
58327         * sysdeps/i386/fpu/libm-test-ulps: Update.
58328         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58331 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58333         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58334         64-bit targets.
58335         * configure: Regenerated.
58337 2012-11-17  David S. Miller  <davem@davemloft.net>
58339         [BZ #14811]
58340         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58341         nonzero exponents with absolute value below 0x1p-128 to +/-
58342         0x1p-128.
58344 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58346         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58348         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58350         * posix/getconf-speclist.c: New file.
58351         * posix/posix-envs.def: Likewise.
58352         * posix/confstr.c (START_ENV_GROUP): New macro.
58353         (END_ENV_GROUP): Likewise.
58354         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58355         (KNOWN_PRESENT_ENV_STRING): Likewise.
58356         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58357         (UNKNOWN_ENVIRONMENT): Likewise.
58358         (confstr): Include posix-envs.def instead of handling
58359         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58360         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58361         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58362         (END_ENV_GROUP): Likewise.
58363         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58364         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58365         (UNKNOWN_ENVIRONMENT): Likewise.
58366         (__sysconf): Include posix-envs.def instead of handling associated
58367         cases directly here.
58368         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58369         preprocessing getconf-speclist.c rather than running getconf or
58370         generating empty file.
58372 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58374         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58376 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58378         [BZ #14672]
58379         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58381 2012-11-16  David S. Miller  <davem@davemloft.net>
58383         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58384         smaller than LDBL_EPSILON/2.0L, just return xm1.
58386 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58388         * elf/tst-array1.c (init): Set constructor priority to 1000.
58389         (fini): Set destructor priority to 1000.
58390         * elf/tst-array2dep.c: Likewise.
58392 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58394         [BZ #11741]
58395         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58396         (_IO_new_file_xsputn): Also return EOF if none of the input
58397         data was written when overflow failed.
58398         * libio/iopadn.c (_IO_padn): Likewise.
58399         * libio/iowpadn.c (_IO_wpadn): Likewise.
58400         * stdio-common/tst-put-error.c: Add copyright notice.
58401         (do_test): Add case for printing padded string.
58402         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58403         _IO_padn returned error.
58404         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58405         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58406         return EOF.
58408 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58410         * libio/libioP.h: Add comment note that the references to C++
58411         bits are now obsolete.
58413 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58415         * math/libm-test.inc (check_complex): Use asprintf.
58417 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58419         * debug/pcprofiledump.c (print_version): Update copyright year.
58420         * malloc/memusagestat.c (print_version): Likewise.
58422 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58424         [BZ #14831]
58425         * elf/Makefile (tests): Add tst-audit8.
58426         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58427         ($(objpfx)tst-audit8.out): New target.
58428         (tst-audit8-ENV): New variable.
58429         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58430         audit if l_reloc_result is NULL.
58431         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58432         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58433         * elf/tst-audit8.c: New file.
58435 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58437         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58438         * misc/Makefile (CFLAGS-select.c): Define.
58439         * posix/Makefile (CFLAGS-pause.c): Define.
58441 2012-11-13  David S. Miller  <davem@davemloft.net>
58443         * crypt/Makefile: Move test targets after toplevel Rules
58444         inclusion.  Grab any necessary sysdep routines when linking.
58445         * crypt/md5.c (md5_process_block): Remove define, we will always
58446         name it __md5_process_block.
58447         (md5_finish_ctx): Update md5_process_block call.
58448         (md5_stream): Likewise.
58449         (md5_process_bytes): Likewise.
58450         (md5_process_block): Rename to __md5_process_block and move to ...
58451         * crypt/md5-block.c: ... here.
58452         * crypt/sha256.c (sha256_process_block): Move to ...
58453         * crypt/sha256-block.c: ... here.
58454         * crypt/sha512.c (sha512_process_block): Move to ...
58455         * crypt/sha512-block.c: ... here.
58456         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58457         path.
58458         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58459         * sysdeps/sparc/sparc64/multiarch/Makefile
58460         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58461         crypt subdir.
58462         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58463         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58464         multiarch changes.
58465         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58466         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58467         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58468         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58469         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58470         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58471         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58472         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58473         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58474         file.
58475         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58476         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58477         file.
58478         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58480 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58482         * timezone/tzselect.ksh: Update from tzcode git revision
58483         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58484         * timezone/zdump.c: Likewise.
58485         * timezone/zic.c: Likewise.
58486         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58487         in TZVERSION setting, not $(PKGVERSION).
58488         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58489         REPORT_BUGS_TO settings.
58491         [BZ #14838]
58492         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58493         macro.
58495 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58497         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58498         detection to immediately after _FP_ROUND().
58499         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58500         bits are 0.
58502 2012-11-11  David S. Miller  <davem@davemloft.net>
58504         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58505         inttypes.h
58506         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58507         __close rather than their public counterparts.
58509 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58511         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58512         file.
58513         [UNIX98] (sem_timedwait): Do not expect.
58514         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58515         [XPG4 || UNIX98] (sockatmark): Do not expect.
58516         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58517         (clock_getcpuclockid): Do not expect.
58518         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58519         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58520         Do not expect.
58521         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58522         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58523         [UNIX98] (vwscanf): Likewise.
58524         [UNIX98] (vswscanf): Likewise.
58526 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58528         * timezone/version.h: Remove file.
58529         * timezone/README: Do not refer to version.h.
58530         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58531         $(objpfx)version.h.
58532         ($(objpfx)zdump.o): Likewise.
58533         ($(objpfx)version.h): New target.
58535         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58536         2012i.
58537         * timezone/README: Don't mention modification to tzselect.ksh.
58538         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58539         work on unmodified tzselect.ksh.  Substitute version numbers in
58540         tzselect.ksh.
58542         * Makefile (format-me): Remove.
58543         (INSTALL): Adjust indentation.  Use commands directly instead of
58544         using $(format-me).
58546         * aclocal.m4 (ACX_PKGVERSION): New macro.
58547         (ACX_BUGURL): Likewise.
58548         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58549         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58550         (REPORT_BUGS_TO): Likewise.
58551         * configure: Regenerated.
58552         * config.h.in (PKGVERSION): New macro.
58553         (REPORT_BUGS_TO): Likewise.
58554         * config.make.in (PKGVERSION): New variable.
58555         (PKGVERSION_TEXI): Likewise.
58556         (REPORT_BUGS_TO): Likewise.
58557         (REPORT_BUGS_TEXI): Likewise.
58558         * Makefile (format-me): Use -I$(common-objpfx)manual.
58559         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58560         ($(common-objpfx)manual/%): New target.
58561         (manual/%): Remove target.
58562         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58563         (print_version): Use PKGVERSION.
58564         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58565         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58566         and REPORT_BUGS_TO.
58567         ($(objpfx)xtrace): Likewise.
58568         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58569         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58570         (print_version): Use PKGVERSION.
58571         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58572         (do_version): Use PKGVERSION.
58573         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
58574         REPORT_BUGS_TO.
58575         (common-ldd-rewrite): Likewise.
58576         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
58577         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
58578         (print_version): Use PKGVERSION.
58579         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
58580         * elf/pldd.c (argp_program_bug_address): Remove variable.
58581         (more_help): New function.
58582         (argp): Use more_help.
58583         (print_version): Use PKGVERSION.
58584         * elf/sln.c (main): Use PKGVERSION.
58585         (usage): Use REPORT_BUGS_TO.
58586         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
58587         (top level): Use PKGVERSION.
58588         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
58589         (print_version): Use PKGVERSION.
58590         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
58591         (print_version): Use PKGVERSION.
58592         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
58593         (print_version): Use PKGVERSION.
58594         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
58595         (print_version): Use PKGVERSION.
58596         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
58597         (print_version): Use PKGVERSION.
58598         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
58599         (print_version): Use PKGVERSION.
58600         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
58601         and BUGURL.
58602         ($(objpfx)memusage): Likewise.
58603         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
58604         (do_version): Use PKGVERSION.
58605         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
58606         (print_version): Use PKGVERSION.
58607         * malloc/mtrace.pl ($PACKAGE): Remove variable.
58608         ($PKGVERSION): New variable.
58609         ($REPORT_BUGS_TO): Likewise.
58610         (usage): Use $REPORT_BUGS_TO.
58611         (top level): Use $PKGVERSION.
58612         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
58613         ($(objpfx)pkgvers.texi): New rule.
58614         ($(objpfx)stamp-pkgvers): Likewise.
58615         * manual/install.texi: Include pkgvers.texi.
58616         (--with-pkgversion): Document new configure option.
58617         (--with-bugurl): Likewise.
58618         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
58619         than necessarily for this particular distribution.  Use
58620         REPORT_BUGS_TO for where to report bugs.
58621         * INSTALL: Regenerated.
58622         * manual/libc.texinfo: Include pkgvers.texi.
58623         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
58624         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
58625         (print_version): Use PKGVERSION.
58626         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
58627         (print_version): Use PKGVERSION.
58628         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
58629         (print_version): Use PKGVERSION.
58630         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
58631         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
58632         macro.
58633         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
58634         (print_version): Use PKGVERSION.
58635         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
58636         (print_version): Use PKGVERSION.
58637         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
58638         and PKGVERSION.
58640         * timezone/checktab.awk: Update from tzcode 2012i.
58641         * timezone/ialloc.c: Likewise.
58642         * timezone/private.h: Likewise.
58643         * timezone/scheck.c: Likewise.
58644         * timezone/tzfile.h: Likewise.
58645         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
58646         (TZVERSION): Hardcode tzcode version number.
58647         * timezone/zdump.c: Update from tzcode 2012i.
58648         * timezone/zic.c: Likewise.
58649         * timezone/version.h: New file.
58650         * timezone/README: Describe version.h.  Update upstream location.
58652         [BZ #14824]
58653         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
58654         (mktemp): Enable declaration.
58655         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
58656         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
58657         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
58658         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
58659         Likewise.
58660         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
58661         Likewise.
58662         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
58663         Likewise.
58664         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
58665         Likewise.
58666         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
58667         Likewise.
58668         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
58669         Likewise.
58671         [BZ #14821]
58672         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
58673         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
58674         for copies of such integer values.
58675         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58676         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58678 2012-11-09  Andreas Jaeger  <aj@suse.de>
58680         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
58681         definitions and declarations that are provided by
58682         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58684 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58686         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
58687         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
58688         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
58689         definition.
58691 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58693         * elf/elf.h: Update comment before AArch64 relocations.
58695 2012-11-07  David S. Miller  <davem@davemloft.net>
58697         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
58698         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
58699         (__start_context): Declare.
58700         (__makecontext_ret): Delete.
58701         (__makecontext): Hook up __start_context instead of
58702         __makecontext_ret.
58703         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
58704         (sysdep_routines): Add __start_context when in stdlib.
58706 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58708         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
58709         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
58710         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
58711         hardcoded "nm".
58712         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
58713         (READELF): New variable.  Use it instead of hardcoded "readelf".
58715 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
58717         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
58718         * sysdeps/x86/Makefile: Here.
58719         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
58720         * sysdeps/x86/tst-xmmymm.sh: This.
58722 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58724         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
58725         expectations.
58726         [UNIX98] (pthread_barrier_t): Do not expect.
58727         [UNIX98] (pthread_barrierattr_t): Likewise.
58728         [UNIX98] (pthread_spinlock_t): Likewise.
58729         [UNIX98] (pthread_barrier_destroy): Likewise.
58730         [UNIX98] (pthread_barrier_init): Likewise.
58731         [UNIX98] (pthread_barrier_wait): Likewise.
58732         [UNIX98] (pthread_barrierattr_destroy): Likewise.
58733         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
58734         [UNIX98] (pthread_barrierattr_init): Likewise.
58735         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
58736         [UNIX98] (pthread_getcpuclockid): Likewise.
58737         [UNIX98] (pthread_mutex_timedlock): Likewise.
58738         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
58739         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
58740         [UNIX98] (pthread_sigmask): Likewise.
58741         [UNIX98] (pthread_spin_destroy): Likewise.
58742         [UNIX98] (pthread_spin_init): Likewise.
58743         [UNIX98] (pthread_spin_lock): Likewise.
58744         [UNIX98] (pthread_spin_trylock): Likewise.
58745         [UNIX98] (pthread_spin_unlock): Likewise.
58746         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
58747         Do not expect.
58748         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
58749         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
58750         [XPG3 || XPG4] (pthread_cond_t): Likewise.
58751         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
58752         [XPG3 || XPG4] (pthread_key_t): Likewise.
58753         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
58754         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
58755         [XPG3 || XPG4] (pthread_once_t): Likewise.
58756         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
58757         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58758         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58759         [XPG3 || XPG4] (pthread_t): Likewise.
58761         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58762         not expect.
58763         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58765         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58766         Change function return type to int.
58768         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58769         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58770         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58771         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58772         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58773         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58774         [!POSIX] (posix_madvise): Likewise.
58775         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58776         && !UNIX98].
58777         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58778         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58779         (mode_t): Likewise.
58780         (posix_mem_offset): Likewise.
58781         (posix_typed_mem_get_info): Likewise.
58782         (posix_typed_mem_open): Likewise.
58784         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58785         Change condition to [XOPEN2K8].
58787         * conform/conformtest.pl: Preprocess allow-header data with -x c
58788         instead of from stdin.
58789         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58790         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58791         [C99-based standards] (cerfc): Likewise.
58792         [C99-based standards] (cexp2): Likewise.
58793         [C99-based standards] (cexpm1): Likewise.
58794         [C99-based standards] (clog10): Likewise.
58795         [C99-based standards] (clog1p): Likewise.
58796         [C99-based standards] (clog2): Likewise.
58797         [C99-based standards] (clgamma): Likewise.
58798         [C99-based standards] (ctgamma): Likewise.
58799         [C99-based standards] (cerff): Likewise.
58800         [C99-based standards] (cerfcf): Likewise.
58801         [C99-based standards] (cexp2f): Likewise.
58802         [C99-based standards] (cexpm1f): Likewise.
58803         [C99-based standards] (clog10f): Likewise.
58804         [C99-based standards] (clog1pf): Likewise.
58805         [C99-based standards] (clog2f): Likewise.
58806         [C99-based standards] (clgammaf): Likewise.
58807         [C99-based standards] (ctgammaf): Likewise.
58808         [C99-based standards] (cerfl): Likewise.
58809         [C99-based standards] (cerfcl): Likewise.
58810         [C99-based standards] (cexp2l): Likewise.
58811         [C99-based standards] (cexpm1l): Likewise.
58812         [C99-based standards] (clog10l): Likewise.
58813         [C99-based standards] (clog1pl): Likewise.
58814         [C99-based standards] (clog2l): Likewise.
58815         [C99-based standards] (clgammal): Likewise.
58816         [C99-based standards] (ctgammal): Likewise.
58817         * conform/data/inttypes.h-data [C99-based standards]: Include
58818         stdint.h-data.  Remove all expectations for stdint.h contents.
58819         [C99-based standards] (PRI*): Do not allow.
58820         [C99-based standards] (SCN*): Likewise.
58821         [C99-based standards] (*_t): Likewise.
58822         [C99-based-standards] (PRId8): Expect macro.
58823         [C99-based-standards] (PRIi8): Likewise.
58824         [C99-based-standards] (PRIo8): Likewise.
58825         [C99-based-standards] (PRIu8): Likewise.
58826         [C99-based-standards] (PRIx8): Likewise.
58827         [C99-based-standards] (PRIX8): Likewise.
58828         [C99-based-standards] (SCNd8): Likewise.
58829         [C99-based-standards] (SCNi8): Likewise.
58830         [C99-based-standards] (SCNo8): Likewise.
58831         [C99-based-standards] (SCNu8): Likewise.
58832         [C99-based-standards] (SCNx8): Likewise.
58833         [C99-based-standards] (PRIdLEAST8): Likewise.
58834         [C99-based-standards] (PRIiLEAST8): Likewise.
58835         [C99-based-standards] (PRIoLEAST8): Likewise.
58836         [C99-based-standards] (PRIuLEAST8): Likewise.
58837         [C99-based-standards] (PRIxLEAST8): Likewise.
58838         [C99-based-standards] (PRIXLEAST8): Likewise.
58839         [C99-based-standards] (SCNdLEAST8): Likewise.
58840         [C99-based-standards] (SCNiLEAST8): Likewise.
58841         [C99-based-standards] (SCNoLEAST8): Likewise.
58842         [C99-based-standards] (SCNuLEAST8): Likewise.
58843         [C99-based-standards] (SCNxLEAST8): Likewise.
58844         [C99-based-standards] (PRIdFAST8): Likewise.
58845         [C99-based-standards] (PRIiFAST8): Likewise.
58846         [C99-based-standards] (PRIoFAST8): Likewise.
58847         [C99-based-standards] (PRIuFAST8): Likewise.
58848         [C99-based-standards] (PRIxFAST8): Likewise.
58849         [C99-based-standards] (PRIXFAST8): Likewise.
58850         [C99-based-standards] (SCNdFAST8): Likewise.
58851         [C99-based-standards] (SCNiFAST8): Likewise.
58852         [C99-based-standards] (SCNoFAST8): Likewise.
58853         [C99-based-standards] (SCNuFAST8): Likewise.
58854         [C99-based-standards] (SCNxFAST8): Likewise.
58855         [C99-based-standards] (PRId16): Likewise.
58856         [C99-based-standards] (PRIi16): Likewise.
58857         [C99-based-standards] (PRIo16): Likewise.
58858         [C99-based-standards] (PRIu16): Likewise.
58859         [C99-based-standards] (PRIx16): Likewise.
58860         [C99-based-standards] (PRIX16): Likewise.
58861         [C99-based-standards] (SCNd16): Likewise.
58862         [C99-based-standards] (SCNi16): Likewise.
58863         [C99-based-standards] (SCNo16): Likewise.
58864         [C99-based-standards] (SCNu16): Likewise.
58865         [C99-based-standards] (SCNx16): Likewise.
58866         [C99-based-standards] (PRIdLEAST16): Likewise.
58867         [C99-based-standards] (PRIiLEAST16): Likewise.
58868         [C99-based-standards] (PRIoLEAST16): Likewise.
58869         [C99-based-standards] (PRIuLEAST16): Likewise.
58870         [C99-based-standards] (PRIxLEAST16): Likewise.
58871         [C99-based-standards] (PRIXLEAST16): Likewise.
58872         [C99-based-standards] (SCNdLEAST16): Likewise.
58873         [C99-based-standards] (SCNiLEAST16): Likewise.
58874         [C99-based-standards] (SCNoLEAST16): Likewise.
58875         [C99-based-standards] (SCNuLEAST16): Likewise.
58876         [C99-based-standards] (SCNxLEAST16): Likewise.
58877         [C99-based-standards] (PRIdFAST16): Likewise.
58878         [C99-based-standards] (PRIiFAST16): Likewise.
58879         [C99-based-standards] (PRIoFAST16): Likewise.
58880         [C99-based-standards] (PRIuFAST16): Likewise.
58881         [C99-based-standards] (PRIxFAST16): Likewise.
58882         [C99-based-standards] (PRIXFAST16): Likewise.
58883         [C99-based-standards] (SCNdFAST16): Likewise.
58884         [C99-based-standards] (SCNiFAST16): Likewise.
58885         [C99-based-standards] (SCNoFAST16): Likewise.
58886         [C99-based-standards] (SCNuFAST16): Likewise.
58887         [C99-based-standards] (SCNxFAST16): Likewise.
58888         [C99-based-standards] (PRId32): Likewise.
58889         [C99-based-standards] (PRIi32): Likewise.
58890         [C99-based-standards] (PRIo32): Likewise.
58891         [C99-based-standards] (PRIu32): Likewise.
58892         [C99-based-standards] (PRIx32): Likewise.
58893         [C99-based-standards] (PRIX32): Likewise.
58894         [C99-based-standards] (SCNd32): Likewise.
58895         [C99-based-standards] (SCNi32): Likewise.
58896         [C99-based-standards] (SCNo32): Likewise.
58897         [C99-based-standards] (SCNu32): Likewise.
58898         [C99-based-standards] (SCNx32): Likewise.
58899         [C99-based-standards] (PRIdLEAST32): Likewise.
58900         [C99-based-standards] (PRIiLEAST32): Likewise.
58901         [C99-based-standards] (PRIoLEAST32): Likewise.
58902         [C99-based-standards] (PRIuLEAST32): Likewise.
58903         [C99-based-standards] (PRIxLEAST32): Likewise.
58904         [C99-based-standards] (PRIXLEAST32): Likewise.
58905         [C99-based-standards] (SCNdLEAST32): Likewise.
58906         [C99-based-standards] (SCNiLEAST32): Likewise.
58907         [C99-based-standards] (SCNoLEAST32): Likewise.
58908         [C99-based-standards] (SCNuLEAST32): Likewise.
58909         [C99-based-standards] (SCNxLEAST32): Likewise.
58910         [C99-based-standards] (PRIdFAST32): Likewise.
58911         [C99-based-standards] (PRIiFAST32): Likewise.
58912         [C99-based-standards] (PRIoFAST32): Likewise.
58913         [C99-based-standards] (PRIuFAST32): Likewise.
58914         [C99-based-standards] (PRIxFAST32): Likewise.
58915         [C99-based-standards] (PRIXFAST32): Likewise.
58916         [C99-based-standards] (SCNdFAST32): Likewise.
58917         [C99-based-standards] (SCNiFAST32): Likewise.
58918         [C99-based-standards] (SCNoFAST32): Likewise.
58919         [C99-based-standards] (SCNuFAST32): Likewise.
58920         [C99-based-standards] (SCNxFAST32): Likewise.
58921         [C99-based-standards] (PRId64): Likewise.
58922         [C99-based-standards] (PRIi64): Likewise.
58923         [C99-based-standards] (PRIo64): Likewise.
58924         [C99-based-standards] (PRIu64): Likewise.
58925         [C99-based-standards] (PRIx64): Likewise.
58926         [C99-based-standards] (PRIX64): Likewise.
58927         [C99-based-standards] (SCNd64): Likewise.
58928         [C99-based-standards] (SCNi64): Likewise.
58929         [C99-based-standards] (SCNo64): Likewise.
58930         [C99-based-standards] (SCNu64): Likewise.
58931         [C99-based-standards] (SCNx64): Likewise.
58932         [C99-based-standards] (PRIdLEAST64): Likewise.
58933         [C99-based-standards] (PRIiLEAST64): Likewise.
58934         [C99-based-standards] (PRIoLEAST64): Likewise.
58935         [C99-based-standards] (PRIuLEAST64): Likewise.
58936         [C99-based-standards] (PRIxLEAST64): Likewise.
58937         [C99-based-standards] (PRIXLEAST64): Likewise.
58938         [C99-based-standards] (SCNdLEAST64): Likewise.
58939         [C99-based-standards] (SCNiLEAST64): Likewise.
58940         [C99-based-standards] (SCNoLEAST64): Likewise.
58941         [C99-based-standards] (SCNuLEAST64): Likewise.
58942         [C99-based-standards] (SCNxLEAST64): Likewise.
58943         [C99-based-standards] (PRIdFAST64): Likewise.
58944         [C99-based-standards] (PRIiFAST64): Likewise.
58945         [C99-based-standards] (PRIoFAST64): Likewise.
58946         [C99-based-standards] (PRIuFAST64): Likewise.
58947         [C99-based-standards] (PRIxFAST64): Likewise.
58948         [C99-based-standards] (PRIXFAST64): Likewise.
58949         [C99-based-standards] (SCNdFAST64): Likewise.
58950         [C99-based-standards] (SCNiFAST64): Likewise.
58951         [C99-based-standards] (SCNoFAST64): Likewise.
58952         [C99-based-standards] (SCNuFAST64): Likewise.
58953         [C99-based-standards] (SCNxFAST64): Likewise.
58954         [C99-based-standards] (PRIdMAX): Likewise.
58955         [C99-based-standards] (PRIiMAX): Likewise.
58956         [C99-based-standards] (PRIoMAX): Likewise.
58957         [C99-based-standards] (PRIuMAX): Likewise.
58958         [C99-based-standards] (PRIxMAX): Likewise.
58959         [C99-based-standards] (PRIXMAX): Likewise.
58960         [C99-based-standards] (SCNdMAX): Likewise.
58961         [C99-based-standards] (SCNiMAX): Likewise.
58962         [C99-based-standards] (SCNoMAX): Likewise.
58963         [C99-based-standards] (SCNuMAX): Likewise.
58964         [C99-based-standards] (SCNxMAX): Likewise.
58965         [C99-based-standards] (PRIdPTR): Likewise.
58966         [C99-based-standards] (PRIiPTR): Likewise.
58967         [C99-based-standards] (PRIoPTR): Likewise.
58968         [C99-based-standards] (PRIuPTR): Likewise.
58969         [C99-based-standards] (PRIxPTR): Likewise.
58970         [C99-based-standards] (PRIXPTR): Likewise.
58971         [C99-based-standards] (SCNdPTR): Likewise.
58972         [C99-based-standards] (SCNiPTR): Likewise.
58973         [C99-based-standards] (SCNoPTR): Likewise.
58974         [C99-based-standards] (SCNuPTR): Likewise.
58975         [C99-based-standards] (SCNxPTR): Likewise.
58976         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58977         allow.
58978         * conform/data/stdint.h-data: Update comments to clarify
58979         requirements.
58980         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58981         type.
58982         [C99-based standards] (INT8_MAX): Likewise.
58983         [C99-based standards] (INT16_MIN): Likewise.
58984         [C99-based standards] (INT16_MAX): Likewise.
58985         [C99-based standards] (INT32_MIN): Likewise.
58986         [C99-based standards] (INT32_MAX): Likewise.
58987         [C99-based standards] (INT64_MIN): Likewise.
58988         [C99-based standards] (INT64_MAX): Likewise.
58989         [C99-based standards] (UINT8_MAX): Likewise.
58990         [C99-based standards] (UINT16_MAX): Likewise.
58991         [C99-based standards] (UINT32_MAX): Likewise.
58992         [C99-based standards] (UINT64_MAX): Likewise.
58993         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58994         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58995         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58996         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58997         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58998         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58999         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59000         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59001         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59002         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59003         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59004         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59005         [C99-based standards] (INT_FAST8_MIN): Likewise.
59006         [C99-based standards] (INT_FAST8_MAX): Likewise.
59007         [C99-based standards] (INT_FAST16_MIN): Likewise.
59008         [C99-based standards] (INT_FAST16_MAX): Likewise.
59009         [C99-based standards] (INT_FAST32_MIN): Likewise.
59010         [C99-based standards] (INT_FAST32_MAX): Likewise.
59011         [C99-based standards] (INT_FAST64_MIN): Likewise.
59012         [C99-based standards] (INT_FAST64_MAX): Likewise.
59013         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59014         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59015         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59016         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59017         [C99-based standards] (INTPTR_MIN): Likewise.
59018         [C99-based standards] (INTPTR_MAX): Likewise.
59019         [C99-based standards] (UINTPTR_MAX): Likewise.
59020         [C99-based standards] (INTMAX_MIN): Likewise.
59021         [C99-based standards] (INTMAX_MAX): Likewise.
59022         [C99-based standards] (UINTMAX_MAX): Likewise.
59023         [C99-based standards] (PTRDIFF_MIN): Likewise.
59024         [C99-based standards] (PTRDIFF_MAX): Likewise.
59025         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59026         [C99-based standards] (SIZE_MAX): Likewise.
59027         [C99-based standards] (WCHAR_MAX): Likewise.
59028         [C99-based standards] (WINT_MAX): Likewise.
59029         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59030         constraint on value.
59031         [C99-based standards] (WCHAR_MIN): Likewise.
59032         [C99-based standards] (WINT_MIN): Likewise.
59033         [C99-based standards] (*_t): Allow.
59034         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59035         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59036         Include math.h-data and complex.h-data.  Remove all expectations
59037         of math.h and complex.h contents.
59038         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59039         at end of line.
59040         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59041         (struct tm): Expect tag.
59042         [C99-based-standards] (wcstof): Expect function.
59043         [C99-based-standards] (wcstold): Likewise.
59044         [C99-based-standards] (wcstoll): Likewise.
59045         [C99-based-standards] (wcstoull): Likewise.
59046         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59047         macro-int-constant.  Specify type.
59048         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59049         constraint on value.
59050         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59051         Specify type.
59052         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59053         Specify value.
59054         [ISO C standards]: Do not allow headers.
59055         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59056         wcs[abcdefghijklmnopqrstuvwxyz]*.
59057         [ISO C standards] (*_t): Do not allow.
59058         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59059         Expect function.
59060         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59061         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59062         Specify type.
59063         [ISO C standards]: Do not allow headers.
59064         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59065         is[abcdefghijklmnopqrstuvwxyz]*.
59066         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59067         to[abcdefghijklmnopqrstuvwxyz]*.
59068         [ISO C standards] (*_t): Do not allow.
59069         * conform/data/stdalign.h-data: New file.
59070         * conform/data/stdbool.h-data: Likewise.
59071         * conform/data/stdnoreturn.h-data: Likewise.
59073 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59075         [BZ #14815]
59076         * manual/filesys.texi (Directory Entries): Typo fix.
59077         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59079 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59081         * elf/elf.h (EM_AARCH64): New macro.
59082         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59083         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59084         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59085         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59086         (R_AARCH64_TLSDESC): Likewise.
59087         (NT_ARM_TLS): Likewise.
59088         (NT_ARM_HW_BREAK): Likewise.
59089         (NT_ARM_HW_WATCH): Likewise.
59091 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59093         [BZ #14811]
59094         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59095         (__ieee754_powl): Saturate nonzero exponents with absolute value
59096         below 0x1p-79 to +/- 0x1p-79.
59097         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59098         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59099         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59100         nonzero exponents with absolute value below 0x1p-32 to +/-
59101         0x1p-32.
59102         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59103         (__ieee754_powl): Saturate nonzero exponents with absolute value
59104         below 0x1p-79 to +/- 0x1p-79.
59105         * math/libm-test.inc (pow_test): Add more tests.
59107 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59109         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59110         _dl_s390_cap_flags with kernel. Increase string length.
59111         (_dl_s390_platforms): Add z196 and zEC12.
59113 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59115         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59116         Change XOPEN21K to XOPEN2K.
59118 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59120         * string/memmove.c: Use memcpy when possible.
59122 2012-11-06  Andreas Jaeger  <aj@suse.de>
59124         * po/eo.po: Update from translation team.
59126 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59128         [BZ #14793]
59129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59130         exponent and small x and y exponents, scale x or y up.  Increase
59131         by 2 the exponent used in scaling up.
59132         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59133         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59134         * math/libm-test.inc (fma_test): Add more tests.
59135         (fma_test_towardzero): Likewise.
59136         (fma_test_downward): Likewise.
59137         (fma_test_upward): Likewise.
59139 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59141         [BZ #14805]
59142         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59143         fenv_t *.
59145         [BZ #14801]
59146         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59147         namespace for names of struct fields.
59148         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59149         fenv_t fields.
59150         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59151         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59153 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59155         [BZ #3665]
59156         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59158 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59160         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59161         PTR_DEMANGLE.
59163         [BZ #5246]
59164         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59165         PTR_DEMANGLE.
59167 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59169         [BZ #14797]
59170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59171         definitely overflow as x * y not x * y + z.
59172         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59173         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59174         * math/libm-test.inc (fma_test): Add more tests.
59175         (fma_test_towardzero): Likewise.
59176         (fma_test_downward): Likewise.
59177         (fma_test_upward): Likewise.
59179 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59181         [BZ #157]
59183         * include/stub-tag.h: Remove file.
59184         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59185         '#include' of it.
59186         * manual/maint.texi (Porting): Don't reference it.
59187         * Makerules ($(objpfx)stubs): Likewise.
59188         * dirent/closedir.c: Don't include <stub-tag.h>.
59189         * dirent/dirfd.c: Likewise.
59190         * dirent/fdopendir.c: Likewise.
59191         * dirent/getdents.c: Likewise.
59192         * dirent/getdents64.c: Likewise.
59193         * dirent/opendir.c: Likewise.
59194         * dirent/readdir.c: Likewise.
59195         * dirent/readdir64.c: Likewise.
59196         * dirent/readdir64_r.c: Likewise.
59197         * dirent/readdir_r.c: Likewise.
59198         * dirent/rewinddir.c: Likewise.
59199         * dirent/seekdir.c: Likewise.
59200         * dirent/telldir.c: Likewise.
59201         * gmon/profil.c: Likewise.
59202         * grp/setgroups.c: Likewise.
59203         * inet/if_index.c: Likewise.
59204         * io/access.c: Likewise.
59205         * io/chdir.c: Likewise.
59206         * io/chmod.c: Likewise.
59207         * io/chown.c: Likewise.
59208         * io/close.c: Likewise.
59209         * io/dup.c: Likewise.
59210         * io/dup2.c: Likewise.
59211         * io/dup3.c: Likewise.
59212         * io/euidaccess.c: Likewise.
59213         * io/faccessat.c: Likewise.
59214         * io/fchdir.c: Likewise.
59215         * io/fchmod.c: Likewise.
59216         * io/fchmodat.c: Likewise.
59217         * io/fchown.c: Likewise.
59218         * io/fchownat.c: Likewise.
59219         * io/fcntl.c: Likewise.
59220         * io/flock.c: Likewise.
59221         * io/fstatfs.c: Likewise.
59222         * io/fstatfs64.c: Likewise.
59223         * io/fstatvfs.c: Likewise.
59224         * io/fstatvfs64.c: Likewise.
59225         * io/futimens.c: Likewise.
59226         * io/fxstat.c: Likewise.
59227         * io/fxstat64.c: Likewise.
59228         * io/fxstatat.c: Likewise.
59229         * io/fxstatat64.c: Likewise.
59230         * io/getcwd.c: Likewise.
59231         * io/isatty.c: Likewise.
59232         * io/lchmod.c: Likewise.
59233         * io/lchown.c: Likewise.
59234         * io/link.c: Likewise.
59235         * io/linkat.c: Likewise.
59236         * io/lseek.c: Likewise.
59237         * io/lseek64.c: Likewise.
59238         * io/lxstat64.c: Likewise.
59239         * io/mkdir.c: Likewise.
59240         * io/mkdirat.c: Likewise.
59241         * io/mkfifo.c: Likewise.
59242         * io/mkfifoat.c: Likewise.
59243         * io/open.c: Likewise.
59244         * io/open64.c: Likewise.
59245         * io/openat.c: Likewise.
59246         * io/openat64.c: Likewise.
59247         * io/pipe.c: Likewise.
59248         * io/pipe2.c: Likewise.
59249         * io/poll.c: Likewise.
59250         * io/posix_fadvise.c: Likewise.
59251         * io/posix_fadvise64.c: Likewise.
59252         * io/posix_fallocate.c: Likewise.
59253         * io/posix_fallocate64.c: Likewise.
59254         * io/read.c: Likewise.
59255         * io/readlink.c: Likewise.
59256         * io/readlinkat.c: Likewise.
59257         * io/rmdir.c: Likewise.
59258         * io/sendfile.c: Likewise.
59259         * io/sendfile64.c: Likewise.
59260         * io/statfs.c: Likewise.
59261         * io/statfs64.c: Likewise.
59262         * io/statvfs.c: Likewise.
59263         * io/statvfs64.c: Likewise.
59264         * io/symlink.c: Likewise.
59265         * io/symlinkat.c: Likewise.
59266         * io/ttyname.c: Likewise.
59267         * io/ttyname_r.c: Likewise.
59268         * io/umask.c: Likewise.
59269         * io/unlink.c: Likewise.
59270         * io/unlinkat.c: Likewise.
59271         * io/utime.c: Likewise.
59272         * io/utimensat.c: Likewise.
59273         * io/write.c: Likewise.
59274         * io/xmknod.c: Likewise.
59275         * io/xmknodat.c: Likewise.
59276         * io/xstat.c: Likewise.
59277         * io/xstat64.c: Likewise.
59278         * login/getpt.c: Likewise.
59279         * login/grantpt.c: Likewise.
59280         * login/unlockpt.c: Likewise.
59281         * math/e_acoshl.c: Likewise.
59282         * math/e_acosl.c: Likewise.
59283         * math/e_asinl.c: Likewise.
59284         * math/e_atan2l.c: Likewise.
59285         * math/e_atanhl.c: Likewise.
59286         * math/e_coshl.c: Likewise.
59287         * math/e_expl.c: Likewise.
59288         * math/e_fmodl.c: Likewise.
59289         * math/e_gammal_r.c: Likewise.
59290         * math/e_hypotl.c: Likewise.
59291         * math/e_j0l.c: Likewise.
59292         * math/e_j1l.c: Likewise.
59293         * math/e_jnl.c: Likewise.
59294         * math/e_lgammal_r.c: Likewise.
59295         * math/e_log10l.c: Likewise.
59296         * math/e_log2l.c: Likewise.
59297         * math/e_logl.c: Likewise.
59298         * math/e_powl.c: Likewise.
59299         * math/e_rem_pio2l.c: Likewise.
59300         * math/e_sinhl.c: Likewise.
59301         * math/e_sqrtl.c: Likewise.
59302         * math/fclrexcpt.c: Likewise.
59303         * math/fedisblxcpt.c: Likewise.
59304         * math/feenablxcpt.c: Likewise.
59305         * math/fegetenv.c: Likewise.
59306         * math/fegetexcept.c: Likewise.
59307         * math/fegetround.c: Likewise.
59308         * math/feholdexcpt.c: Likewise.
59309         * math/fesetenv.c: Likewise.
59310         * math/fesetround.c: Likewise.
59311         * math/feupdateenv.c: Likewise.
59312         * math/fgetexcptflg.c: Likewise.
59313         * math/fraiseexcpt.c: Likewise.
59314         * math/fsetexcptflg.c: Likewise.
59315         * math/ftestexcept.c: Likewise.
59316         * math/k_cosl.c: Likewise.
59317         * math/k_rem_pio2l.c: Likewise.
59318         * math/k_sinl.c: Likewise.
59319         * math/k_tanl.c: Likewise.
59320         * math/s_asinhl.c: Likewise.
59321         * math/s_atanl.c: Likewise.
59322         * math/s_cbrtl.c: Likewise.
59323         * math/s_erfl.c: Likewise.
59324         * math/s_expm1l.c: Likewise.
59325         * math/s_log1pl.c: Likewise.
59326         * math/s_tanhl.c: Likewise.
59327         * misc/acct.c: Likewise.
59328         * misc/brk.c: Likewise.
59329         * misc/chflags.c: Likewise.
59330         * misc/chroot.c: Likewise.
59331         * misc/fchflags.c: Likewise.
59332         * misc/fgetxattr.c: Likewise.
59333         * misc/flistxattr.c: Likewise.
59334         * misc/fremovexattr.c: Likewise.
59335         * misc/fsetxattr.c: Likewise.
59336         * misc/fsync.c: Likewise.
59337         * misc/ftruncate.c: Likewise.
59338         * misc/futimes.c: Likewise.
59339         * misc/futimesat.c: Likewise.
59340         * misc/getdomain.c: Likewise.
59341         * misc/getdtsz.c: Likewise.
59342         * misc/gethostid.c: Likewise.
59343         * misc/gethostname.c: Likewise.
59344         * misc/getloadavg.c: Likewise.
59345         * misc/getpagesize.c: Likewise.
59346         * misc/getsysstats.c: Likewise.
59347         * misc/getxattr.c: Likewise.
59348         * misc/gtty.c: Likewise.
59349         * misc/ioctl.c: Likewise.
59350         * misc/lgetxattr.c: Likewise.
59351         * misc/listxattr.c: Likewise.
59352         * misc/llistxattr.c: Likewise.
59353         * misc/lremovexattr.c: Likewise.
59354         * misc/lsetxattr.c: Likewise.
59355         * misc/lutimes.c: Likewise.
59356         * misc/madvise.c: Likewise.
59357         * misc/mincore.c: Likewise.
59358         * misc/mlock.c: Likewise.
59359         * misc/mlockall.c: Likewise.
59360         * misc/mmap.c: Likewise.
59361         * misc/mprotect.c: Likewise.
59362         * misc/msync.c: Likewise.
59363         * misc/munlock.c: Likewise.
59364         * misc/munlockall.c: Likewise.
59365         * misc/munmap.c: Likewise.
59366         * misc/preadv.c: Likewise.
59367         * misc/preadv64.c: Likewise.
59368         * misc/ptrace.c: Likewise.
59369         * misc/pwritev.c: Likewise.
59370         * misc/pwritev64.c: Likewise.
59371         * misc/readv.c: Likewise.
59372         * misc/reboot.c: Likewise.
59373         * misc/remap_file_pages.c: Likewise.
59374         * misc/removexattr.c: Likewise.
59375         * misc/revoke.c: Likewise.
59376         * misc/select.c: Likewise.
59377         * misc/setdomain.c: Likewise.
59378         * misc/setegid.c: Likewise.
59379         * misc/seteuid.c: Likewise.
59380         * misc/sethostid.c: Likewise.
59381         * misc/sethostname.c: Likewise.
59382         * misc/setregid.c: Likewise.
59383         * misc/setreuid.c: Likewise.
59384         * misc/setxattr.c: Likewise.
59385         * misc/sstk.c: Likewise.
59386         * misc/stty.c: Likewise.
59387         * misc/swapoff.c: Likewise.
59388         * misc/swapon.c: Likewise.
59389         * misc/sync.c: Likewise.
59390         * misc/syncfs.c: Likewise.
59391         * misc/syscall.c: Likewise.
59392         * misc/truncate.c: Likewise.
59393         * misc/ualarm.c: Likewise.
59394         * misc/usleep.c: Likewise.
59395         * misc/ustat.c: Likewise.
59396         * misc/utimes.c: Likewise.
59397         * misc/vhangup.c: Likewise.
59398         * misc/writev.c: Likewise.
59399         * posix/_exit.c: Likewise.
59400         * posix/alarm.c: Likewise.
59401         * posix/execve.c: Likewise.
59402         * posix/fexecve.c: Likewise.
59403         * posix/fork.c: Likewise.
59404         * posix/fpathconf.c: Likewise.
59405         * posix/getaddrinfo.c: Likewise.
59406         * posix/getegid.c: Likewise.
59407         * posix/geteuid.c: Likewise.
59408         * posix/getgid.c: Likewise.
59409         * posix/getgroups.c: Likewise.
59410         * posix/getlogin.c: Likewise.
59411         * posix/getlogin_r.c: Likewise.
59412         * posix/getpgid.c: Likewise.
59413         * posix/getpid.c: Likewise.
59414         * posix/getppid.c: Likewise.
59415         * posix/getresgid.c: Likewise.
59416         * posix/getresuid.c: Likewise.
59417         * posix/getsid.c: Likewise.
59418         * posix/getuid.c: Likewise.
59419         * posix/glob64.c: Likewise.
59420         * posix/nanosleep.c: Likewise.
59421         * posix/pathconf.c: Likewise.
59422         * posix/pause.c: Likewise.
59423         * posix/posix_madvise.c: Likewise.
59424         * posix/pread.c: Likewise.
59425         * posix/pread64.c: Likewise.
59426         * posix/pwrite.c: Likewise.
59427         * posix/pwrite64.c: Likewise.
59428         * posix/sched_getaffinity.c: Likewise.
59429         * posix/sched_getp.c: Likewise.
59430         * posix/sched_gets.c: Likewise.
59431         * posix/sched_primax.c: Likewise.
59432         * posix/sched_primin.c: Likewise.
59433         * posix/sched_rr_gi.c: Likewise.
59434         * posix/sched_setaffinity.c: Likewise.
59435         * posix/sched_setp.c: Likewise.
59436         * posix/sched_sets.c: Likewise.
59437         * posix/sched_yield.c: Likewise.
59438         * posix/setgid.c: Likewise.
59439         * posix/setlogin.c: Likewise.
59440         * posix/setpgid.c: Likewise.
59441         * posix/setresgid.c: Likewise.
59442         * posix/setresuid.c: Likewise.
59443         * posix/setsid.c: Likewise.
59444         * posix/setuid.c: Likewise.
59445         * posix/sleep.c: Likewise.
59446         * posix/spawni.c: Likewise.
59447         * posix/sysconf.c: Likewise.
59448         * posix/times.c: Likewise.
59449         * posix/wait.c: Likewise.
59450         * posix/wait3.c: Likewise.
59451         * posix/wait4.c: Likewise.
59452         * posix/waitpid.c: Likewise.
59453         * resolv/gai_sigqueue.c: Likewise.
59454         * resource/getpriority.c: Likewise.
59455         * resource/getrlimit.c: Likewise.
59456         * resource/getrusage.c: Likewise.
59457         * resource/nice.c: Likewise.
59458         * resource/setpriority.c: Likewise.
59459         * resource/setrlimit.c: Likewise.
59460         * resource/ulimit.c: Likewise.
59461         * rt/aio_cancel.c: Likewise.
59462         * rt/aio_fsync.c: Likewise.
59463         * rt/aio_read.c: Likewise.
59464         * rt/aio_sigqueue.c: Likewise.
59465         * rt/aio_suspend.c: Likewise.
59466         * rt/aio_write.c: Likewise.
59467         * rt/clock_getres.c: Likewise.
59468         * rt/clock_gettime.c: Likewise.
59469         * rt/clock_nanosleep.c: Likewise.
59470         * rt/clock_settime.c: Likewise.
59471         * rt/lio_listio.c: Likewise.
59472         * rt/mq_close.c: Likewise.
59473         * rt/mq_getattr.c: Likewise.
59474         * rt/mq_notify.c: Likewise.
59475         * rt/mq_open.c: Likewise.
59476         * rt/mq_receive.c: Likewise.
59477         * rt/mq_send.c: Likewise.
59478         * rt/mq_setattr.c: Likewise.
59479         * rt/mq_timedreceive.c: Likewise.
59480         * rt/mq_timedsend.c: Likewise.
59481         * rt/mq_unlink.c: Likewise.
59482         * rt/shm_open.c: Likewise.
59483         * rt/shm_unlink.c: Likewise.
59484         * rt/timer_create.c: Likewise.
59485         * rt/timer_delete.c: Likewise.
59486         * rt/timer_getoverr.c: Likewise.
59487         * rt/timer_gettime.c: Likewise.
59488         * rt/timer_settime.c: Likewise.
59489         * setjmp/__longjmp.c: Likewise.
59490         * setjmp/setjmp.c: Likewise.
59491         * signal/kill.c: Likewise.
59492         * signal/killpg.c: Likewise.
59493         * signal/raise.c: Likewise.
59494         * signal/sigaction.c: Likewise.
59495         * signal/sigaltstack.c: Likewise.
59496         * signal/sigblock.c: Likewise.
59497         * signal/sigignore.c: Likewise.
59498         * signal/sigintr.c: Likewise.
59499         * signal/signal.c: Likewise.
59500         * signal/sigpause.c: Likewise.
59501         * signal/sigpending.c: Likewise.
59502         * signal/sigqueue.c: Likewise.
59503         * signal/sigreturn.c: Likewise.
59504         * signal/sigset.c: Likewise.
59505         * signal/sigsetmask.c: Likewise.
59506         * signal/sigstack.c: Likewise.
59507         * signal/sigsuspend.c: Likewise.
59508         * signal/sigtimedwait.c: Likewise.
59509         * signal/sigvec.c: Likewise.
59510         * signal/sigwait.c: Likewise.
59511         * signal/sigwaitinfo.c: Likewise.
59512         * signal/sysv_signal.c: Likewise.
59513         * socket/accept.c: Likewise.
59514         * socket/accept4.c: Likewise.
59515         * socket/bind.c: Likewise.
59516         * socket/connect.c: Likewise.
59517         * socket/getpeername.c: Likewise.
59518         * socket/getsockname.c: Likewise.
59519         * socket/getsockopt.c: Likewise.
59520         * socket/isfdtype.c: Likewise.
59521         * socket/listen.c: Likewise.
59522         * socket/recv.c: Likewise.
59523         * socket/recvfrom.c: Likewise.
59524         * socket/recvmsg.c: Likewise.
59525         * socket/send.c: Likewise.
59526         * socket/sendmsg.c: Likewise.
59527         * socket/sendto.c: Likewise.
59528         * socket/setsockopt.c: Likewise.
59529         * socket/shutdown.c: Likewise.
59530         * socket/sockatmark.c: Likewise.
59531         * socket/socket.c: Likewise.
59532         * socket/socketpair.c: Likewise.
59533         * stdio-common/ctermid.c: Likewise.
59534         * stdio-common/cuserid.c: Likewise.
59535         * stdio-common/remove.c: Likewise.
59536         * stdio-common/rename.c: Likewise.
59537         * stdio-common/renameat.c: Likewise.
59538         * stdio-common/tempname.c: Likewise.
59539         * stdlib/getcontext.c: Likewise.
59540         * stdlib/makecontext.c: Likewise.
59541         * stdlib/setcontext.c: Likewise.
59542         * stdlib/swapcontext.c: Likewise.
59543         * stdlib/system.c: Likewise.
59544         * streams/fattach.c: Likewise.
59545         * streams/fdetach.c: Likewise.
59546         * streams/getmsg.c: Likewise.
59547         * streams/getpmsg.c: Likewise.
59548         * streams/putmsg.c: Likewise.
59549         * streams/putpmsg.c: Likewise.
59550         * sysdeps/unix/bsd/getpt.c: Likewise.
59551         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59552         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59553         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59555         Likewise.
59556         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59557         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59558         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59559         * sysvipc/msgctl.c: Likewise.
59560         * sysvipc/msgget.c: Likewise.
59561         * sysvipc/msgrcv.c: Likewise.
59562         * sysvipc/msgsnd.c: Likewise.
59563         * sysvipc/semctl.c: Likewise.
59564         * sysvipc/semget.c: Likewise.
59565         * sysvipc/semop.c: Likewise.
59566         * sysvipc/semtimedop.c: Likewise.
59567         * sysvipc/shmat.c: Likewise.
59568         * sysvipc/shmctl.c: Likewise.
59569         * sysvipc/shmdt.c: Likewise.
59570         * sysvipc/shmget.c: Likewise.
59571         * termios/tcdrain.c: Likewise.
59572         * termios/tcflow.c: Likewise.
59573         * termios/tcflush.c: Likewise.
59574         * termios/tcgetattr.c: Likewise.
59575         * termios/tcgetpgrp.c: Likewise.
59576         * termios/tcsendbrk.c: Likewise.
59577         * termios/tcsetattr.c: Likewise.
59578         * termios/tcsetpgrp.c: Likewise.
59579         * time/adjtime.c: Likewise.
59580         * time/clock.c: Likewise.
59581         * time/getitimer.c: Likewise.
59582         * time/gettimeofday.c: Likewise.
59583         * time/setitimer.c: Likewise.
59584         * time/settimeofday.c: Likewise.
59585         * time/stime.c: Likewise.
59586         * time/time.c: Likewise.
59588 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
59590         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
59591         /usr/old/bin.
59593         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
59594         instead of spaces.
59595         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
59597 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
59599         [BZ #14796]
59600         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
59601         FE_TONEAREST before applying Dekker multiplication and Knuth
59602         addition.  Clear inexact exceptions and check for exact zero
59603         results afterwards.
59604         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59605         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59607         * math/libm-test.inc (fma_test): Add more tests.
59608         (fma_test_towardzero): Likewise.
59609         (fma_test_downward): Likewise.
59610         (fma_test_upward): Likewise.
59611         * sysdeps/generic/math_private.h (default_libc_fesetround): New
59612         function.
59613         (libc_fesetround): New macro.
59614         (libc_fesetroundf): Likewise.
59615         (libc_fesetroundl): Likewise.
59616         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
59617         function.
59618         (libc_fesetround_387): Likewise.
59619         (libc_fesetroundf): New macro.
59620         (libc_fesetround): Likewise.
59621         (libc_fesetroundl): Likewise.
59622         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
59623         function.
59624         (libc_fesetroundf): New macro.
59625         (libc_fesetround): Likewise.
59626         (libc_fesetroundl): Likewise.
59627         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
59628         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
59629         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
59630         libm_hidden_ver.
59631         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
59632         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
59633         libm_hidden_def.
59634         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
59635         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
59636         libm_hidden_ver.
59637         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
59638         libm_hidden_def.
59640         [BZ #3439]
59641         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
59642         integer constant usable in #if and use that to give value to enum
59643         constant.
59644         (FE_DIVBYZERO): Likewise.
59645         (FE_UNDERFLOW): Likewise.
59646         (FE_OVERFLOW): Likewise.
59647         (FE_INVALID): Likewise.
59648         (FE_INVALID_SNAN): Likewise.
59649         (FE_INVALID_ISI): Likewise.
59650         (FE_INVALID_IDI): Likewise.
59651         (FE_INVALID_ZDZ): Likewise.
59652         (FE_INVALID_IMZ): Likewise.
59653         (FE_INVALID_COMPARE): Likewise.
59654         (FE_INVALID_SOFTWARE): Likewise.
59655         (FE_INVALID_SQRT): Likewise.
59656         (FE_INVALID_INTEGER_CONVERSION): Likewise.
59657         (FE_TONEAREST): Likewise.
59658         (FE_TOWARDZERO): Likewise.
59659         (FE_UPWARD): Likewise.
59660         (FE_DOWNWARD): Likewise.
59661         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
59662         (FE_DIVBYZERO): Likewise.
59663         (FE_OVERFLOW): Likewise.
59664         (FE_UNDERFLOW): Likewise.
59665         (FE_INEXACT): Likewise.
59666         (FE_TONEAREST): Likewise.
59667         (FE_DOWNWARD): Likewise.
59668         (FE_UPWARD): Likewise.
59669         (FE_TOWARDZERO): Likewise.
59670         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
59671         (FE_UNDERFLOW): Likewise.
59672         (FE_OVERFLOW): Likewise.
59673         (FE_DIVBYZERO): Likewise.
59674         (FE_INVALID): Likewise.
59675         (FE_TONEAREST): Likewise.
59676         (FE_TOWARDZERO): Likewise.
59677         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
59678         (FE_OVERFLOW): Likewise.
59679         (FE_UNDERFLOW): Likewise.
59680         (FE_DIVBYZERO): Likewise.
59681         (FE_INEXACT): Likewise.
59682         (FE_TONEAREST): Likewise.
59683         (FE_TOWARDZERO): Likewise.
59684         (FE_UPWARD): Likewise.
59685         (FE_DOWNWARD): Likewise.
59686         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
59687         (FE_DIVBYZERO): Likewise.
59688         (FE_OVERFLOW): Likewise.
59689         (FE_UNDERFLOW): Likewise.
59690         (FE_INEXACT): Likewise.
59691         (FE_TONEAREST): Likewise.
59692         (FE_DOWNWARD): Likewise.
59693         (FE_UPWARD): Likewise.
59694         (FE_TOWARDZERO): Likewise.
59696 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
59698         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
59700 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
59702         * scripts/cross-test-ssh.sh (command): Use newlines to separate
59703         commands.  Quote $PWD.
59704         (blacklist_exports): Don't use remove_newlines.  Replace "declare
59705         -x" by "export".
59706         (remove_newlines): Remove.
59708 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
59710         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
59711         * stdlib/stdlib.h (atof): Moved to ...
59712         * include/bits/stdlib-float.h: Here.  New file.
59713         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
59714         * stdlib/bits/stdlib-float.h: New file.
59715         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
59716         -mno-sse -mno-mmx.
59717         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
59718         <xmmintrin.h>.
59720 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59722         * conform/conformtest.pl (@headers): Add fenv.h.
59723         * conform/data/fenv.h-data: New file.
59724         * include/fenv.h [_ISOMAC]: Disable all contents of file except
59725         include of <math/fenv.h>.
59727         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
59728         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
59729         && !UNIX98].  Enables tests for XOPEN2K8.
59730         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
59731         POSIX2008]: Likewise.
59733         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
59734         (struct rusage): Do not expect type or its members.
59736         [BZ #3439]
59737         * math/math.h (FP_NAN): Define macro to integer constant usable in
59738         #if and use that to give value to enum constant.
59739         (FP_INFINITE): Likewise.
59740         (FP_ZERO): Likewise.
59741         (FP_SUBNORMAL): Likewise.
59742         (FP_NORMAL): Likewise.
59744 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
59746         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
59747         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
59748         arguments.
59750 2012-11-02  Roland McGrath  <roland@hack.frob.com>
59752         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
59753         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
59754         autoconf-time if not.
59755         * configure.in: Remove AC_PREREQ.
59757 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59759         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59760         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59761         of the internal implementation.
59763 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59765         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59766         except include of <misc/sys/syslog.h>.
59768 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59771         function returns with a NULL context exit with zero.
59773 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59775         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59777 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59779         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59780         (run_program_cmd): This.
59781         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59782         (tst_langinfo): New variable.  Use it.
59784 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59786         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59787         floating point opcodes.
59789 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59791         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59792         variable.
59794         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59796         * sysdeps/mach/hurd/powerpc: Remove directory.
59797         * sysdeps/mach/powerpc: Likewise.
59799 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59801         * scripts/check-local-headers.sh: Ignore c++ headers.
59803 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59805         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59806         __libc_cleanup_region_start argument.
59808 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59810         [BZ #14784]
59811         [BZ #14785]
59812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59813         x * y using scaling, not as x * y + z.
59814         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59815         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59816         * math/libm-test.inc (fma_test): Add more tests.
59817         (fma_test_towardzero): Likewise.
59818         (fma_test_downward): Likewise.
59819         (fma_test_upward): Likewise.
59821 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59823         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59825 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59827         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59828         New variable.
59830 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59832         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59834 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59837         Fix sort order.
59838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59839         Likewise.
59841 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59844         Fix the order of the list for glibc 2.17.
59845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59846         Likewise.
59848 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59852 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59854         [BZ #14610]
59855         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59856         for low part of x being zero before using __atanl (y).
59857         * math/libm-test.inc (atan2_test): Add another test.
59859         * manual/install.texi (Configuring and compiling): Document
59860         general use of test-wrapper and test-wrapper-env.
59861         * INSTALL: Regenerated.
59863         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59864         (__fma): Do not extract and scale down low bits on after-rounding
59865         systems when result rounded to normal precision would have normal
59866         exponent.
59867         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59868         (__fmal): Do not extract and scale down low bits on after-rounding
59869         systems when result rounded to normal precision would have normal
59870         exponent.
59871         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59872         (__fmal): Do not extract and scale down low bits on after-rounding
59873         systems when result rounded to normal precision would have normal
59874         exponent.
59875         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59876         macro.
59877         (fma_test): Add more tests.
59878         (fma_test_towardzero): Likewise.
59879         (fma_test_downward): Likewise.
59880         (fma_test_upward): Likewise.
59882 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59884         * sysdeps/i386/tininess.h: Renamed to ...
59885         * sysdeps/x86/tininess.h: This.
59886         * sysdeps/x86_64/tininess.h: Removed.
59888 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59890         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59891         input.  Use $(build-program-cmd).
59892         ($(objpfx)tst-array1-static.out): Likewise.
59893         ($(objpfx)tst-array2.out): Likewise.
59894         ($(objpfx)tst-array3.out): Likewise.
59895         ($(objpfx)tst-array4.out): Likewise.
59896         ($(objpfx)tst-array5.out): Likewise.
59897         ($(objpfx)tst-array5-static.out): Likewise.
59899 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59901         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59902         if defined.
59904         * nss/nsswitch.h (nss_interface_function): Provide new
59905         macro for use with NSS functions.
59906         * grp/initgroups.c: Use new macro.
59907         * nss/getXXbyYY.c: Likewise.
59908         * nss/getXXbyYY_r.c: Likewise.
59909         * nss/getXXent.c: Likewise.
59910         * nss/getXXent_r.c: Likewise.
59911         * sysdeps/posix/getaddrinfo.c: Likewise.
59913 2012-10-30  Andreas Jaeger  <aj@suse.de>
59915         * po/ru.po: Update Russion translation from translation project.
59917 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59919         [BZ #14152]
59920         [BZ #14783]
59921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59922         result and shift together with sticky bit instead of replicating
59923         round-to-nearest rounding.
59924         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59925         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59926         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59927         missing underflow exceptions.
59928         (fma_test_towardzero): Add more tests.
59929         (fma_test_downward): Likewise.
59930         (fma_test_upward): Likewise.
59932         [BZ #14047]
59933         * sysdeps/generic/tininess.h: New file.
59934         * sysdeps/i386/tininess.h: Likewise.
59935         * sysdeps/sh/tininess.h: Likewise.
59936         * sysdeps/x86_64/tininess.h: Likewise.
59937         * stdlib/tst-strtod-underflow.c: Likewise.
59938         * stdlib/tst-tininess.c: Likewise.
59939         * stdlib/strtod_l.c: Include <tininess.h>.
59940         (round_and_return): Do not set errno for exact underflow cases.
59941         Force an underflow exception when setting errno for underflow.
59942         Determine underflow based on rounding to normal precision if
59943         TININESS_AFTER_ROUNDING.
59944         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59945         ERANGE for exact underflow cases.
59946         * stdlib/Makefile (tests): Add tst-tininess and
59947         tst-strtod-underflow.
59948         ($(objpfx)tst-tininess): Use $(link-libm).
59949         ($(objpfx)tst-strtod-underflow): Likewise.
59951 2012-10-30  Andreas Jaeger  <aj@suse.de>
59953         [BZ#14767]
59954         * elf/Makefile (tests): Remove conditional for have-initfini-array
59955         since this is now always required and the variable does not exist
59956         anymore.
59957         (tests-static): Likewise.
59958         (modules-names): Likewise.
59960         * po/eo.po: Add Esperanto translation from translation project.
59962         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59963         merged with constructor/destructor.
59964         (init_array): Likewise.
59965         * elf/tst-array2dep.c (fini_array): Likewise.
59966         (init_array): Likewise.
59968 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59970         * manual/message.texi: Delete @cartouche tags.
59972 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59974         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59975         EOPNOTSUPP.
59976         * sysdeps/mach/hurd/fsync.c: Likewise.
59978         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59979         [_POSIX_REALTIME_SIGNALS]: Change condition to
59980         [_POSIX_REALTIME_SIGNALS > 0].
59982 2012-10-27  Andreas Jaeger  <aj@suse.de>
59984         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59985         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59986         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59987         [__WORDSIZE != 64]: Likewise.
59989 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59991         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59992         *  iconvdata/tst-tables.sh: Likewise.
59994 2012-10-25  David S. Miller  <davem@davemloft.net>
59996         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59997         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59998         of strtoull.
60000         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60001         ifunc-impl-list.c
60002         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60003         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60004         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60005         file.
60007 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60009         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60010         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60011         __getdirentries.
60013 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60014             Jim Blandy  <jimb@codesourcery.com>
60016         * scripts/cross-test-ssh.sh: New file.
60017         * manual/install.texi (Configuring and compiling): Document use of
60018         cross-test-ssh.sh.
60019         * INSTALL: Regenerated.
60021 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60023         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60024         EOPNOTSUPP.
60026 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60028         * Makeconfig (run-program-prefix): Fix comment.
60030 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60031             Jim Blandy  <jimb@codesourcery.com>
60033         * Makeconfig (test-wrapper): New variable,
60034         (test-wrapper-env): Likewise.
60035         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60036         (run-built-tests): Define to yes.
60037         (run-program-prefix): Use $(test-wrapper).
60038         (built-program-cmd): Likewise.
60039         * Rules (make-test-out): Use $(test-wrapper-env) and
60040         $(host-built-program-cmd).
60041         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60042         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60043         tst-pathopt.sh.
60044         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60045         $(test-wrapper-env) to tst-rtld-load-self.sh.
60046         ($(objpfx)order2.out): Use $(test-wrapper).
60047         ($(objpfx)tst-initorder.out): Likewise.
60048         ($(objpfx)tst-initorder2.out): Likewise.
60049         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60050         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60051         (test_wrapper_env): New variable.  Use it to run ld.so.
60052         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60053         Use it to run ld.so.
60054         (test_wrapper_env): Likewise.
60055         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60056         $(test-wrapper) to run-iconv-test.sh.
60057         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60058         (ICONV): Use $test_wrapper.
60059         * posix/Makefile ($(objpfx)globtest.out): Pass
60060         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60061         globtest.sh, not $(run-program-prefix).
60062         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60063         (test_wrapper): Likewise.
60064         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60065         set together with run_via_rtld_prefix.
60066         (run_program_prefix): Define in terms of test_wrapper and
60067         run_via_rtld_prefix.
60069 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60071         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60072         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60073         Targets removed.
60075         [BZ #14743]
60076         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60077         Declare __clock_getres, __clock_gettime, __clock_settime,
60078         __clock_nanosleep, and __clock_getcpuclockid.
60079         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60080         Remove librt_hidden_def (clock_gettime).
60081         * sysdeps/unix/clock_gettime.c: Likewise.
60082         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60083         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60084         * rt/clock_getres.c: Define __clock_getres as an alias.
60085         * sysdeps/posix/clock_getres.c: Likewise.
60086         * rt/clock_settime.c: Define __clock_settime as an alias.
60087         * sysdeps/unix/clock_settime.c: Likewise.
60088         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60089         * sysdeps/unix/clock_nanosleep.c: Likewise.
60090         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60091         * rt/clock-compat.c: New file.
60092         * rt/Makefile (librt-routines): Add clock-compat and move
60093         $(clock-routines) to ...
60094         (routines): ... here, new variable.
60095         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60096         Don't add get_clockfreq here.
60097         * rt/Versions (libc: GLIBC_2.17): New version set.
60098         Add clock_* symbols here.
60099         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60100         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60101         (GLIBC_2.17): Add clock_* symbols.
60102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60104         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60106         Likewise.
60107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60108         Likewise.
60109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60113         * NEWS: Mention the move.
60115         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60116         Use __open, __read, __close rather than their public counterparts.
60117         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60118         (__get_clockfreq_via_cpuinfo): Likewise.
60119         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60120         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60122         * config.h.in (HAVE_IFUNC): New #undef.
60123         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60124         was successful.
60125         * configure: Regenerated.
60127 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60129         * configure.in: Move READELF check to start of file.
60130         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60131         libc_cv_asm_gnu_indirect_function in the process.
60132         * configure: Regenerated.
60134 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60136         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60137         send the output to /dev/null.
60138         (libc_cv_cc_with_libunwind): Likewise.
60139         (libc_cv_as_noexecstack): Likewise.
60140         * configure: Regenerate.
60142 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60144         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60146         * posix/globtest.sh (TMPDIR): Do not set.
60147         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60148         (testout): Likewise.
60150 2012-10-24  Andreas Jaeger  <aj@suse.de>
60152         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60153         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60154         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60155         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60156         posix_fadvise64, posix_fallocate64.
60158         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60159         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60160         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60161         Likewise.
60162         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60163         Likewise.
60164         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60166         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60167         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60168         <bits/fcntl-linux.h>.
60169         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60171         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60172         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60173         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60174         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60175         [__WORDSIZE != 64]: Likewise.
60177 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60179         * Makeconfig (run-built-tests): New variable.
60180         * Rules [$(cross-compiling) = yes]: Change condition to
60181         [$(run-built-tests) = no].
60182         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60183         to [$(run-built-tests) = yes].
60184         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60185         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60186         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60187         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60188         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60189         * io/Makefile [$(cross-compiling) = no]: Likewise.
60190         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60191         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60192         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60193         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60194         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60195         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60196         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60197         * string/Makefile [$(cross-compiling) = no]: Likewise.
60199         * posix/Makefile ($(objpfx)globtest.out): Pass
60200         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60201         $(rtld-installed-name).
60202         * posix/globtest.sh (elf_objpfx): Remove variable.
60203         (rtld_installed_name): Likewise.
60204         (library_path): Likewise.
60205         (run_program_prefix): New variable.  Use for running globtest
60206         binary.
60208 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60209             Joseph Myers  <joseph@codesourcery.com>
60211         * Makeconfig (host-built-program-cmd): New variable.
60212         * elf/Makefile (tst-stackguard1-ARGS): Use
60213         $(host-built-program-cmd).
60214         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60215         (tst-spawn-ARGS): Likewise.
60216         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60218 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60219             Jim Blandy  <jimb@codesourcery.com>
60221         * Makeconfig (run-via-rtld-prefix): New variable.
60222         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60223         (built-program-cmd): Likewise.
60225 2012-10-22  Andreas Jaeger  <aj@suse.de>
60227         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60228         __O_RSYNC if it exists, otherwise to O_SYNC.
60230 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60231             Joseph Myers  <joseph@codesourcery.com>
60233         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60234         /dev/null.
60235         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60236         from /dev/null
60237         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60238         /dev/null.
60240 2012-10-22  Andreas Jaeger  <aj@suse.de>
60242         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60243         Define always.
60244         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60246         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60247         bits/fcntl-linux.h.
60249         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60250         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60252         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60253         to __O_LARGEFILE.
60254         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60255         to __O_LARGEFILE.
60257 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60258             Joseph Myers  <joseph@codesourcery.com>
60260         * config.make.in (NM): New variable.
60262 2012-10-21  Andreas Jaeger  <aj@suse.de>
60264         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60265         definitions and declarations that are provided by
60266         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60268 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60270         [BZ #14683]
60271         * elf/Makefile (tests-static): Add tst-leaks1-static.
60272         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60273         ($(objpfx)tst-leaks1-static): New rule.
60274         ($(objpfx)tst-leaks1-static-mem): Likewise.
60275         (tst-leaks1-static-ENV): New macro.
60276         * elf/dl-open.c (dl_open_worker): Check the main application
60277         only if SHARED is defined.
60278         * elf/tst-leaks1-static.c: New file.
60280 2012-10-20  Andreas Jaeger  <aj@suse.de>
60282         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60283         generic values for Linux.
60284         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60285         and declarations that are provided by <bits/fcntl-linux.h> and
60286         include <bits/fcntl-linux.h>.
60287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60288         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60290 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60292         * io/fcntl.h: Move include of <bits/types.h> to the top and
60293         include it unconditionally.
60295 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60297         * wcsmbs/Makefile (tests-ifunc): New variable.
60298         (tests): Add $(tests-ifunc).
60299         * wcsmbs/test-wcschr-ifunc.c: New file.
60300         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60301         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60302         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60303         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60304         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60306         * string/Makefile (tests-ifunc): New variable.
60307         (tests): Add $(tests-ifunc).
60308         * string/test-memccpy.c (TEST_NAME): New macro.
60309         * string/test-memchr.c (TEST_NAME): Likewise.
60310         * string/test-memcmp.c (TEST_NAME): Likewise.
60311         * string/test-memcpy.c (TEST_NAME): Likewise.
60312         * string/test-memmem.c (TEST_NAME): Likewise.
60313         * string/test-memmove.c (TEST_NAME): Likewise.
60314         * string/test-memset.c (TEST_NAME): Likewise.
60315         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60316         * string/test-stpcpy.c (TEST_NAME): Likewise.
60317         * string/test-stpncpy.c (TEST_NAME): Likewise.
60318         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60319         * string/test-strcasestr.c (TEST_NAME): Likewise.
60320         * string/test-strcat.c (TEST_NAME): Likewise.
60321         * string/test-strchr.c (TEST_NAME): Likewise.
60322         * string/test-strcmp.c(TEST_NAME): Likewise.
60323         * string/test-strcpy.c (TEST_NAME): Likewise.
60324         * string/test-strcspn.c (TEST_NAME): Likewise.
60325         * string/test-strlen.c (TEST_NAME): Likewise.
60326         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60327         * string/test-strncmp.c (TEST_NAME): Likewise.
60328         * string/test-strncpy.c (TEST_NAME): Likewise.
60329         * string/test-strnlen.c (TEST_NAME): Likewise.
60330         * string/test-strpbrk.c (TEST_NAME): Likewise.
60331         * string/test-strrchr.c (TEST_NAME): Likewise.
60332         * string/test-strspn.c (TEST_NAME): Likewise.
60333         * string/test-strstr.c (TEST_NAME): Likewise.
60334         * string/test-bcopy-ifunc.c: New file.
60335         * string/test-bzero-ifunc.c: Likewise.
60336         * string/test-memccpy-ifunc.c: Likewise.
60337         * string/test-memchr-ifunc.c: Likewise.
60338         * string/test-memcmp-ifunc.c: Likewise.
60339         * string/test-memcpy-ifunc.c: Likewise.
60340         * string/test-memmem-ifunc.c: Likewise.
60341         * string/test-memmove-ifunc.c: Likewise.
60342         * string/test-mempcpy-ifunc.c: Likewise.
60343         * string/test-memset-ifunc.c: Likewise.
60344         * string/test-rawmemchr-ifunc.c: Likewise.
60345         * string/test-stpcpy-ifunc.c: Likewise.
60346         * string/test-stpncpy-ifunc.c: Likewise.
60347         * string/test-strcasecmp-ifunc.c: Likewise.
60348         * string/test-strcasestr-ifunc.c: Likewise.
60349         * string/test-strcat-ifunc.c: Likewise.
60350         * string/test-strchr-ifunc.c: Likewise.
60351         * string/test-strchrnul-ifunc.c: Likewise.
60352         * string/test-strcmp-ifunc.c: Likewise.
60353         * string/test-strcpy-ifunc.c: Likewise.
60354         * string/test-strcspn-ifunc.c: Likewise.
60355         * string/test-strlen-ifunc.c: Likewise.
60356         * string/test-strncasecmp-ifunc.c: Likewise.
60357         * string/test-strncat-ifunc.c: Likewise.
60358         * string/test-strncmp-ifunc.c: Likewise.
60359         * string/test-strncpy-ifunc.c: Likewise.
60360         * string/test-strnlen-ifunc.c: Likewise.
60361         * string/test-strpbrk-ifunc.c: Likewise.
60362         * string/test-strrchr-ifunc.c: Likewise.
60363         * string/test-strspn-ifunc.c: Likewise.
60364         * string/test-strstr-ifunc.c: Likewise.
60366         * debug/Makefile (tests-ifunc): New variable.
60367         (tests): Add $(tests-ifunc).
60368         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60369         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60370         * debug/test-stpcpy_chk-ifunc.c: New file.
60371         * debug/test-strcpy_chk-ifunc.c: Likewise.
60373 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60375         [BZ #13601]
60376         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60377         header is not read in.
60379 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60381         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60382         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60383         directly.  Pass built executable to script as
60384         $(built-program-cmd).
60385         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60386         $testprogram without using LD_LIBRARY_PATH and $ldso.
60388         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60389         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60390         $(rtld-installed-name).
60391         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60392         (rtld_installed_name): Likewise.
60393         (library_path): Likewise.
60394         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60395         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60396         $(run-program-prefix) to tst-tables.sh.
60397         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60398         it to run tst-table-from and tst-table-to.
60399         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60400         Pass it to tst-table.sh.
60401         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60402         $(run-program-prefix) to tst-gettext.sh.
60403         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60404         tst-translit.sh.
60405         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60406         tst-gettext2.sh.
60407         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60408         to run tst-gettext.
60409         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60410         to run tst-gettext2.
60411         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60412         to run tst-translit.
60413         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60414         $(run-program-prefix) to tst-mtrace.sh.
60415         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60416         to run tst-mtrace.
60417         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60418         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60419         $(rtld-installed-name).
60420         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60421         (rtld_installed_name): Likewise.
60422         (run_program_prefix): New variable.  Use it to run wordexp-test.
60424         * Makeconfig (ARCH): Remove all definitions.
60425         (machine): Likewise.
60426         [ARCH]: Remove conditional code.
60427         [!objdir]: Give error.
60428         [!objdir] (objpfx): Remove.
60429         [!objdir] (common-objpfx): Likewise.
60430         [!objdir] (common-objdir): Likewise.
60431         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60432         AC_CONFIG_FILES call.
60433         * configure: Regenerated.
60435         [BZ #13888]
60436         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60437         or TMPDIR.
60438         (testout): Likewise.
60440         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60441         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60442         $(rtld-installed-name).
60443         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60444         (rtld_installed_name): Likwise.
60445         (runit): Remove function.
60446         (run_getconf): New variable,  Use it for running getconf binary.
60448 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60450         [BZ #14716]
60451         * string/test-memmem.c (check_result): New function.
60452         (do_one_test): Use it.
60453         (check1): New function.
60454         (test_main): Use it.
60456 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60458         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60460 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60462         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60463         (_G_LSEEK64): Likewise.
60464         (_G_MMAP64): Likewise.
60465         (_G_FSTAT64): Likewise.
60466         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60467         (_G_LSEEK64): Likewise.
60468         (_G_MMAP64): Likewise.
60469         (_G_FSTAT64): Likewise.
60470         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60471         unconditional.  Call __mmap64 directly.
60472         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60473         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60474         __lseek64 directly.
60475         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60476         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60477         __mmap64 directly.
60478         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60479         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60480         __lseek64 directly.
60481         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60482         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60483         __lseek64 directly.
60484         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60485         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60486         __lseek64 directly.
60487         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60488         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60489         __fxstat64 directly.
60490         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60491         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60492         unconditional.
60493         (freopen64) [!_G_OPEN64]: Remove conditional code.
60494         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60495         unconditional.
60496         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60497         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60498         unconditional.
60499         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60500         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60501         unconditional.
60502         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60503         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60504         unconditional.
60505         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60506         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60507         unconditional.
60508         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60509         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60510         unconditional.
60511         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60512         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60513         unconditional.
60514         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60516 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60518         [BZ #12140]
60519         * manual/memory.texi (Malloc Tunable Parameters): Add note
60520         about free list pointers overwriting some perturb bytes.
60521         Wording suggested by Roland McGrath.
60523 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60525         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60526         (lgamma_test): Likewise.
60527         (tgamma_test): Likewise.
60529 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60531         [BZ #14700]
60532         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60533         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60535 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60537         * NEWS: Mention BZ #14716.
60538         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60539         when removing AVAILABLE1_USES_J macro.
60541 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60543         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60544         (__bswap_64): __uint64_t for unsigned 64-bit int.
60546 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60548         * include/string.h (memmem): Declare libc hidden alias.
60549         * string/memmem.c (memmem): Define libc hidden alias.
60550         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60551         __read, __close instead of open, read, close.
60553 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60556         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60557         global and hidden.
60558         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60559         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60560         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60561         Likewise.
60562         (__rawmemchr_sse2): Likewise.
60563         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60564         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60565         (__strchr_sse2): Likewise.
60566         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60567         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60568         (__strcasecmp_sse2): Likewise.
60569         (__strncasecmp_sse2): Likewise.
60570         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60571         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60572         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
60573         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
60574         (__strrchr_sse2): Likewise.
60575         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
60576         ifunc-impl-list.c.
60577         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
60578         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
60579         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
60580         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60581         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
60582         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
60583         * sysdeps/x86_64/multiarch/memset.S: Likewise.
60584         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
60585         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
60586         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
60587         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
60588         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
60589         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
60590         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
60591         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
60592         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
60593         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
60594         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
60595         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
60596         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
60597         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
60598         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
60599         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
60600         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
60601         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
60602         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60603         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
60604         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60605         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
60606         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
60608         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
60609         global and hidden.
60610         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
60611         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
60612         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
60613         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
60614         Likewise.
60615         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
60616         Likewise.
60617         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
60618         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
60619         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
60620         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
60621         ifunc-impl-list.c.
60622         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
60623         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
60624         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
60625         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
60626         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
60627         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
60628         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
60629         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
60630         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
60631         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
60632         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
60633         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
60634         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
60635         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
60636         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
60637         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
60638         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
60639         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
60640         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
60641         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
60642         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60643         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
60644         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
60645         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
60646         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60647         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
60648         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
60649         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
60650         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
60651         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
60652         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
60653         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
60654         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
60655         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
60656         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
60657         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
60658         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
60659         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
60660         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
60661         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
60662         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
60664         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
60665         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
60666         * include/ifunc-impl-list.h: New file.
60667         * misc/ifunc-impl-list.c: Likewise.
60668         * misc/Makefile (routines): Add ifunc-impl-list.
60669         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
60670         * string/test-string.h: Include <ifunc-impl-list.h>.
60671         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
60672         TEST_NAME]: New variables.
60673         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
60674         are defined.
60675         (test_init): Call __libc_ifunc_impl_list to initialize
60676         func_list if TEST_IFUNC and TEST_NAME are defined.
60678         * string/Makefile (strop-tests): Add bcopy and bzero.
60679         * string/test-bcopy.c: New file.
60680         * string/test-bzero.c: Likewise.
60681         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
60682         defined.
60683         * string/test-memset.c: Support bzero test if TEST_BZERO is
60684         defined.
60685         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
60686         __libc_memmove.
60687         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
60688         __libc_memset.
60689         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
60690         of memset.
60692 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
60694         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
60695         * configure: Regenerated.
60697         * Makeconfig (+link-static-before-libc): Don't include
60698         $(link-static-libc).
60700         * libio/libio.h (_IO_pos_t): Remove.
60702 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60704         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
60705         McGrath.
60707 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60709         * crypt/crypt-entry.c: Include fips-private.h.
60710         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
60711         * crypt/md5c-test.c (main): Tolerate disabled MD5.
60712         * sysdeps/unix/sysv/linux/fips-private.h: New file.
60713         * sysdeps/generic/fips-private.h: New file, dummy fallback.
60715 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
60717         * crypt/crypt-private.h: Include stdbool.h.
60718         (_ufc_setup_salt_r): Return bool.
60719         * crypt/crypt-entry.c: Include errno.h.
60720         (__crypt_r): Return NULL with EINVAL for bad salt.
60721         * crypt/crypt_util.c (bad_for_salt): New.
60722         (_ufc_setup_salt_r): Check that salt is long enough and within
60723         the specified alphabet.
60724         * crypt/badsalttest.c: New file.
60725         * crypt/Makefile (tests): Add it.
60726         ($(objpfx)badsalttest): New.
60728 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
60730         * NEWS: Add entry for BZ #14602.
60732 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60734         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
60735         type-generic.
60736         * math/libm-test.inc: Update comment listing what functions and
60737         macros are tested.
60738         (isgreater_test): New function.
60739         (isgreaterequal_test): Likewise.
60740         (isless_test): Likewise.
60741         (islessequal_test): Likewise.
60742         (islessgreater_test): Likewise.
60743         (isunordered_test): Likewise.
60744         (main): Call the new functions.
60746 2012-10-09  Roland McGrath  <roland@hack.frob.com>
60748         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
60749         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
60750         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
60751         * sysdeps/i386/configure: Regenerated.
60752         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
60753         * sysdeps/mach/configure: Regenerated.
60754         * sysdeps/mach/hurd/configure: Regenerated.
60755         * sysdeps/powerpc/configure: Regenerated.
60756         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60757         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60758         * sysdeps/s390/s390-32/configure: Regenerated.
60759         * sysdeps/s390/s390-64/configure: Regenerated.
60760         * sysdeps/sh/configure: Regenerated.
60761         * sysdeps/sparc/configure: Regenerated.
60762         * sysdeps/unix/sysv/linux/configure: Regenerated.
60763         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60764         * sysdeps/x86_64/configure: Regenerated.
60766         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60767         defined.  Don't check if MAP is NULL.
60769 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60771         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60772         (_G_stat64): Likewise.
60773         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60774         (_G_stat64): Likewise.
60775         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60776         instead of struct _G_stat64.
60777         * libio/fileops.c (mmap_remap_check): Likewise.
60778         (decide_maybe_mmap): Likewise.
60779         (_IO_new_file_seekoff): Likewise.
60780         (_IO_file_stat): Likewise.
60781         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60782         _G_off64_t.
60783         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60784         instead of struct _G_stat64.
60785         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60787 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60789         [BZ #14602]
60790         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60791         Replace with ...
60792         (CHECK_EOL): New macro.
60793         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60794         CHECK_EOL.
60795         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60796         Replace with CHECK_EOL.
60797         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60798         Replace with CHECK_EOL.
60800 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60802         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60803         type-generic.
60804         * math/libm-test.inc: Update comment listing what functions and
60805         macros are tested.
60806         (finite_test): New function.
60807         (isinf_test): Likewise.
60808         (isnan_test): Likewise.
60809         (fpclassify_test): Test subnormal input.
60810         (isfinite_test): Likewise.
60811         (isnormal_test): Likewise.
60812         (main): Call the new functions.
60814 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60816         [BZ #14660]
60817         * Makerules (%.dynsym): Force C locale when running
60818         $(OBJDUMP) --dynamic-syms.
60820 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60822         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60823         <stdint.h>.
60825 2012-10-06  David S. Miller  <davem@davemloft.net>
60827         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60828         upper 32-bits of the length value in %o2 since we use branch-on-register
60829         tests which consider the entire 64-bit register.
60831 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60833         * string/test-strstr.c (check2): Add a test for page boundary.
60835 2012-10-05  David S. Miller  <davem@davemloft.net>
60837         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60838         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60839         file.
60840         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60841         sysdep_routines.
60842         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60843         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60844         and bzero when HWCAP_SPARC_CRYPTO is present.
60846 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60848         [BZ #14602]
60849         * string/test-strstr.c (check2): New function.
60850         (test_main): Call check2.
60852         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60853         and bug-strchr1.
60854         * string/bug-strcasestr1.c (do_test): Moved to ...
60855         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
60861         * string/test-strchr.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-strstr1.c (main): Moved to ...
60867         * string/test-strstr.c (check1): Here.  New function.
60868         (do_one_test): Break out result checking code into ...
60869         (check_result): This.  New function.
60870         (do_one_test): Call check_result.
60871         (test_main): Call check1.
60872         * string/bug-strcasestr1.c: Removed.
60873         * string/bug-strchr1.c: Likewise.
60874         * string/bug-strstr1.c: Likewise.
60876         * elf/Makefile (dl-routines): Add hwcaps.
60877         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60878         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60879         (_dl_important_hwcaps): Moved to ...
60880         * elf/dl-hwcaps.c: Here.  New file.
60881         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60883         [BZ #14557]
60884         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60885         if IS_IN_rtld isn't defined.
60887         * elf/dl-support.c (_dl_sysinfo_map): New.
60888         Include "get-dynamic-info.h" and "setup-vdso.h".
60889         (_dl_non_dynamic_init): Call setup_vdso.
60890         * elf/dynamic-link.h: Don't include <assert.h>.
60891         (elf_get_dynamic_info): Moved to ...
60892         * elf/get-dynamic-info.h: Here.  New file.
60893         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60894         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60895         * elf/setup-vdso.h: Here.  New file.
60896         * elf/rtld.c: Include "setup-vdso.h".
60897         (dl_main): Call setup_vdso.
60899 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60901         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60902         creal in comment listing functions tested.  List finite, isinf,
60903         isnan, isless, islessequal, isgreater, isgreaterequal,
60904         islessgreater, isunordered, lgamma_r and pow10 as functions and
60905         macros not tested.  Mention which functions not tested are aliases
60906         for other functions.  Fix typo.  Note that signs of NaNs are not
60907         tested.
60909         * scripts/config.guess: Update from config.git.
60910         * scripts/config.sub: Likewise.
60912 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60914         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60915         * misc/madvise.c (madvise): Renamed to __madvise.
60916         Make madvise a weak alias.
60917         * include/sys/mman.h: Declare __madvise.
60918         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60919         * sysdeps/unix/syscalls.list
60920         (madvise): Make __madvise the strong name, and madvise a weak alias.
60921         * sysdeps/unix/sysv/linux/syscalls.list
60922         (madvise, mmap): Remove redundant entries.
60923         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60924         * malloc/malloc.c (mtrim): Likewise.
60925         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60927 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60929         * sysdeps/mach/hurd/dl-cache.c: File removed.
60930         * config.h.in (USE_LDCONFIG): New #undef.
60931         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60932         * configure: Regenerated.
60933         * elf/Makefile (dl-routines): Add dl-cache only under
60934         [$(use-ldconfig) = yes].
60935         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60936         cache on [USE_LDCONFIG].
60937         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60938         [USE_LDCONFIG].
60939         * elf/rtld.c (dl_main): Likewise.
60941 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60943         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60944         _SC_LEVEL4_CACHE_LINESIZE.
60946 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60948         * sysdeps/unix/bsd/confstr.h: File removed.
60950 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60952         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60953         sys/sdt-config.h.
60955 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60957         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60958         Make 'mapoff' field ElfW(Off) rather than off_t.
60960 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60962         * nscd/Makefile: Remove nscd-cflags and all its users.
60963         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60964         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60966         [BZ #10631]
60967         * malloc.c (malloc_printerr): Clarify error message.
60969 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60971         [BZ #14648]
60972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60973         Set bit_FMA_Usable if FMA is supported.
60974         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60975         macro.
60976         (bit_FMA4_Usable): Updated.
60977         (index_FMA_Usable): New macro.
60978         (CPUID_FMA): Likewise.
60979         (HAS_FMA): Defined with bit_FMA_Usable.
60981 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60983         * bits/types.h (__swblk_t): Type removed.
60984         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60985         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60986         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60987         (__SWBLK_T_TYPE): Likewise.
60988         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60989         (__SWBLK_T_TYPE): Likewise.
60990         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60991         (__SWBLK_T_TYPE): Likewise.
60992         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60993         (__SWBLK_T_TYPE): Likewise.
60995 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60996             Honza Horak <hhorak@redhat.com>
60998         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60999         (xdr_mapname): Use YPMAXMAP as maxsize.
61000         (xdr_peername): Use YPMAXPEER as maxsize.
61001         (xdr_keydat): Use YPAXRECORD as maxsize.
61002         (xdr_valdat): Use YPMAXRECORD as maxsize.
61004 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61006         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61008         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61009         * csu/init-first.c: ... here.
61010         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61011         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61012         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61013         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61014         * sysdeps/i386/init-first.c: File removed.
61015         * sysdeps/sh/init-first.c: File removed.
61017 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61019         [BZ #14645]
61020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61021         if x * y might underflow to zero and z is zero.
61022         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61023         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61024         * math/libm-test.inc (min_subnorm_value): New variable.
61025         (fma_test): Add more tests.
61026         (fma_test_towardzero): Likewise.
61027         (fma_test_downward): Likewise.
61028         (fma_test_upward): Likewise.
61029         (initialize): Set min_subnorm_value.
61031 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61033         [BZ #14638]
61034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61035         0 + 0.
61036         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61037         mode for addition resulting in exact zero.
61038         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61039         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61040         exact 0 + 0.
61041         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61042         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61043         * math/libm-test.inc (fma_test): Add more tests.
61044         (fma_test_towardzero): New function.
61045         (fma_test_downward): Likewise.
61046         (fma_test_upward): Likewise.
61047         (main): Call the new functions.
61049 2012-09-28  David S. Miller  <davem@davemloft.net>
61051         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61053 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61055         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61056         instead of SIGALRM.
61058         * sysdeps/gnu/_G_config.h: Moved to ...
61059         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61060         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61061         * sysdeps/generic/_G_config.h: ... here.
61063         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61065         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61067         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61068         Conditionalize target on [libnss_test1.so-version].
61070         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61072         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61073         (elfobjdir): Move out of conditionals.
61075         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61076         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61077         (__nss_lookup_function): Conditionalize label remove_from_tree on
61078         [!DO_STATIC_NSS || SHARED], matching its only use.
61080 2012-09-28  David S. Miller  <davem@davemloft.net>
61082         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61083         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61084         file.
61085         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61086         sysdep_routines.
61087         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61088         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61089         when HWCAP_SPARC_CRYPTO is present.
61091 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61093         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61095 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61097         [BZ #6530]
61098         * stdio-common/vfprintf.c (process_string_arg): Revert
61099         2000-07-22 change.
61101 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61103         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61104         for testcase.
61105         * stdio-common/tst-sprintf.c: Include <locale.h>
61106         (main): Test sprintf's handling of incomplete multibyte
61107         characters.
61109 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61111         * elf/dl-runtime.c (VERSYMIDX): Removed.
61112         * elf/dl-version.c (VERSYMIDX): Likewise.
61113         * elf/do-rel.h (VERSYMIDX): Likewise.
61114         (VALIDX): Likewise.
61115         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61116         * elf/rtld.c (VALIDX): Likewise.
61117         (ADDRIDX): Likewise.
61118         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61119         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61120         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61121         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61122         (VALIDX): Likewise.
61123         (ADDRIDX): Likewise.
61125 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61127         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61129 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61131         [BZ #11438]
61132         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61133         to global scope.
61134         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61135         addresses are in the same scope as 192.0.2/24.
61136         * posix/gai.conf: Document new scope table defaults.
61138 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61140         [BZ #5298]
61141         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61142         for ftell.  Compute offsets from write pointers instead.
61143         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61145 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61147         [BZ #14543]
61148         * libio/Makefile (tests): New test case tst-fseek.
61149         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61150         combination works in wide mode.
61151         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61152         state when the external buffer state changes.
61154 2012-09-27  David S. Miller  <davem@davemloft.net>
61156         [BZ #14376]
61157         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61158         pass reloc->r_addend in as the 'high' argument to
61159         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61163 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61165         * rt/tst-aio2.c: Include <pthread.h>.
61166         * rt/tst-aio3.c: Likewise.
61168 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61170         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61172 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61174         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61175         contents on [SHARED].
61177 2012-09-26  Marek Polacek  <polacek@redhat.com>
61179         [BZ #14530]
61180         [BZ #13741]
61181         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61182         for C++ and GCC <4.3 as well as for non GCC compilers.
61184 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61188 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61190         * Makefile.in (all, install): Declare with .PHONY.
61191         Reported by Michael Hope <michael.hope@linaro.org>.
61193 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61195         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61196         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61197         system header.
61198         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61199         Likewise.
61200         (sydep_routines): Add the new and the internal functions.
61201         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61202         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61204         (GLIBC_2.17): Add the new function.
61205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61206         (GLIBC_2.17): Likewise.
61207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61208         (GLIBC_2.17): Likewise.
61209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61210         (GLIBC_2.17): Likewise.
61211         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61213 2012-09-25  Alan Modra  <amodra@gmail.com>
61215         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61216         Add release barrier before setting once_control to say
61217         initialisation is done.  Add hints on lwarx.  Use macro in
61218         place of isync.
61219         (clear_once_control): Add release barrier.
61221 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61223         [BZ #13629]
61224         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61225         specially.
61226         * math/s_clog10.c (__clog10): Likewise.
61227         * math/s_clog10f.c (__clog10f): Likewise.
61228         * math/s_clog10l.c (__clog10l): Likewise.
61229         * math/s_clogf.c (__clogf): Likewise.
61230         * math/s_clogl.c (__clogl): Likewise.
61231         * math/Makefile (libm-calls): Add x2y2m1.
61232         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61233         (__x2y2m1): Likewise.
61234         (__x2y2m1l): Likewise.
61235         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61236         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61237         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61238         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61239         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61240         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61241         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61242         * sysdeps/i386/fpu/libm-test-ulps: Update.
61243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61245         [BZ #14621]
61246         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61247         int as type of variable DEPTH.
61248         (glob): Use size_t instead of int as type of variables NEWCOUNT
61249         and OLD_PATHC.
61251 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61253         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61254         Add s_sincosf-sse2.
61255         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61256         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61257         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61258         macros for using routine as __sincosf_ia32.
61259         Use macro for function declaration and weak_alias.
61260         * sysdeps/i386/fpu/libm-test-ulps: Update.
61262         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61265         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61266         subnormal argument.
61267         * math/s_cexpf.c (__cexpf): Likewise.
61268         * math/s_csinf.c (__csinf): Likewise.
61269         * math/s_csinhf.c (__csinhf): Likewise.
61270         * math/s_ctanf.c (__ctanf): Likewise.
61271         * math/s_ctanhf.c (__ctanhf): Likewise.
61272         * math/s_ccosh.c (__ccoshf): Likewise.
61273         * math/s_cexp.c (__cexpl): Likewise.
61274         * math/s_csin.c (__csin): Likewise.
61275         * math/s_csinh.c (__csinh): Likewise.
61276         * math/s_ctan.c (__ctan): Likewise.
61277         * math/s_ctanh.c (ctanh): Likewise.
61278         * math/s_ccoshl.c (__ccoshl): Likewise.
61279         * math/s_cexpl.c (__cexpl): Likewise.
61280         * math/s_csinl.c (__csinl): Likewise.
61281         * math/s_csinhl.c (__csinhl): Likewise.
61282         * math/s_ctanl.c (__ctanl): Likewise.
61283         * math/s_ctanhl.c (__ctanhl): Likewise.
61285 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61287         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61288         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61289         (_IO_off_t): Define to __off_t, not _G_off_t.
61290         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61291         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61292         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61293         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61294         type of __dummy and __dummy2 fields.
61295         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61296         (_G_ssize_t): Likewise.
61297         (_G_off_t): Likewise.
61298         (_G_pid_t): Likewise.
61299         (_G_uid_t): Likewise.
61300         (_G_wchar_t): Likewise.
61301         (_G_wint_t): Likewise.
61302         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61303         (_G_ssize_t): Likewise.
61304         (_G_off_t): Likewise.
61305         (_G_pid_t): Likewise.
61306         (_G_uid_t): Likewise.
61307         (_G_wchar_t): Likewise.
61308         (_G_wint_t): Likewise.
61309         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61310         (_G_ssize_t): Likewise.
61311         (_G_off_t): Likewise.
61312         (_G_pid_t): Likewise.
61313         (_G_uid_t): Likewise.
61314         (_G_wchar_t): Likewise.
61315         (_G_wint_t): Likewise.
61317 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61319         * malloc/arena.c: Include malloc-sysdep.h.
61320         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61321         is sufficient to shrink the heap or an unmap is needed.
61322         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61323         new function check_may_shrink_heap.
61324         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61325         new function check_may_shrink_heap.
61327 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61329         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61330         comments.
61332 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61334         * catgets/test-gencat.sh: Add "set -e".
61335         * elf/tst-pathopt.sh: Likewise.
61336         * grp/tst_fgetgrent.sh: Likewise.
61337         * iconvdata/run-iconv-test.sh: Likewise.
61338         * intl/tst-gettext.sh: Likewise.
61339         * intl/tst-gettext2.sh: Likewise.
61340         * intl/tst-gettext4.sh: Likewise.
61341         * intl/tst-gettext6.sh: Likewise.
61342         * intl/tst-translit.sh: Likewise.
61343         * io/ftwtest-sh: Likewise.
61344         * libio/test-freopen.sh: Likewise.
61345         * malloc/tst-mtrace.sh: Likewise.
61346         * posix/globtest.sh: Likewise.
61347         * posix/tst-getconf.sh: Likewise.
61348         * posix/wordexp-tst.sh: Likewise.
61349         * stdio-common/tst-printf.sh: Likewise.
61350         * stdio-common/tst-unbputc.sh: Likewise.
61351         * stdlib/tst-fmtmsg.sh: Likewise.
61352         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61353         * catgets/Makefile: Do not specify -e option when running
61354         testsuite shell scripts.
61355         * elf/Makefile: Likewise.
61356         * grp/Makefile: Likewise.
61357         * iconvdata/Makefile: Likewise.
61358         * intl/Makefile: Likewise.
61359         * io/Makefile: Likewise.
61360         * libio/Makefile: Likewise.
61361         * malloc/Makefile: Likewise.
61362         * posix/Makefile: Likewise.
61363         * stdio-common/Makefile: Likewise.
61364         * stdlib/Makefile: Likewise.
61365         * sysdeps/x86_64/Makefile: Likewise.
61367         * io/ftwtest-sh: Add copyright header.
61368         * posix/globtest.sh: Likewise.
61369         * posix/tst-getconf.sh: Likewise.
61370         * posix/wordexp-tst.sh: Likewise.
61371         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61373 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61375         [BZ #13679]
61376         * Makeconfig (+link): Defined as $(+link-static) if
61377         $(build-shared) isn't yes.
61378         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61379         isn't yes.
61380         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61382         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61384         [BZ #14562]
61385         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61386         new chunk size with MALLOC_ALIGN_MASK.
61388 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61390         [BZ #5044]
61391         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61392         <rounding-mode.h>.
61393         (__printf_fphex): Determine rounding using get_rounding_mode and
61394         round_away.
61395         * stdio-common/tst-printf-round.c (struct hex_test): New
61396         structure.
61397         (hex_tests): New variable.
61398         (test_hex_in_one_mode): New function.
61399         (do_test): Also run tests for hex float output.
61401 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61403         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61404         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61405         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61406         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61407         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61408         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61409         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61410         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61412 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61414         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61415         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61416         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61417         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61419 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61421         [BZ #14579]
61422         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61423         mode only.
61424         * elf/tst-rtld-load-self.sh: New test.
61425         * elf/Makefile: Run it.
61427 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61429         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61430         (tst-writev-ENV): Remove.
61431         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61433 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61435         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61437 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61439         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61440         unconditional.
61441         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61442         Likewise.
61443         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61444         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61445         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61446         Likewise.
61448 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61450         [BZ #14587]
61451         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61452         * config.make.in (have-cpp-asm-debuginfo): Removed.
61453         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61454         * configure: Regenerated.
61456 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61458         [BZ #5044]
61459         * stdio-common/printf_fp.c: Include <stdbool.h> and
61460         <rounding-mode.h>.
61461         (___printf_fp): Determine rounding using get_rounding_mode and
61462         round_away.
61463         * stdio-common/tst-printf-round.c: New file.
61464         * stdio-common/Makefile (tests): Add tst-printf-round.
61465         (link-libm): New variable.
61466         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61468 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61470         [BZ #14576]
61471         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61472         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61473         Likewise.
61474         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61475         Likewise.
61477 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61479         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61480         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61481         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61482         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61484 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61486         [BZ #14518]
61487         * include/rounding-mode.h: New file.
61488         * sysdeps/generic/get-rounding-mode.h: Likewise.
61489         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61490         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61491         (MAX_VALUE): New macro.
61492         (MIN_VALUE): Likewise.
61493         (overflow_value): New function.
61494         (underflow_value): Likewise.
61495         (round_and_return): Use overflow_value and underflow_value to
61496         determine return values in overflow and underflow cases.  Use
61497         round_away to determine rounding depending on rounding mode.
61498         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61499         determine return values in overflow and underflow cases.
61500         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61501         (struct test_results): New structure.
61502         (struct test): Use struct test_results to store expected results
61503         for all rounding modes.
61504         (TEST): Include expected results for all rounding modes.
61505         (test_in_one_mode): New function.
61506         (do_test): Use test_in_one_mode to compute and check results.
61507         Check results for all rounding modes.
61508         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61509         $(link-libm).
61511 2012-12-09  Allan McRae  <allan@archlinux.org>
61513         * sysdeps/i386/fpu/libm-test-ulps: Update
61515 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61517         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61518         (_G_int32_t): Likewise.
61519         (_G_uint16_t): Likewise.
61520         (_G_uint32_t): Likewise.
61521         (_G_HAVE_BOOL): Likewise.
61522         (_G_HAVE_ATEXIT): Likewise.
61523         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61524         (_G_HAVE_IO_FILE_OPEN): Likewise.
61525         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61526         (_G_int32_t): Likewise.
61527         (_G_uint16_t): Likewise.
61528         (_G_uint32_t): Likewise.
61529         (_G_HAVE_BOOL): Likewise.
61530         (_G_HAVE_ATEXIT): Likewise.
61531         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61532         (_G_HAVE_IO_FILE_OPEN): Likewise.
61533         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61534         (_G_int32_t): Likewise.
61535         (_G_uint16_t): Likewise.
61536         (_G_uint32_t): Likewise.
61537         (_G_HAVE_BOOL): Likewise.
61538         (_G_HAVE_ATEXIT): Likewise.
61539         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61540         (_G_HAVE_IO_FILE_OPEN): Likewise.
61542 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61544         * csu/libc-tls.c: Update copyright years.
61546 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61548         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61549         [!_G_USING_THUNKS]: Remove conditional code.
61550         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61551         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61553         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61554         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61555         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61556         (_G_VTABLE_LABEL_PREFIX): Likewise.
61557         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61558         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61559         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61560         (_G_VTABLE_LABEL_PREFIX): Likewise.
61561         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61562         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61563         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61564         (_G_VTABLE_LABEL_PREFIX): Likewise.
61565         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61567 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61569         * libio/Makefile: Include ../Makeconfig before tests.
61570         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61571         only if $(build-shared) is yes.
61573         * iconv/gconv_db.c: Update copyright years.
61575 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61577         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
61578         unwind info if defined PIC. Fix special cases description.
61579         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
61581         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
61582         DP_HI_MASK entry.
61583         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
61585 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
61587         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
61589         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
61590         is NULL.
61592         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
61593         (LDLIBS-tst-chk4): This.
61594         (LDFLAGS-tst-chk5): Renamed to ...
61595         (LDLIBS-tst-chk5): This.
61596         (LDFLAGS-tst-chk6): Renamed to ...
61597         (LDLIBS-tst-chk6): This.
61598         (LDFLAGS-tst-lfschk4): Renamed to ...
61599         (LDLIBS-tst-lfschk4): This.
61600         (LDFLAGS-tst-lfschk5): Renamed to ...
61601         (LDLIBS-tst-lfschk5): This.
61602         (LDFLAGS-tst-lfschk6): Renamed to ...
61603         (LDLIBS-tst-lfschk6): This.
61605         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
61606         on $(common-objpfx)soversions.mk.
61608 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
61610         [BZ #10014]
61611         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
61612         example host name.
61614 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61616         * malloc/arena.c (arena_get_retry): New function that gets
61617         another arena for the caller to try its request on.
61618         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
61619         current arena cannot fulfill the request.
61620         (__libc_memalign): Likewise.
61621         (__libc_memalign): Likewise.
61622         (__libc_pvalloc): Likewise.
61623         (__libc_calloc): Likewise.
61625 2012-09-05  John Tobey  <john.tobey@gmail.com>
61627         [BZ #13542]
61628         * manual/arith.texi (Operations on Complex): Fix description
61629         of carg branch cut.
61631 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61633         [BZ #10014]
61634         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
61635         host name.
61637         [BZ #10038]
61638         * manual/memory.texi (Memory): Make order of menu items match
61639         order of sections.
61641 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61643         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
61644         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
61645         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
61647 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61649         * csu/libc-tls.c (static_dtv): Renamed to ...
61650         (_dl_static_dtv): This.  Make it global.
61651         (_dl_initial_dtv): Removed.
61652         (__libc_setup_tls): Updated.
61653         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
61654         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
61655         DL_INITIAL_DTV.
61657 2012-09-06  Petr Machata  <pmachata@redhat.com>
61659         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
61660         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
61661         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
61662         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
61664 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61666         [BZ #14545]
61667         * csu/libc-tls.c (_dl_initial_dtv): New variable.
61668         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
61669         freeing dtv[-1].
61671 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
61673         [BZ #14544]
61674         * Makeconfig (link-static-before-libc): Replace $(+prector)
61675         with $(+prectorT).
61676         (link-static-after-libc): Replace $(+postctor) with
61677         $(+postctorT).
61678         (link-bounded): Replace $(+prector)/$(+postctor) with
61679         $(+prectorT)/$(+postctorT).
61680         (+prectorT): New macro.
61681         (+postctorT): Likewise.
61683 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
61685         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
61686         (round_str): Handle values above the maximum for IBM long double
61687         as inexact.
61688         * stdlib/tst-strtod-round.c (tests): Regenerated.
61690 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61692         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
61693         assembler flag.
61694         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
61695         zarch_nohighgprs around the zarch optimized routines.
61696         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
61697         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
61698         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
61699         for zarch.
61701 2012-09-05  David S. Miller  <davem@davemloft.net>
61703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61705         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
61706         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
61707         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
61708         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61709         entries.
61711 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61713         * malloc/arena.c: Fold copyright years.
61714         * malloc/mcheck.c, malloc/memusage.c: Likewise.
61716 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61718         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
61720 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61722         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
61724 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61726         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
61727         change internal state upon failure.
61729 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
61731         * malloc/mcheck.c (mcheck_check_all): Fix typo.
61732         * malloc/memusage.c (mmap): Likewise.
61733         (mmap64, mremap): Likewise.  Adjust name in comment.
61735 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61737         * libio/fileops.c: Fix typos in comments.
61738         * libio/oldfileops.c: Likewise.
61739         * libio/wfileops.c: Likewise.
61741 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
61743         [BZ #1349]
61744         * malloc/Makefile (tests): Add tst-malloc-usable test case.
61745         (tst-malloc-usable-ENV): Set environment for test case.
61746         * malloc/hooks.c (malloc_check_get_size): New function to get
61747         requested size.
61748         * malloc/malloc.c (musable): Use malloc_check_get_size.
61749         * malloc/tst-malloc-usable.c: New test case.
61751 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61753         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
61755 2012-09-05  Allan McRae  <allan@archlinux.org>
61757         [BZ #13966]
61758         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61759         determine header location.
61760         * configure: Regenerated.
61762 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61764         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61765         float format.
61766         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61767         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61768         format.
61769         (test): Regenerate.
61771 2012-09-04  David S. Miller  <davem@davemloft.net>
61773         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61774         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61775         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61777 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61779         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61780         failures.
61782         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61784 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61786         [BZ #9914]
61787         * libio/iogetdelim.c: Include <limits.h>.
61788         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61789         + len + 1 would overflow.
61791 2012-09-03  Andreas Jaeger  <aj@suse.de>
61793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61794         * sysdeps/i386/fpu/libm-test-ulps: Update.
61796 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61798         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61799         Add s_sinf-sse2, s_conf-sse2.
61801         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61802         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61803         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61804         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61806         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61807         for using routine as __sinf_ia32.
61808         Use macro for function declaration and weak_alias.
61809         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61810         for using routine as __cosf_ia32.
61811         Use macro for function declaration and weak_alias.
61813         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61814         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61816         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61817         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61820         * math/libm-test.inc (cos_test): Add more test cases.
61821         (sin_test): Likewise.
61822         (sincos_test): Likewise.
61824 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61826         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61827         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61828         hidden.
61829         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61831 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61833         [BZ #14538]
61834         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61835         first element of the GOT.
61836         (elf_machine_load_address): Return the difference between
61837         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61839 2012-09-01  Allan McRae  <allan@archlinux.org>
61841         [BZ #13412]
61842         * configure.in (AWK): Require gawk version 3.0 or later.
61843         * configure: Regenerated.
61845 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61847         * sysdeps/unix/sysv/linux/kernel-features.h
61848         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61849         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61850         [__NR_clock_getres]: Make code unconditional.
61851         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61852         (clock_getcpuclockid): Remove code left unreachable by removal of
61853         conditionals.
61854         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61855         code unconditional.
61856         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61857         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61858         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61859         Make code unconditional.
61860         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61861         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61862         * sysdeps/unix/sysv/linux/clock_settime.c
61863         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61864         conditional code.
61865         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61866         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61868 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61870         [BZ #14476]
61871         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61872         scripts/test-installation.pl.
61874         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61875         and $ld_so_version if it is set.
61877 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61879         [BZ #14516]
61880         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61881         failure if reading from procfs failed.
61882         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61884 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61886         * sysdeps/unix/sysv/linux/kernel-features.h
61887         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61888         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61889         Remove conditional code.
61890         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61891         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61892         Remove conditional code.
61893         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61894         * sysdeps/unix/sysv/linux/i386/fxstat.c
61895         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61896         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61897         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61898         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61899         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61900         * sysdeps/unix/sysv/linux/i386/lxstat.c
61901         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61902         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61903         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61904         Remove conditional code.
61905         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61906         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61907         Remove conditional code.
61908         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61909         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61910         <kernel-features.h>.
61911         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61912         Remove.
61913         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61914         Remove conditional code.
61915         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61916         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61917         Remove conditional.
61919 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61921         [BZ #5400]
61922         * NEWS: Add fixed bug number.
61924 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61926         [BZ #14519]
61927         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61928         underflowing exponent in case of negative sign.
61929         * stdlib/tst-strtod-round-data: Add more tests.
61930         * stdlib/tst-strtod-round.c (tests): Regenerated.
61932         [BZ #3479]
61933         * stdlib/strtod_l.c (NDIG): Remove.
61934         (HEXNDIG): Likewise.
61935         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61936         smallest representable value.
61937         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61938         lie within an exact representation of 1/2 ulp of the result.
61939         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61940         unconditionally.
61941         (TENS_P9_IDX): Define unconditionally.
61942         (TENS_P9_SIZE): Likewise.
61943         (TENS_P10_IDX): Likewise.
61944         (TENS_P10_SIZE): Likewise.
61945         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61946         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61947         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61948         entries for 10^2^13 and 10^2^14.
61949         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61950         (TENS_P13_IDX): Define.
61951         (TENS_P13_SIZE): Likewise.
61952         (TENS_P14_IDX): Likewise.
61953         (TENS_P14_SIZE): Likewise.
61954         (_fpioconst_pow10): Change array size to
61955         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61956         unconditional.
61957         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61958         1024]: Add entries for 10^2^13 and 10^2^14.
61959         [LAST_POW10 > _LAST_POW10]: Remove #error.
61960         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61961         (_fpioconst_pow10): Change array size to
61962         FPIOCONST_POW10_ARRAY_SIZE.
61963         * stdlib/gen-fpioconst.c: New file.
61964         * stdlib/gen-tst-strtod-round.c: Likewise.
61965         * stdlib/tst-strtod-round-data: Likewise.
61966         * stdlib/tst-strtod-round.c: Likewise.
61967         * stdlib/Makefile (tests): Add tst-strtod-round.
61969         [BZ #14459]
61970         * stdlib/strtod_l.c: Include <stdint.h>.
61971         (NDEBUG): Do not define.
61972         (round_and_return): Change EXPONENT parameter to type intmax_t.
61973         Rearrange calculations to avoid internal overflow possibilities.
61974         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61975         Rearrange calculations to avoid internal overflow possibilities.
61976         Assert that number fits inside MPNSIZE limbs.
61977         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61978         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61979         calculations and add assertions to avoid internal overflow
61980         possibilities.  Add casts to avoid signed/unsigned operations.
61981         * stdlib/tst-strtod-overflow.c: New file.
61982         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61984 2012-08-25  Marek Polacek  <polacek@redhat.com>
61986         * time/time.h: Fix some typos in comments.
61988 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61990         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61991         * posix/tst-rfc3484-2.c: Likewise.
61992         * posix/tst-rfc3484-3.c: Likewise.
61994 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61996         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61997         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61999 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62001         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62002         #include of fxstatat64.c.
62004 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62006         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62007         * shadow/getspent_r.c: Likewise.
62008         * shadow/getspnam.c: Likewise.
62009         * shadow/getspnam_r.c: Likewise.
62010         * gshadow/getsgent.c: Likewise.
62011         * gshadow/getsgent_r.c: Likewise.
62012         * gshadow/getsgnam.c: Likewise.
62013         * gshadow/getsgnam_r.c: Likewise.
62014         * inet/getnetbyad.c: Likewise.
62015         * inet/getnetbyad_r.c: Likewise.
62016         * inet/getnetbynm.c: Likewise.
62017         * inet/getnetbynm_r.c: Likewise.
62018         * inet/getnetent.c: Likewise.
62019         * inet/getnetent_r.c: Likewise.
62020         * inet/getproto.c: Likewise.
62021         * inet/getproto_r.c: Likewise.
62022         * inet/getprtent.c: Likewise.
62023         * inet/getprtent_r.c: Likewise.
62024         * inet/getprtname.c: Likewise.
62025         * inet/getprtname_r.c: Likewise.
62026         * inet/getrpcbyname.c: Likewise.
62027         * inet/getrpcbyname_r.c: Likewise.
62028         * inet/getrpcbynumber.c: Likewise.
62029         * inet/getrpcbynumber_r.c: Likewise.
62030         * inet/getrpcent.c: Likewise.
62031         * inet/getrpcent_r.c: Likewise.
62032         * inet/getaliasent.c: Likewise.
62033         * inet/getaliasent_r.c: Likewise.
62034         * inet/getaliasname.c: Likewise.
62035         * inet/getaliasname_r.c: Likewise.
62036         * nscd/getgrgid_r.c: Likewise.
62037         * nscd/getgrnam_r.c: Likewise.
62038         * nscd/gethstbyad_r.c: Likewise.
62039         * nscd/gethstbynm3_r.c: Likewise.
62040         * nscd/getpwnam_r.c: Likewise.
62041         * nscd/getpwuid_r.c: Likewise.
62042         * nscd/getsrvbynm_r.c: Likewise.
62043         * nscd/getsrvbypt_r.c: Likewise.
62044         * nscd/gai.c: Likewise.
62046         * configure.in (build_nscd): New substituted variable, set
62047         by --disable-build-nscd and defaults to $use_nscd.
62048         * configure: Regenerated.
62049         * config.make.in (build-nscd): New substituted variable.
62050         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62051         Change conditional to require [$(build-nscd) = yes] as well.
62052         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62054         [BZ# 13696]
62055         * configure.in (use_nscd): New substituted variable, set by
62056         --disable-nscd.  If enabled, define USE_NSCD.
62057         * configure: Regenerated.
62058         * config.h.in: Add USE_NSCD.
62059         * config.make.in (use-nscd): New substituted variable.
62060         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62061         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62062         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62063         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62064         (CFLAGS-getgrnam_r.c): Likewise.
62065         (CFLAGS-initgroups.c): Likewise.
62066         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62067         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62068         Variables removed.
62069         * inet/getnetgrent_r.c
62070         (nscd_setnetgrent): New function, broken out of ...
62071         (setnetgrent): ... here.  Call it.
62072         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62073         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62074         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62075         * nscd/Makefile (routines, aux): Move definitions after include of
62076         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62077         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62078         Conditionalize on [USE_NSCD].
62079         (is_nscd, nscd_init_cb): Likewise.
62080         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62081         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62082         * nss/nss_db/db-init.c: Likewise.
62083         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62084         [USE_NSCD].
62085         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62086         (make_request): Use it.
62087         (cache_valid_p): New function.
62088         (__check_pf): Use it.
62089         * NEWS: Add item for --disable-nscd.
62091 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62093         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62094         to support sed >= 4.2.1-20-ga9bf076.
62095         * configure: Regenerated.
62097 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62099         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62100         Conditionalize whole body on [IREL].
62102 2012-08-22  Jeff Law <law@redhat.com>
62104         [BZ #14505]
62105         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62106         if the family is PF_UNSPEC.
62108 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62110         * Makerules (lib-version): Rename from V.
62111         (install-lib-nosubdir): Change V to lib-version.
62113 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62115         [BZ #14252]
62116         * powerpc32/power6/wcschr.c: New file.
62117         * powerpc32/power6/wcscpy.c: New file.
62118         * powerpc32/power6/wcsrchr.c: New file.
62119         * powerpc64/power6/wcschr.c: New file.
62120         * powerpc64/power6/wcscpy.c: New file.
62121         * powerpc64/power6/wcsrchr.c: New file.
62123 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62125         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62126         (two_way_short_needle): Use it.
62127         * string/strstr.c (AVAILABLE1_USES_J): Define.
62128         * string/strcasestr.c: Likewise.
62130         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62131         array references.
62132         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62134         [BZ #11607]
62135         * NEWS: Add an entry.
62136         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62137         define their defaults.
62138         (two_way_short_needle): Detect end-of-string on-the-fly.
62139         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62140         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62141         * string/bug-strcasestr1.c: New test.
62142         * string/Makefile: Run it.
62144 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62146         [BZ #11607]
62147         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62148         the first character.
62150 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62152         * csu/elf-init.c (__libc_csu_irel): Function removed.
62153         * csu/libc-start.c (apply_irel): New function.
62154         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62156 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62158         * sysdeps/unix/sysv/linux/kernel-features.h
62159         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62160         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62161         <kernel-features.h>.
62162         [__NR_fadvise64_64]: Make code unconditional.
62163         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62164         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62165         !__NR_fadvise64_64)]: Likewise.
62166         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62167         !__NR_fadvise64_64))]: Likewise.
62168         [__NR_fadvise64]: Make code unconditional.
62169         [!__NR_fadvise64]: Remove conditional code.
62170         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62171         <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/powerpc/powerpc32/posix_fadvise64.c: Do
62177         not 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.
62182         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62183         include <kernel-features.h>.
62184         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62185         unconditional.
62186         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62187         conditional code.
62189 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62191         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62192         slight instruction rearrangements per scrollpipe analysis.
62193         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62195 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62197         * manual/syslog.texi (syslog; vsyslog, closelog):
62198         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62199         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62201         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62202         DSOCAPS to match condition on defining it.
62204 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62206         * sysdeps/unix/sysv/linux/kernel-features.h
62207         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62209         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62210         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62212         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62213         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62215         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62216         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62218         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62219         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62221         * sysdeps/unix/sysv/linux/kernel-features.h
62222         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62223         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62224         unconditional.
62225         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62226         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62227         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62228         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62229         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62230         Make code unconditional.
62231         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62232         (__mmap64) [!__NR_mmap2]: Likewise.
62233         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62234         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62235         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62236         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62237         [__NR_mmap2]: Make code unconditional.
62238         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62239         (__mmap64) [!__NR_mmap2]: Likewise.
62241 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62243         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62245 2012-08-18  Andreas Jaeger  <aj@suse.de>
62247         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62249 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62251         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62252         * include/unistd.h (__have_sock_cloexec): Likewise.
62253         (__have_pipe2): Likewise.
62254         (__have_dup3): Likewise.
62256 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62258         [BZ #9685]
62259         * include/unistd.h (__have_pipe2): Change define into an extern int.
62260         (__have_dup3): Likewise.
62261         * socket/have_sock_cloexec.c: Include fcntl.h.
62262         (__have_pipe2): New variable.
62263         (__have_dup3): Likewise.
62265 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62267         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62269 2012-08-17  Marek Polacek  <polacek@redhat.com>
62271         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62272         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62274 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62276         * configure.in: Add AC_SUBST for sysheaders.
62277         * configure: Regenerated.
62278         * config.make.in (sysheaders): New substituted variable.
62280         * sysdeps/unix/mkfifo.c: Moved ...
62281         * sysdeps/posix/mkfifo.c: ... here.
62282         * sysdeps/unix/mkfifoat.c: Moved ...
62283         * sysdeps/posix/mkfifoat.c: ... here.
62285         * sysdeps/unix/utime.c: Moved ...
62286         * sysdeps/posix/utime.c: ... here.
62288         * sysdeps/unix/time.c: Moved ...
62289         * sysdeps/posix/time.c: ... here.
62290         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62291         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62293         * sysdeps/unix/nice.c: Moved ...
62294         * sysdeps/posix/nice.c: ... here.
62296         * sysdeps/unix/alarm.c: Moved ...
62297         * sysdeps/posix/alarm.c: ... here.
62299         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62301 2012-08-17  Jeff Law <law@redhat.com>
62303         * intl/Makefile (codeset_mo): New variable.
62304         ($(codeset_mo)): New target.
62305         (tst-codeset.out): Depend on that.  Remove explicit rule.
62306         (tst-gettext3.out, tst-gettext5.out): Likewise.
62307         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62308         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62309         * intl/tst-codeset.sh: Remove.
62310         * intl/tst-gettext3.sh: Likewise.
62311         * intl/tst-gettext5.sh: Likewise.
62313 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62315         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62316         * sysdeps/unix/syscalls.list: ... here.
62318         * sysdeps/posix/getaddrinfo.c
62319         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62320         (gaiconf_init, gaiconf_reload): Use them.
62321         [!_STATBUF_ST_NSEC]
62322         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62323         Define using time_t rather than struct timespec.
62325         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62326         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62327         Macros removed.
62328         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62329         [!NO_THREADS].
62330         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62331         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62332         Likewise.
62334         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62335         __libc_cleanup_push argument.
62337         * bits/param.h: New file.
62338         * misc/sys/param.h: New file.
62339         * include/sys/param.h: New file.
62340         * misc/Makefile (headers): Add bits/param.h.
62341         * sysdeps/generic/sys/param.h: File removed.
62342         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62343         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62344         * sysdeps/mach/hurd/bits/param.h: New file.
62345         * sysdeps/mach/hurd/sys/param.h: File removed.
62347         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62348         last change.
62350         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62351         [_IO_MTSAFE_IO].
62352         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62353         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62354         New macros.
62356         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62357         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62358         rather than -D_IO_MTSAFE_IO conditionally.
62359         * stdio-common/Makefile (CPPFLAGS): Likewise.
62360         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62361         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62362         Use $(libio-mtsafe).
62363         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62364         of -D_IO_MTSAFE_IO.
62365         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62366         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62367         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62368         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62369         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62370         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62371         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62372         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62373         (CFLAGS-fread_u_chk.c): Likewise.
62374         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62375         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62376         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62377         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62378         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62379         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62380         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62381         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62382         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62384         * libio/Makefile: Test [$(libc-reentrant) = yes]
62385         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62387         * Makeconfig
62388         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62389         * sysdeps/pthread/configure: File removed.
62390         * sysdeps/pthread/Makeconfig: New file.
62391         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62392         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62394 2012-08-16  Gary Benson  <gbenson@redhat.com>
62396         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62397         unmapping the first object in a namespace.
62399 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62401         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62402         (__internal_setnetgrent): ... this.  Add internal_function to
62403         definition.  Add libc_hidden_def.
62404         (setnetgrent): Update caller.
62405         (internal_endnetgrent): Renamed to ...
62406         (__internal_endnetgrent): ... this.  Add internal_function to
62407         definition.  Add libc_hidden_def.
62408         (endnetgrent): Update caller.
62409         (internal_getnetgrent_r): Renamed to ...
62410         (__internal_getnetgrent_r): ... this.  Add internal_function to
62411         definition.  Add libc_hidden_def.
62412         (__getnetgrent_r): Update caller.
62413         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62415 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62417         * stdlib/longlong.h: Update from GCC.
62419 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62421         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62422         on _QL, which is set by umul_ppmm but never used.
62423         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62424         variables, which are set by GMP macros but never used.
62425         * stdio-common/_itowa.c (_itowa): Likewise.
62426         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62427         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62429 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62431         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62432         struct La_sh_regs is not constant.
62433         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62434         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62435         and struct La_sparc64_regs are not constant.
62437 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62439         * sysdeps/unix/sysv/linux/kernel-features.h
62440         (__ASSUME_POSIX_TIMERS): Remove.
62441         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62442         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62443         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62444         Make code unconditional.
62445         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62446         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62447         Make code unconditional.
62448         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62449         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62450         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62451         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62452         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62453         Make code unconditional.
62454         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62455         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62456         (__libc_missing_posix_timers): Remove.
62458 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62460         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62461         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62463         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62465         * elf/dl-sym.c: Include <stdlib.h>.
62467         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62468         constants, which avoids warnings in 32-bit builds.
62470         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62471         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62473         * misc/lseek.c: File moved to ...
62474         * io/lseek.c: ... here.
62476         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62478         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62479         shifting LEN more than 31 bits at once.
62481 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62483         [BZ #14195]
62484         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62485         segmentation fault for a case of two empty input strings.
62486         * string/test-strncasecmp.c (check1): Renamed to...
62487         (bz12205): ...this.
62488         (bz14195): Add new testcase for two empty input strings and N > 0.
62489         (test_main): Call new testcase, adapt for renamed function.
62491 2012-08-15  Andreas Jaeger  <aj@suse.de>
62493         [BZ #14090]
62494         * crypt/md5test2.c: New test, based on test supplied by Serge
62495         Belyshev <belyshev@depni.sinp.msu.ru>.
62496         * crypt/Makefile (xtests): Add md5test-giant..
62497         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62499 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62501         [BZ #14090]
62502         * crypt/md5.c (md5_process_block): Don't assume the buffer
62503         length is less than 2**32.
62504         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62505         length is less than 2**64.
62507 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62509         * string/str-two-way.h: Include <sys/param.h>.
62510         (MAX): Macro removed.
62512         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62513         Move #define and #undef of memmove to just before and after
62514         including <string.h>.
62516         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62517         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62518         and after including <string.h>.  Move declarations of
62519         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62520         to before #include "string/memmove.c".
62522         * include/dirent.h: Declare __getdirentries.
62524         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62525         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62527 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62529         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62530         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62531         * sysdeps/i386/configure: Regenerated.
62532         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62533         STABS_CURRENT_FILE, and STABS_FUN.
62534         (END): Remove call to STABS_FUN_END.
62535         (STABS_CURRENT_FILE1): Delete.
62536         (STABS_CURRENT_FILE): Likewise.
62537         (STABS_FUN): Likewise.
62538         (STABS_FUN_END): Likewise.
62539         (STABS_FUN2): Likewise.
62540         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62541         * sysdeps/x86_64/configure: Regenerated.
62543 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62545         * elf/dl-open.c: Include <atomic.h>.
62546         * elf/dl-lookup.c: Likewise.
62548 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62550         * sysdeps/unix/sysv/linux/kernel-features.h
62551         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62552         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62553         unconditionally.
62554         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62555         unconditionally.
62556         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62557         condition on __ASSUME_CLONE_THREAD_FLAGS.
62559 2012-08-14  Andreas Jaeger  <aj@suse.de>
62561         * sysdeps/i386/fpu/libm-test-ulps: Update.
62563 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62565         * include/atomic.h (atomic_exchange_and_add): Split into ...
62566         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62567         New atomic macros.
62569 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62573 2012-08-13  Jeff Law <law@redhat.com>
62575         * manual/stdio.texi (snprintf): Clarify handling of the trailing
62576         null byte in the output string.
62578 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
62580         * sysdeps/unix/sysv/linux/kernel-features.h
62581         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
62582         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
62583         (__ASSUME_ARG_MAX_STACK_BASED): Define.
62584         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
62585         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
62586         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
62587         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
62589 2012-08-09  Jeff Law <law@redhat.com>
62591         [BZ #13939]
62592         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
62593         When avoid_arena is set, don't retry in the that arena.  Pick the
62594         next one, whatever it might be.
62595         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
62596         (arena_lock): Pass in new parameter to arena_get2.
62597         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
62598         arena_get2.
62599         (__libc_malloc): Unify retrying after main arena failure with
62600         __libc_memalign version.
62601         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
62603 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
62605         [BZ #14166]
62606         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
62607         to __redirect_strstr.
62608         (__strstr_sse42): Use typeof __redirect_strstr.
62609         (__strstr_ia32): Likewise.
62610         (__libc_strstr): New prototype.
62611         (strstr): Renamed to ...
62612         (__libc_strstr): This.
62613         (strstr): New strong alias of __libc_strstr.
62614         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62615         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
62616         __redirect_time.
62617         Include <time.h>.
62618         (__libc_time): New prototype.
62619         (time_ifunc): Replace time with __libc_time.
62620         (time): New strong alias and hidden definition of __libc_time.
62621         (__GI_time): Remove strong alias.
62622         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
62623         Include <stddef.h>.
62624         (memmove): Redefined to __redirect_memmove.
62625         (__memmove_sse2): Use typeof __redirect_memmove.
62626         (__memmove_ssse3): Likewise.
62627         (__memmove_ssse3_back): Likewise.
62628         (__libc_memmove): New prototype.
62629         (memmove): Renamed to ...
62630         (__libc_memmove): This.
62631         (memmove): New strong alias of __libc_memmove.
62633 2012-08-08  Mark Salter  <msalter@redhat.com>
62635         * elf/elf.h
62636         (R_MN10300_TLS_GD): Define.
62637         (R_MN10300_TLS_LD): Likewise.
62638         (R_MN10300_TLS_LDO): Likewise.
62639         (R_MN10300_TLS_GOTIE): Likewise.
62640         (R_MN10300_TLS_IE): Likewise.
62641         (R_MN10300_TLS_LE): Likewise.
62642         (R_MN10300_TLS_DTPMOD): Likewise.
62643         (R_MN10300_TLS_DTPOFF): Likewise.
62644         (R_MN10300_TLS_TPOFF): Likewise.
62645         (R_MN10300_SYM_DIFF): Likewise.
62646         (R_MN10300_ALIGN): Likewise.
62647         (R_MN10300_NUM): Update.
62649 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
62651         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
62652         Remove.
62654 2012-08-08  Roland McGrath  <roland@hack.frob.com>
62656         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
62658         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
62659         sysdeps/unix -> sysdeps/posix move.
62660         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62662 2012-08-07      Allan McRae     <allan@archlinux.org>
62664         [BZ #14303]
62665         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
62666         (SUNOS_CPP): Likewise.
62667         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
62668         not found.
62669         (open_input): Call CPP using execvp.
62671 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62673         * sysdeps/unix/sysv/linux/kernel-features.h
62674         (__ASSUME_PROT_GROWSUPDOWN): Remove.
62675         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62676         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62677         (__ASSUME_WAITID_SYSCALL): Likewise.
62678         * sysdeps/unix/sysv/linux/dl-execstack.c
62679         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
62680         code unconditional.
62681         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
62682         conditional code.
62683         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
62684         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
62685         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
62686         code.
62687         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
62688         unconditional.
62689         [__ASSUME_WAITID_SYSCALL]: Likewise.
62690         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
62692 2012-08-07  Roland McGrath  <roland@hack.frob.com>
62694         * sysdeps/unix/closedir.c: Renamed to ...
62695         * sysdeps/posix/closedir.c: ... here.
62696         * sysdeps/unix/dirfd.c: Renamed to ...
62697         * sysdeps/posix/dirfd.c: ... here.
62698         * sysdeps/unix/dirstream.h: Renamed to ...
62699         * sysdeps/posix/dirstream.h: ... here.
62700         * sysdeps/unix/fdopendir.c: Renamed to ...
62701         * sysdeps/posix/fdopendir.c: ... here.
62702         * sysdeps/unix/opendir.c: Renamed to ...
62703         * sysdeps/posix/opendir.c: ... here.
62704         * sysdeps/unix/readdir.c: Renamed to ...
62705         * sysdeps/posix/readdir.c: ... here.
62706         * sysdeps/unix/readdir_r.c: Renamed to ...
62707         * sysdeps/posix/readdir_r.c: ... here.
62708         * sysdeps/unix/rewinddir.c: Renamed to ...
62709         * sysdeps/posix/rewinddir.c: ... here.
62710         * sysdeps/unix/seekdir.c: Renamed to ...
62711         * sysdeps/posix/seekdir.c: ... here.
62712         * sysdeps/unix/telldir.c: Renamed to ...
62713         * sysdeps/posix/telldir.c: ... here.
62714         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
62715         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
62716         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
62717         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
62719         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
62720         * bits/fcntl.h: ... here.
62722         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
62723         not 0.
62724         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
62725         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
62726         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
62727         (struct flock): Move l_start, l_len to the beginning.
62728         Use __pid_t for l_pid.
62729         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
62730         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
62731         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
62732         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
62733         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
62734         [__USE_LARGEFILE64] (struct flock64): New type.
62735         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
62737         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
62738         * bits/dirent.h: ... here.
62740         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
62741         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
62743 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
62745         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62746         Change from 2.6.0 to 2.6.16.
62747         * sysdeps/unix/sysv/linux/configure: Regenerated.
62748         * sysdeps/unix/sysv/linux/kernel-features.h
62749         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
62750         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
62751         version.
62752         (__ASSUME_UTIMES): Likewise.
62753         (__ASSUME_CLONE_STOPPED): Remove.
62754         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
62755         architectures, not kernel version.
62756         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
62757         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62758         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62759         (__ASSUME_WAITID_SYSCALL): Likewise.
62760         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62761         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62762         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62763         refer to older versions.
62765 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62767         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62768         Define alphasort64 as an alias.
62769         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62770         Define versionsort64 as an alias.
62771         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62772         Define scandir64 as an alias.
62773         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62774         Define scandirat64 as an alias.
62775         * dirent/alphasort64.c (alphasort64):
62776         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62777         * dirent/versionsort64.c: Likewise.
62778         * dirent/scandir64.c: Likewise.
62779         * dirent/scandirat64.c: Likewise.
62780         * sysdeps/wordsize-64/alphasort.c: File removed.
62781         * sysdeps/wordsize-64/alphasort64.c: File removed.
62782         * sysdeps/wordsize-64/scandir.c: File removed.
62783         * sysdeps/wordsize-64/scandir64.c: File removed.
62784         * sysdeps/wordsize-64/scandirat.c: File removed.
62785         * sysdeps/wordsize-64/scandirat64.c: File removed.
62786         * sysdeps/wordsize-64/versionsort.c: File removed.
62787         * sysdeps/wordsize-64/versionsort64.c: File removed.
62788         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62789         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62790         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62791         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62792         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62793         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62794         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62795         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62797         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62798         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62799         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62800         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62801         [defined __arch64__ || defined __sparcv9]
62802         (__INO_T_MATCHES_INO64_T): New macro.
62803         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62804         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62805         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62806         * sysdeps/unix/sysv/linux/bits/dirent.h
62807         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62808         (_DIRENT_MATCHES_DIRENT64): New macro.
62810         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62811         Define lockf64 as an alias.
62812         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62813         Define fseeko64 as an alias.
62814         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62815         Define ftello64 as an alias.
62816         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62817         Define _IO_fgetpos64 and fgetpos64 as aliases.
62818         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62819         Define _IO_fsetpos64 and fsetpos64 as aliases.
62820         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62821         Conditionalize body on this.
62822         * libio/fseeko64.c: Likewise.
62823         * libio/ftello64.c: Likewise.
62824         * libio/iofgetpos64.c: Likewise.
62825         * libio/iofsetpos64.c: Likewise.
62826         * sysdeps/wordsize-64/lockf.c: File removed.
62827         * sysdeps/wordsize-64/lockf64.c: File removed.
62828         * sysdeps/wordsize-64/fseeko.c: File removed.
62829         * sysdeps/wordsize-64/fseeko64.c: File removed.
62830         * sysdeps/wordsize-64/ftello.c: File removed.
62831         * sysdeps/wordsize-64/ftello64.c: File removed.
62832         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62833         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62834         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62835         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62836         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62837         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62838         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62839         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62840         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62841         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62842         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62843         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62844         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62845         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62847         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62848         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62849         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62850         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62851         [defined __arch64__ || defined __sparcv9]
62852         (__OFF_T_MATCHES_OFF64_T): New macro.
62853         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62854         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62856         (__OFF_T_MATCHES_OFF64_T): New macro.
62858 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62860         * stdlib/secure-getenv.c (__secure_getenv): Replace
62861         GLIBC_2_16 with GLIBC_2_17.
62863 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62865         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62866         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62868 2012-08-03  David S. Miller  <davem@davemloft.net>
62870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62872 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62874         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62875         Remove.
62876         (__ASSUME_CORRECT_SI_PID): Likewise.
62877         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62878         (__ASSUME_TMPFS_NAME): Likewise.
62879         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62880         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62881         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62882         (HAVE_AUX_SECURE): Make definition unconditional.
62883         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62884         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62886 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62888         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62889         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62890         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62891         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62892         __eloop_threshold instead of SYMLOOP_MAX.
62894         * sysdeps/generic/eloop-threshold.h: New file.
62895         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62896         of MAXSYMLINKS.
62897         * elf/chroot_canon.c (chroot_canon): Likewise.
62899 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62901         [BZ #13717]
62902         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62903         Change to 2.6.0 everywhere.
62904         * sysdeps/unix/sysv/linux/configure: Regenerated.
62905         * sysdeps/unix/sysv/linux/kernel-features.h
62906         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62907         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62908         kernel versions.
62909         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62910         (__ASSUME_FUTEX_REQUEUE): Remove.
62911         (__ASSUME_STATFS64): Define unconditionally.
62912         (__ASSUME_AT_SECURE): Likewise.
62913         (__ASSUME_CORRECT_SI_PID): Likewise.
62914         (__ASSUME_TGKILL): Define without depending on kernel version for
62915         i386.
62916         (__ASSUME_UTIMES): Likewise.
62917         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62918         kernel version.
62919         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62920         (__ASSUME_TMPFS_NAME): Likewise.
62921         * README: Update reference to Linux kernel versions.
62923 2012-08-02  Marek Polacek  <polacek@redhat.com>
62925         [BZ# 14150]
62926         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62927         libc_cv_asm_type_prefix with %.
62928         * configure: Regenerated.
62929         * include/libc-symbols.h: Remove comment about
62930         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62931         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62932         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62933         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62934         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62935         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62936         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62937         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62938         * elf/tst-unique2mod1.c: Likewise.
62939         * elf/tst-unique1mod2.c: Likewise.
62940         * elf/tst-unique1mod1.c: Likewise.
62941         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62942         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62943         Replace ASM_TYPE_DIRECTIVE with .type.
62944         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62945         * sysdeps/i386/sysdep.h: Likewise.
62946         * sysdeps/x86_64/sysdep.h: Likewise.
62947         * sysdeps/sh/sysdep.h: Likewise.
62948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62949         Do not define ASM_TYPE_DIRECTIVE.
62950         * sysdeps/powerpc/sysdep.h: Likewise.
62951         * sysdeps/powerpc/powerpc32/sysdep.h:
62952         Replace ASM_TYPE_DIRECTIVE with .type.
62953         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62954         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62955         * sysdeps/i386/fpu/e_powf.S: Likewise.
62956         * sysdeps/i386/fpu/e_expl.S: Likewise.
62957         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62958         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62959         * sysdeps/i386/fpu/e_pow.S: Likewise.
62960         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62961         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62962         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62963         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62964         * sysdeps/i386/fpu/e_log2.S: Likewise.
62965         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62966         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62967         * sysdeps/i386/fpu/e_powl.S: Likewise.
62968         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62969         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62970         * sysdeps/i386/fpu/e_logl.S: Likewise.
62971         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62972         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62973         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62974         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62975         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62976         * sysdeps/i386/fpu/e_log.S: Likewise.
62977         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62978         * sysdeps/i386/fpu/e_logf.S: Likewise.
62979         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62980         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62981         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62982         * sysdeps/i386/fpu/e_log10.S: Likewise.
62983         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62984         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62985         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62986         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62987         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62988         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62989         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62990         * sysdeps/i386/i686/strtok.S: Likewise.
62991         * sysdeps/i386/i386-mcount.S: Likewise.
62992         * sysdeps/i386/strtok.S: Likewise.
62993         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62994         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62995         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62996         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62997         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62998         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62999         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63000         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63001         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63002         * sysdeps/x86_64/_mcount.S: Likewise.
63003         * sysdeps/x86_64/strtok.S: Likewise.
63004         * sysdeps/sh/_mcount.S: Likewise.
63006 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63008         * libio/iofopen.c: Include <fcntl.h>.
63009         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63010         (_IO_fopen64, fopen64): Define as aliases.
63011         * libio/iofopen64.c: Include <fcntl.h>.
63012         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63013         Conditionalize body on this.
63014         * sysdeps/wordsize-64/iofopen.c: File removed.
63015         * sysdeps/wordsize-64/iofopen64.c: File removed.
63017 2012-08-01  Marek Polacek  <polacek@redhat.com>
63019         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63020         Use dlfcn directly instead of a variable.
63021         (binfmt-subdir): Do not define.
63022         (dlfcn): Likewise.
63024 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63026         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63027         Remove all definitions.
63028         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63029         <kernel-features.h>.
63030         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63031         (miss_F_GETOWN_EX): Remove all definitions.
63032         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63033         macro definition.
63034         [!__ASSUME_FCNTL64]: Remove conditional code.
63035         [__ASSUME_FCNTL64]: Make code unconditional.
63036         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63037         <kernel-features.h>.
63038         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63039         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63040         (lockf64) [__NR_fcntl64]: Make code unconditional.
63041         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63043         * sysdeps/unix/sysv/linux/kernel-features.h
63044         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63045         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63046         Make code unconditional.
63047         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63048         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63050         [__NR_vfork]: Make code unconditional.
63051         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63052         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63054         [__NR_vfork]: Make code unconditional.
63055         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63056         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63058 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63060         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63061         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63063         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63064         Define mkstemp64 as an alias.
63065         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63066         Define mkstemps64 as an alias.
63067         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63068         Define mkostemp64 as an alias.
63069         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63070         Define mkostemps64 as an alias.
63071         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63072         Conditionalize body on this.
63073         * misc/mkostemp64.c: Likewise.
63074         * misc/mkostemps64.c: Likewise.
63075         * misc/mkstemps64.c: Likewise.
63076         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63077         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63078         * sysdeps/wordsize-64/mkostemp.c: File removed.
63079         * sysdeps/wordsize-64/mkstemp.c: File removed.
63080         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63081         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63082         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63083         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63085         [BZ #14138]
63086         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63087         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63088         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63089         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63091         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63092         compat_symbol macros from <shlib-compat.h> rather than the underlying
63093         default_symbol_version and symbol_version macros, so that DEFAULT
63094         lines in shlib-versions are respected.
63095         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63097 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63099         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63100         Declare with warn_unused_result.
63101         (setgid, setregid, setegid, setresgid): Likewise.
63102         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63103         Likewise.
63104         * WUR-REPORT: Remove set*id functions.
63106 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63108         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63110 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63112         [BZ #10191]
63113         * include/sys/socket.h (__libc_accept, __libc_accept4):
63114         Add attribute_hidden.
63115         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63117         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63118         use of PTR_MANGLE.
63119         * inet/getnetgrent_r.c (setup): Likewise.
63121         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63123 2012-07-31  David S. Miller  <davem@davemloft.net>
63125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63127 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63129         [BZ #13629]
63130         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63131         value between 1.0 and 2.0 and smaller part has absolute value less
63132         than 1.0.
63133         * math/s_clog10.c (__clog10): Likewise.
63134         * math/s_clog10f.c (__clog10f): Likewise.
63135         * math/s_clog10l.c (__clog10l): Likewise.
63136         * math/s_clogf.c (__clogf): Likewise.
63137         * math/s_clogl.c (__clogl): Likewise.
63138         * math/libm-test.inc (clog_test): Add more tests.
63139         (clog10_test): Likewise.
63140         * sysdeps/i386/fpu/libm-test-ulps: Update.
63141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63143 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63145         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63146         Exit with zero in case no suitable GID is found, and write a
63147         message to standard error.
63149 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63151         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63152         rather than to 1.
63153         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63154         (MAXPATHLEN): Removed.
63155         (NOGROUP, NODEV): New macros.
63156         (setbit, clrbit, isset, isclr): New macros.
63157         (howmany, roundup, powerof2): New macros.
63158         (DEV_BSIZE): New macro.
63160         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63161         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63163         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63164         definition on [!__NO_LONG_DOUBLE_MATH].
63166         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63167         PTR_MANGLE and PTR_DEMANGLE.
63169         * socket/accept4.c (accept4): Rename to __libc_accept4.
63170         Define accept4 as a weak alias.
63172         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63173         on [_DIRENT_HAVE_D_TYPE].
63174         * io/ftw.c (ftw_dir): Likewise.
63176         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63178         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63180         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63181         Use the BSD numbers rather than the arbitrary ones we had.
63182         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63183         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63184         (SIGXCPU, SIGXFSZ): New macros.
63185         (_NSIG): Now 32.
63187         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63188         initializer on [_LIBC_REENTRANT].
63190         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63191         definitions inside [_POSIX_MAPPED_FILES].
63193         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63195         * dirent/opendir.c: Include <fcntl.h>.
63197         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63198         (__libc_getspecific): Likewise.
63199         (__libc_key_create): Likewise.
63201         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63202         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63203         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63204         (tmpfile64): Define as alias.
63205         * sysdeps/wordsize-64/tmpfile.c: File removed.
63206         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63207         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63208         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63210         * stdio-common/vfscanf.c: Include <stdbool.h>.
63211         * nss/makedb.c: Likewise.
63212         * stdio-common/_i18n_number.h: Likewise.
63213         * argp/argp-help.c: Likewise.
63214         * posix/wordexp.c: Likewise.
63215         * sysdeps/posix/spawni.c: Likewise.
63216         * nss/nss_files/files-initgroups.c: Likewise.
63217         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63218         * nss/nss_files/files-initgroups.c: Likewise.
63219         * nss/nss_db/db-netgrp.c: Likewise.
63220         * nss/nss_db/db-initgroups.c: Likewise.
63221         * io/fchmodat.c: Include <sys/stat.h>.
63223         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63224         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63226         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63227         [HAVE_MMAP].
63229         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63230         Add multiple inclusion protection.
63232 2012-07-27  David S. Miller  <davem@davemloft.net>
63234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63236 2012-07-27  Gary Benson  <gbenson@redhat.com>
63238         [BZ #14298]
63239         * elf/rtld.c: Include <stap-probe.h>.
63240         (dl_main): Added static probes "init_start" and "init_complete".
63241         * elf/dl-load.c: Include <stap-probe.h>.
63242         (lose): Take new parameter "nsid".
63243         Added static probe "map_failed".
63244         (_dl_map_object_from_fd): Pass namespace id to lose.
63245         Added static probe "map_start".
63246         (open_verify): Pass namespace id to lose.
63247         * elf/dl-open.c: Include <stap-probe.h>.
63248         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63249         and "reloc_complete".
63250         * elf/dl-close.c: Include <stap-probe.h>.
63251         (_dl_close_worker): Added static probes "unmap_start" and
63252         "unmap_complete".
63253         * elf/rtld-debugger-interface.txt: New file documenting the above.
63255 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63257         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63258         rather than a string variable.
63259         * sunrpc/rpc_main.c (h_output): Likewise.
63260         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63262 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63264         * inet/check_native.c: New file.
63266 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63268         [BZ #13629]
63269         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63270         if larger part has absolute value 1.0.
63271         * math/s_clog10.c (__clog10): Likewise.
63272         * math/s_clog10f.c (__clog10f): Likewise.
63273         * math/s_clog10l.c (__clog10l): Likewise.
63274         * math/s_clogf.c (__clogf): Likewise.
63275         * math/s_clogl.c (__clogl): Likewise.
63276         * math/libm-test.inc (clog_test): Add more tests.
63277         (clog10_test): Likewise.
63278         * sysdeps/i386/fpu/libm-test-ulps: Update.
63279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63281         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63282         (pltexit): Likewise.
63283         (La_regs): Likewise.
63284         (La_retval): Likewise.
63285         (int_retval): Likewise.
63286         Update #error for removed macros to refer only to definitions in
63287         tst-audit.h.
63288         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
63313         macro.
63314         (pltexit): Likewise.
63315         (La_regs): Likewise.
63316         (La_retval): Likewise.
63317         (int_retval): Likewise.
63318         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63319         macro.
63320         (pltexit): Likewise.
63321         (La_regs): Likewise.
63322         (La_retval): Likewise.
63323         (int_retval): Likewise.
63324         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63325         macro definitions in tst-audit.h.
63326         * sysdeps/i386/tst-audit.h: New file.
63327         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63328         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63329         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63330         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63331         * sysdeps/sh/tst-audit.h: Likewise.
63332         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63333         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63334         * sysdeps/x86_64/tst-audit.h: Likewise.
63336 2012-07-26  Andreas Jaeger  <aj@suse.de>
63338         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63339         ptrace.
63341         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63342         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63343         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63344         PTRACE_O_MASK.
63345         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63346         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63347         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63349         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63350         value.
63352         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63353         _sigsys.
63354         (si_call_addr, si_syscall, si_arch): Define new macro.
63355         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63356         _sigsys.
63357         (si_call_addr, si_syscall, si_arch): Define new marcro.
63358         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63359         _sigsys.
63360         (si_call_addr, si_syscall, si_arch): Define new macro.
63361         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63362         _sigsys.
63363         (si_call_addr, si_syscall, si_arch): Define new macro.
63365 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63367         [BZ #13717]
63368         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63369         Change to 2.4.21 where previously 2.4.1.
63370         * sysdeps/unix/sysv/linux/configure: Regenerated.
63371         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63372         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63373         Linux kernel version.
63374         (__ASSUME_STD_AUXV): Remove.
63375         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63376         kernel version.
63377         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63378         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63379         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63380         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63381         (__ASSUME_NETLINK_SUPPORT): Likewise.
63382         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63383         (__no_netlink_support): Remove conditional definition.
63384         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63385         Remove.
63386         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63387         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63388         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63389         (if_nameindex_ioctl): Remove.
63390         (if_nameindex_netlink): Do not handle __no_netlink_support.
63391         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63392         code.
63393         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63394         Remove conditional code.
63395         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63396         code.
63397         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63398         unconditional.
63399         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63400         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63401         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63402         Remove.
63403         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63404         [!__ASSUME_STD_AUXV]: Remove conditional code.
63405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63406         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63407         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63409         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63410         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63411         code.
63412         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63414         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63415         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63416         conditional code.
63417         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63419         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63420         code.
63421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63422         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63423         conditional code.
63424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63425         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63426         code unconditional.
63427         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63428         conditional code.
63429         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63430         unconditional.
63431         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63432         conditional code.
63433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63434         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63435         unconditional.
63436         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63437         conditional code.
63438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63439         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63440         code unconditional.
63441         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63442         conditional code.
63443         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63444         unconditional.
63445         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63446         conditional code.
63447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63448         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63449         code unconditional.
63450         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63451         conditional code.
63452         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63453         unconditional.
63454         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63455         conditional code.
63457 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63459         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63460         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63461         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63462         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63463         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63464         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63465         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63466         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63467         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63468         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63469         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63470         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63471         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63472         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63473         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63474         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63475         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63476         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63477         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63479         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63480         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63481         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63483 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63485         * Versions.def: Add GLIBC_2.17.
63486         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63487         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63488         Introduce __libc_secure_getenv.
63489         * stdlib/Versions (2.17): Add secure_getenv
63490         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63491         * stdlib/secure-getenv.c: Rename __secure_getenv to
63492         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63493         symbol __secure_getenv for GLIBC_2.0.
63494         * stdlib/tst-secure-getenv.c: New.
63495         * stdlib/Makefile (tests): Add testcase.
63496         * manual/startup.texi (Environment Access): Document
63497         secure_getenv.
63498         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63499         __libc_secure_getenv.
63500         * inet/ruserpass.c (ruserpass): Likewise.
63501         * malloc/mtrace.c (mtrace): Likewise.
63502         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63503         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63504         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63505         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63506         HAVE_SECURE_GETENV.
63507         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63508         __secure_getenv to __libc_secure_getenv.
63509         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63511         Likewise.
63512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63513         Likewise.
63514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63522 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63524         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63525         (struct La_i86_retval): Likewise.
63526         (struct La_x86_64_regs): Likewise.
63527         (struct La_x86_64_retval): Likewise.
63528         (struct La_x32_regs): Likewise.
63529         (struct La_x32_retval): Likewise.
63530         (struct La_ppc32_regs): Likewise.
63531         (struct La_ppc32_retval): Likewise.
63532         (struct La_ppc64_regs): Likewise.
63533         (struct La_ppc64_retval): Likewise.
63534         (struct La_sh_regs): Likewise.
63535         (struct La_sh_retval): Likewise.
63536         (struct La_s390_32_regs): Likewise.
63537         (struct La_s390_32_retval): Likewise.
63538         (struct La_s390_64_regs): Likewise.
63539         (struct La_s390_64_retval): Likewise.
63540         (struct La_sparc32_regs): Likewise.
63541         (struct La_sparc32_retval): Likewise.
63542         (struct La_sparc64_regs): Likewise.
63543         (struct La_sparc64_retval): Likewise.
63544         (struct audit_ifaces): Remove architecture-specific pltenter and
63545         pltexit members.
63546         * sysdeps/i386/ldsodefs.h: New file.
63547         * sysdeps/powerpc/ldsodefs.h: Likewise.
63548         * sysdeps/s390/ldsodefs.h: Likewise.
63549         * sysdeps/sh/ldsodefs.h: Likewise.
63550         * sysdeps/sparc/ldsodefs.h: Likewise.
63551         * sysdeps/x86_64/ldsodefs.h: Likewise.
63553 2012-07-25  Marek Polacek  <polacek@redhat.com>
63555         [BZ #6808]
63556         * math/libm-test.inc (yn_test): Add another test.
63557         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63558         to ERANGE when the result is +-Inf.
63559         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63560         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63561         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63562         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63564 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63566         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63567         equal to 0.
63568         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63569         clock_t.
63570         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63572 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
63574         * configure.in <sysdeps resolving>: Correct printing
63575         Implies_before.
63576         * configure: Regenerate.
63578 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
63580         * math/w_ilogb.c: Include <limits.h>.
63581         * math/w_ilogbl.c: Likewise.
63583 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63585         * manual/lang.texi (__va_copy): Document primarily as ISO C99
63586         va_copy.  Document allowing for unavailable va_copy only as
63587         pre-C99 compatibility.
63588         * manual/string.texi (Copying and Concatenation): Use va_copy
63589         instead of __va_copy in concat example.
63591 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
63593         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
63594         (__sendto): Use create_address_port.  Initialize APORT and deallocate
63595         it if not null.
63597         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
63598         with O_NOLINK passed to __file_name_lookup.
63600         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
63601         with O_NOLINK passed to __file_name_lookup.
63603         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
63604         negative N or less than NGIDS.
63606         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
63607         type to string_t.  Set ERANGE as errno and return it if NAME is not big
63608         enough.  Use memcpy instead of strncpy.
63610 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
63612         * elf/Makefile (check-data): Remove.
63613         (localplt.data): New vpath directive.
63614         ($(objpfx)check-localplt.out): Use localplt.data from vpath
63615         instead of $(check-data).
63616         * scripts/data/localplt-generic.data: Move to ...
63617         * sysdeps/generic/localplt.data: ... here.
63618         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
63619         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
63620         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
63621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
63622         ... here.
63623         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
63624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
63625         ... here.
63626         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
63627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
63628         ... here.
63629         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
63630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
63631         ... here.
63632         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
63633         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
63634         ... here.
63635         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
63636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
63637         ... here.
63639 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63641         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
63642         PPC32 and PPC64 files.
63643         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
63644         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
63646 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63648         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
63649         __makecontext_ret to ...
63650         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
63651         ... here and call exit if uc_link is NULL.  New file.
63652         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
63653         __makecontext_ret.S.
63654         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
63655         __makecontext_ret to ...
63656         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
63657         ... here and call exit if uc_link is NULL.  New file.
63658         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
63659         __makecontext_ret.S.
63661 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63663         * elf/elf.h (R_390_IRELATIVE): New definition.
63664         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
63665         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
63666         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
63667         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
63668         (elf_machine_lazy_rel): Likewise.
63669         * sysdeps/s390/dl-irel.h: New file.
63670         * sysdeps/s390/s390-64/memcpy.S: New asm code.
63671         * sysdeps/s390/s390-64/memset.S: New asm code.
63672         * sysdeps/s390/s390-64/memcmp.S: New asm code.
63673         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
63674         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
63675         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
63676         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
63677         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
63678         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
63679         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
63680         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
63681         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
63682         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
63683         * sysdeps/s390/s390-32/memcpy.S: New asm code.
63684         * sysdeps/s390/s390-32/memset.S: New asm code.
63685         * sysdeps/s390/s390-32/memcmp.S: New asm code.
63687 2012-07-17  Marek Polacek  <polacek@redhat.com>
63689         [BZ #14349]
63690         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
63691         * sysdeps/s390/s390-64/configure.in: Likewise.
63692         * sysdeps/sparc/configure.in: Likewise.
63693         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
63694         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
63695         * sysdeps/i386/configure.in: Likewise.
63696         * sysdeps/x86_64/configure.in: Likewise.
63697         * sysdeps/sh/configure.in: Likewise.
63698         * sysdeps/s390/s390-32/configure: Regenerated.
63699         * sysdeps/s390/s390-64/configure: Likewise.
63700         * sysdeps/x86_64/configure: Likewise.
63701         * sysdeps/sh/configure: Likewise.
63702         * sysdeps/powerpc/powerpc64/configure: Likewise.
63703         * sysdeps/powerpc/powerpc32/configure: Likewise.
63704         * sysdeps/sparc/configure: Likwise.
63705         * sysdeps/i386/configure: Likewise.
63707         * elf/dl-open.c: Comment fixes.
63709 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
63711         * Makefile [CXX] (check-data): Remove.
63712         [CXX] (c++-types.data): New vpath directive.
63713         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
63714         vpath.  Do not allow for C++ type data being missing.
63715         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
63716         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
63717         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
63718         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
63719         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
63720         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
63721         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
63722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
63723         ... here.
63724         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
63725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
63726         ... here.
63727         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
63728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
63729         ... here.
63730         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
63731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
63732         ... here.
63733         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
63734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
63735         ... here.
63736         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
63737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
63738         ... here.
63739         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
63740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
63741         ... here.
63742         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
63743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
63745         * elf/tls-macros.h (TLS_LE): Move architecture-specific
63746         definitions to architecture-specific files.
63747         (TLS_IE): Likewise.
63748         (TLS_LD): Likewise.
63749         (TLS_GD): Likewise.
63750         * sysdeps/i386/tls-macros.h: New file.
63751         * sysdeps/powerpc/tls-macros.h: Likewise.
63752         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
63753         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
63754         * sysdeps/sh/tls-macros.h: Likewise.
63755         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
63756         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
63757         * sysdeps/x86_64/tls-macros.h: Likewise.
63759 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63761         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63762         zero value for regular exit case.
63764         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63765         (__start_context): Preserve zero value for regular exit case.
63767 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63768             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63770         * manual/setjmp.texi (setcontext): Clarify normal process
63771         termination when uc_link is the null pointer.
63772         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63773         exit call.
63775 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63777         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63778         preprocessor.  Test for each exception mask separately.
63780 2012-07-16  Andreas Jaeger  <aj@suse.de>
63782         * po/ru.po: Update from translation team.
63784 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63786         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63787         equal to 0.
63788         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63789         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63790         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63791         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63792         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63794 2012-07-13  Andreas Jaeger  <aj@suse.de>
63796         * po/fr.po: Update from translation team.
63798 2012-07-12  Marek Polacek  <polacek@redhat.com>
63800         [BZ #14173]
63801         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63802         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63803         loop condition.
63805 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63807         [BZ #13717]
63808         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63809         Change to 2.4.1 where previously 2.4.0.
63810         * sysdeps/unix/sysv/linux/configure: Regenerated.
63811         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63812         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63813         version.
63814         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63815         (__ASSUME_AT_CLKTCK): Remove.
63816         (__ASSUME_AT_PAGESIZE): Likewise.
63817         (__ASSUME_AT_XID): Likewise.
63818         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63819         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63820         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63821         unconditionally.
63822         (HAVE_AUX_PAGESIZE): Likewise.
63823         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63824         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63825         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63827 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63829         [BZ #14307]
63830         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63831         the temporary buffer used to invoke __gethostbyname2_r,
63832         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63833         host_data / struct gaih_addrtuple.
63834         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63835         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63836         header file nss/nsswitch.h.
63837         * nss/nsswitch.h (global scope): Add definition of implementation
63838         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63839         resolv/nss_dns/dns-host.c).
63841 2012-07-11  Andreas Jaeger  <aj@suse.de>
63843         * po/fr.po: Update from translation team.
63845         * po/sv.po: Update from translation team
63846         * po/fr.po: Another update from translation team.
63848 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63850         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63851         for subnormals or multiply small sinh result by itself.
63852         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63855 2012-07-11  David S. Miller  <davem@davemloft.net>
63857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63859 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63861         [BZ #14347]
63862         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63863         (INTERNAL_MARK): Shift it here.
63865 2012-07-10  Marek Polacek  <polacek@redhat.com>
63867         [BZ #14151]
63868         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63869         libc_cv_asm_global_directive with .globl.
63870         * configure: Regenerated.
63871         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63872         with .globl.
63873         * sysdeps/i386/configure: Regenerated.
63874         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63875         with .globl.
63876         * sysdeps/x86_64/configure: Regenerated.
63877         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63878         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63879         * elf/tst-unique2mod2.c: Likewise.
63880         * elf/tst-unique2mod1.c: Likewise.
63881         * elf/tst-unique1mod2.c: Likewise.
63882         * elf/tst-unique1mod1.c: Likewise.
63883         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63884         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63885         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63886         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63887         * sysdeps/mach/sysdep.h: Likewise.
63888         * sysdeps/i386/sysdep.h: Likewise.
63889         * sysdeps/i386/i386-mcount.S: Likewise.
63890         * sysdeps/x86_64/_mcount.S: Likewise.
63891         * sysdeps/x86_64/sysdep.h: Likewise.
63892         * sysdeps/sh/_mcount.S: Likewise.
63893         * sysdeps/sh/sysdep.h: Likewise.
63894         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63895         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63896         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63897         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63898         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63899         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63900         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63901         * locale/localeinfo.h: Likewise.
63902         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63903         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63905 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63907         [BZ #14336]
63908         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63909         system".
63910         * manual/message.texi (The Uniforum approach): Likewise.
63911         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63912         (glibc iconv Implementation): Likewise.
63914 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63916         [BZ #14337]
63917         * math/s_clog.c (__clog): Avoid scaling a value down where that
63918         could result in underflow.
63919         * math/s_clog10.c (__clog10): Likewise.
63920         * math/s_clog10f.c (__clog10f): Likewise.
63921         * math/s_clog10l.c (__clog10l): Likewise.
63922         * math/s_clogf.c (__clogf): Likewise.
63923         * math/s_clogl.c (__clogl): Likewise.
63924         * math/libm-test.inc (clog_test): Add more tests.
63925         (clog10_test): Likewise.
63926         * sysdeps/i386/fpu/libm-test-ulps: Update.
63927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63929 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63931         [BZ #14283]
63932         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63933         by 7 not 8 to examine high bit of fractional part.
63935         [BZ #14042]
63936         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63937         for call to __mcount_internal.
63938         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63939         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63940         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63942 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63944         [BZ #14154]
63945         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63946         approximation for values within 0x1p-13f of an odd multiple of
63947         pi/4.
63948         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63949         exception.  Add more tests.
63950         * sysdeps/i386/fpu/libm-test-ulps: Update.
63952         [BZ #6778]
63953         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63954         inputs and return -1 for them.  Do not check for +Inf in case not
63955         reachable for +Inf.
63956         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63957         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63958         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63959         and return -1 for them.  Do not check for +Inf in case not
63960         reachable for +Inf.
63961         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63962         define.
63963         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63964         and return -1 for them.  Do not check for +Inf in case not
63965         reachable for +Inf.
63966         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63967         spurious underflow.
63968         * sysdeps/i386/fpu/libm-test-ulps: Update.
63969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63971 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63973         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63975 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63977         [BZ #14157]
63978         [BZ #14331]
63979         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63980         could result in spurious underflow.  Scale down values above
63981         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63982         * math/s_csqrtf.c (__csqrtf): Likewise.
63983         * math/s_csqrtl.c (__csqrtl): Likewise.
63984         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63985         spurious underflow.
63986         * sysdeps/i386/fpu/libm-test-ulps: Update.
63987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63989 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63991         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63992         xopen-msg.sed.
63993         * catgets/xopen-msg.awk: New file.
63994         * catgets/xopen-msg.sed: Removed.
63996         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63997         po2text.sed.
63998         * intl/po2test.awk: New file.
63999         * intl/po2test.sed: Removed.
64001 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64003         [BZ #14328]
64004         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64005         or multiply small sinh result by itself.
64006         * math/s_ctanf.c (__ctanf): Likewise.
64007         * math/s_ctanh.c (__ctanh): Likewise.
64008         * math/s_ctanhf.c (__ctanhf): Likewise.
64009         * math/s_ctanhl.c (__ctanhl): Likewise.
64010         * math/s_ctanl.c (__ctanl): Likewise.
64011         * math/libm-test.inc (ctan_test_tonearest): New function.
64012         (ctan_test_towardzero): Likewise.
64013         (ctan_test_downward): Likewise.
64014         (ctan_test_upward): Likewise.
64015         (ctanh_test_tonearest): Likewise.
64016         (ctanh_test_towardzero): Likewise.
64017         (ctanh_test_downward): Likewise.
64018         (ctanh_test_upward): Likewise.
64019         (main): Call these new functions.
64020         * sysdeps/i386/fpu/libm-test-ulps: Update.
64021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64023 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64025         * .gitignore: Delete /ports entry.
64027 2012-07-03  Andreas Jaeger  <aj@suse.de>
64029         * po/bg.po: Update from translation team.
64030         * po/cs.po: Likewise.
64031         * po/de.po: Likewise.
64032         * po/hr.po: Likewise.
64033         * po/nl.pl: Likewise.
64034         * po/pl.po: Likewise.
64035         * po/vi.po: Likewise.
64037 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64039         * Makeconfig [!+link] (+link-before-libc): New variable.
64040         [!+link] (+link-after-libc): Likewise.
64041         [!+link] (+link-tests): Likewise.
64042         [!+link] (+link): Define in terms of $(+link-before-libc) and
64043         $(+link-after-libc).
64044         [!+link-static] (+link-static-before-libc): New variable.
64045         [!+link-static] (+link-static-after-libc): Likewise.
64046         [!+link-static] (+link-static-tests): Likewise.
64047         [!+link-static] (+link-static): Define in terms of
64048         $(+link-static-before-libc) and $(+link-static-after-libc).
64049         [build-shared] (link-libc-before-gnulib): New variable.
64050         [build-shared] (link-libc-tests): Likewise.
64051         [build-shared] (link-libc): Define in terms of
64052         $(link-libc-before-gnulib).
64053         [!build-shared] (link-libc-tests): New variable.
64054         (link-libc-static-tests): New variable.
64055         [!gnulib] (gnulib-arch): New variable.
64056         [!gnulib] (gnulib-tests): Likewise.
64057         [!gnulib] (static-gnulib-arch): Likewise.
64058         [!gnulib] (static-gnulib-tests): Likewise.
64059         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64060         Define with "=" instead of ":=".
64061         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64062         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64063         * Rules (binaries-all-notests): New variable.
64064         (binaries-all-tests): Likewise.
64065         (binaries-static-notests): Likewise.
64066         (binaries-static-tests): Likewise.
64067         (binaries-all): Define using $(binaries-all-notests) and
64068         $(binaries-all-tests).
64069         (binaries-static): Define using $(binaries-static-notests) and
64070         $(binaries-static-tests).
64071         (binaries-shared-tests): New variable.
64072         (binaries-shared-notests): Likewise.
64073         (binaries-shared): Remove variable.
64074         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64075         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64076         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64077         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64078         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64079         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64080         * elf/Makefile (sln-modules): New variable.
64081         (extra-objs): Add $(sln-modules:=.o).
64082         (ldconfig-modules): Add static-stubs.
64083         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64084         * elf/static-stubs.c: New file.
64086         [BZ #14283]
64087         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64088         by 7 not 8 to examine high bit of fractional part.  Use volatile
64089         variables when splitting into final array of floats if
64090         __FLT_EVAL_METHOD__ != 0.
64091         * math/libm-test.inc (cos_test): Add another test.
64092         (sin_test): Likewise.
64093         * sysdeps/i386/fpu/libm-test-ulps: Update.
64095         [BZ #14273]
64096         * math/libm-test.inc (cosh_test): Add more tests.
64098         * version.h (RELEASE): Set to "development".
64099         (VERSION): Set to "2.16.90".
64101 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64103         * NEWS: Update copyright. Remove last-updated date.
64104         Mention math library bug fixes and timezone data changes.
64105         * README: Mention GNU/Hurd, x32, and HPPA support status.
64107 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64109         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64111 2012-06-27  Andreas Jaeger  <aj@suse.de>
64113         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64115 2012-06-25  Andreas Jaeger  <aj@suse.de>
64117         * sysdeps/s390/fpu/libm-test-ulps: Update.
64119 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64120             Thomas Schwinge  <thomas@codesourcery.com>
64122         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64123         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64124         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64125         fanotify_mark.
64127 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64129         * sysdeps/mach/start.c: Remove file.
64130         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64131         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64132         * sysdeps/sh/init-first.c: Likewise.
64134         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64135         registers for frame unwinding purposes, add CFI directives.
64136         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64137         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64138         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64139         Likewise.
64141         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64142         __fortify_fail returning.
64143         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64145         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64146         sysdeps/sh/____longjmp_chk.S.
64147         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64148         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64149         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64150         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64152         * sysdeps/sh/abort-instr.h: New file.
64153         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64154         process in case exit returns.
64156         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64157         initialize the GOT register before use.
64159         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64160         calculation of ARGC > 4.
64162         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64163         meaningful names to some local labels.
64165 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64166             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64168         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64169         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64170         (__arch_compare_and_exchange_val_16_acq): Likewise.
64171         (__arch_compare_and_exchange_val_32_acq): Likewise.
64172         (atomic_exchange_and_add): Fix gUSA sequence.
64173         (atomic_add): Likewise.
64174         (atomic_add_negative): Likewise.
64175         (atomic_add_zero): Likewise.
64176         (atomic_bit_test_set): Likewise.
64178 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64180         [BZ #13579]
64181         * include/link.h (struct link_map): Add l_free_initfini.
64182         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64183         l_initfini.
64184         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64185         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64186         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64187         set.
64189 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64191         * configure.in: Use AC_LANG_SOURCE.
64192         * configure: Regenerate.
64194 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64196         * configure.in (libc_cv_localstatedir): New substituted variable.
64197         * configure: Regenerated.
64198         * config.make.in (localstatedir): New variable, substituted from
64199         libc_cv_localstatedir.
64200         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64201         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64202         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64203         * sysdeps/gnu/configure: Regenerated.
64205 2012-06-21  Jeff Law  <law@redhat.com>
64207         [BZ #14277]
64208         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64209         free.  Simplify list management for _LIBC case.
64211 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64213         [BZ #14273]
64214         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64215         Clear sign bit of 64-bit integer value before comparing against
64216         overflow value.
64218         * sysdeps/mach/configure: Regenerated.
64220 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64222         [BZ #14278]
64223         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64225 2012-06-21  Jeff Law  <law@redhat.com>
64227         [BZ #13882]
64228         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64229         uint16_t for elements in the "seen" array to avoid char overflows.
64230         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64231         * elf/dl-open.c (dl_open_worker): Likewise.
64233 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64235         * scripts/list-sources.sh: Scan PORTS for translations.
64236         * po/libc.pot: Regenerated.
64238 2012-06-21  Andreas Jaeger  <aj@suse.de>
64240         [BZ #12194]
64241         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64242         warning.
64243         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64244         * bits/byteswap-16.h (__bswap_16): Likewise.
64245         * bits/byteswap.h (__bswap_constant_16): Likewise.
64247 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64249         [BZ #14117]
64250         * sysdeps/i386/fpu_control.h: Removed.
64251         * sysdeps/x86_64/fpu_control.h: Moved to ...
64252         * sysdeps/x86/fpu_control.h: Here.
64254         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64255         (_FPU_SETCW): Likewise.
64257 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64259         [BZ #14117]
64260         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64261         * sysdeps/x86/fpu/bits/mathinline.h: This.
64262         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64264         [BZ #14050]
64265         [BZ #14117]
64266         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64267         functions if __x86_64__ is defined.
64269 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64271         * string/endian.h: Add !__ASSEMBLER__ condition for including
64272         conversion interfaces.
64274 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64276         [BZ #14241]
64277         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64278         of ABS(x) in calculating zero to negative powers other than odd
64279         integers.
64280         * math/libm-test.inc (pow_test): Add more tests.
64282 2012-06-15  Andreas Jaeger  <aj@suse.de>
64284         * manual/contrib.texi (Contributors): Update entry of Liubov
64285         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64286         Machado Filho.
64288 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64290         * string/string.h: Add __wur to GNU version of strerror_r.
64292 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64294         [BZ #14229]
64295         * string/Makefile (tests): Add tst-strtok_r.
64296         * string/tst-strtok_r.c: New file.
64297         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64298         RAX_LP/RDX_LP on SAVE_PTR.
64300 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64302         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64304 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64306         * libm_test.inc (csqrt_test): Allow more spurious underflow
64307         exceptions.
64308         (j0_test): Likewise.
64309         (j1_test): Likewise.
64310         (y0_test): Likewise.
64311         (y1_test): Likewise.
64313 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64315         * po/Makefile (libc.pot): Use UTF-8 charset.
64317 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64319         [BZ #14210]
64320         Suppress sign-conversion warning from FD_SET.
64321         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64322         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64323         not unsigned long int.
64324         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64326 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64328         [BZ #14050]
64329         [BZ #14117]
64330         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64331         __extern_always_inline instead of __extern_inline.
64332         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64333         (__signbit): Likewise.
64334         (__signbitl): Support C++ namespace.
64335         (lrintf): New inline function.
64336         (lrint): Likewise.
64337         (llrintf): Likewise.
64338         (llrint): Likewise.
64339         (fmaxf): Likewise.
64340         (fmax): Likewise.
64341         (fminf): Likewise.
64342         (fmin): Likewise.
64343         (rint): Likewise.
64344         (rintf): Likewise.
64345         (ceil): Likewise.
64346         (ceilf): Likewise.
64347         (floor): Likewise.
64348         (floorf): Likewise.
64349         (nearbyint): Likewise.
64350         (nearbyintf): Likewise.
64352 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64354         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64355         non-default versions.
64357 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64359         [BZ #14218]
64360         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64362 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64364         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64365         (FE_UPWARD, FE_DOWNWARD): Don't define.
64366         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64367         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64369         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64370         reading it.
64371         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64372         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64374 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64376         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64377         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64378         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64379         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64381 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64383         [BZ #14117]
64384         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64385         * sysdeps/i386/fpu/Implies: New file.
64386         * sysdeps/x86_64/fpu/Implies: Likewise.
64387         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64388         * sysdeps/x86/fpu/bits/fenv.h: This.
64390         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64391         __SSE_MATH__.
64393 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64395         [BZ #14134]
64396         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64397         character 0xffff that matches the last element of the
64398         conversion table.
64400 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64402         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64403         fmodl commit.
64405 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64407         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64408         values higher than 25.6283.
64410 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64412         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64413         subnormal exponent extraction and add some __builtin_expect.
64414         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64415         Fix for subnormal mantissa calculation.
64417 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64419         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64420         cpu2 is -1 and errno is not ENOSYS.
64422 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64424         [BZ #14117]
64425         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64426         * sysdeps/x86/bits/string.h: This.
64427         * sysdeps/x86_64/bits/string.h: Removed.
64429         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64430         if not compiling for x86-64, but compiling for >= i486.
64432         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64433         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64435         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64436         New macro from Linux kernel 3.4.0.
64437         (FP_XSTATE_MAGIC2): Likewise.
64438         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64439         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64440         (struct _fpx_sw_bytes): New struct.
64441         (struct _xsave_hdr): Likewise.
64442         (struct _ymmh_state): Likewise.
64443         (struct _xstate): Likewise.
64445         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64446         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64447         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64448         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64449         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64450         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64452         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64453         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64454         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64455         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64456         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64457         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64459 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64461         [BZ #13743]
64462         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64463         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64464         (sysdep_headers): Include sys/platform/ppc.h.
64465         * sysdeps/powerpc/test-gettimebase.c: Test for
64466         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64467         * manual/Makefile (appendices): Include platform.texi.
64468         * manual/contrib.texi (Contributors): Update @node pointers.
64469         * manual/maint.texi (Maintenance): Likewise.
64470         (Platform): New node.
64471         * manual/platform.texi: New file.  Document the new features.
64473 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64474             Jakub Jelinek  <jakub@redhat.com>
64476         [BZ #14188]
64477         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64478         where __builtin_expect is unavailable.
64480 2012-06-03  David S. Miller  <davem@davemloft.net>
64482         * stdlib/longlong.h: Updated from GCC.
64484 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64486         [BZ #14042]
64487         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64488         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64489         __mcount_internal.
64490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64491         (GLIBC_2.16): Likewise.
64493 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64495         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64497 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64500         (default-abi): New variable.
64501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64502         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64503         variable.
64504         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64505         Likewise.
64506         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64507         Likewise.
64508         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64509         Likewise.
64511         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64512         definition.  Document in comment.
64514 2012-06-01  David S. Miller  <davem@davemloft.net>
64516         * stdlib/longlong.h: Updated from GCC.
64518 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64520         [BZ #14117]
64521         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64522         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64523         sys/debugreg.h sys/io.h here.
64524         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64525         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64526         sys/io.h.
64527         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64528         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64529         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64530         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64531         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64532         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64534         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64535         Define only if __x86_64__ is defined.
64537 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64539         [BZ #14048]
64540         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64541         Use int64_t for variable i.
64542         * math/libm-test.inc (fmod_test): Add more tests.
64544         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64545         z computation is not scheduled after fetestexcept.
64546         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64547         Use math_force_eval instead of asm to ensure calculation scheduled
64548         before exception test.
64549         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64550         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64552 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64555         computation is not scheduled after fetestexcept.
64557 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64559         [BZ #14117]
64560         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64561         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64563 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64565         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64566         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64568 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64570         [BZ #14117]
64571         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64572         <bits/wordsize.h>.
64573         (__WCHAR_MIN): Support __WORDSIZE == 64.
64574         (__WCHAR_MAX): Likewise.
64576         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
64577         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
64579         [BZ #14183]
64580         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
64581         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
64583         [BZ #14117]
64584         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
64585         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
64587         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
64588         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
64590         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
64591         Defined to 1 if __x86_64__ isn't defined.
64592         (_STAT_VER_LINUX_OLD): New.
64593         (st_atime): Remove duplicate.
64594         (st_mtime): Likewise.
64595         (st_ctime): Likewise.
64597 2012-05-31  David S. Miller  <davem@davemloft.net>
64599         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
64600         entries.
64602 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
64604         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
64605         gen-libm-test.pl.
64607         [BZ #14132]
64608         * elf/dl-reloc.c: Include <_itoa.h>.
64609         (_dl_reloc_bad_type): Remove use of INTUSE.
64610         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
64611         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
64612         * stdio-common/psiginfo.c (psiginfo): Likewise.
64613         * stdio-common/psignal.c (psignal): Likewise.
64614         * string/strsignal.c (strsignal): Likewise.
64615         * include/signal.h (_sys_siglist): Declare hidden proto.
64616         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
64617         INTVARDEF with libc_hidden_data_def.
64618         * stdio-common/itoa-udigits.c: Likewise.
64619         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
64620         (_itoa_lower_digits_internal): Remove declaration.
64621         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
64622         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
64623         (_sys_sigabbrev_internal): Remove aliases.
64624         (_sys_siglist): Define hidden alias.
64626 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
64628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64629         bits/sysctl.h.
64631 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64633         [BZ #14117]
64634         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
64635         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
64637         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
64638         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
64639         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
64640         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
64641         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
64642         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
64644         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
64645         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
64646         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
64648         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
64649         with __addr.
64650         (insw): Likewise.
64651         (insl): Likewise.
64652         (outsb): Likewise.
64653         (outsw): Likewise.
64654         (outsl): Likewise.
64656         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
64657         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
64658         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64660         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
64661         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
64662         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
64663         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
64664         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
64665         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
64667         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
64668         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
64670         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
64671         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
64673         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
64674         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
64675         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
64677         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
64678         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
64679         to ...
64680         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
64682         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
64683         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
64684         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
64686         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
64687         for x86-64.
64688         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64690 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
64692         * math/math.h (M_El): Use two more decimal places.
64693         (M_LOG2El): Likewise.
64694         (M_LOG10El): Likewise.
64695         (M_LN2l): Likewise.
64696         (M_LN10l): Likewise.
64697         (M_PIl): Likewise.
64698         (M_PI_2l): Likewise.
64699         (M_PI_4l): Likewise.
64700         (M_1_PIl): Likewise.
64701         (M_2_PIl): Likewise.
64702         (M_2_SQRTPIl): Likewise.
64703         (M_SQRT2l): Likewise.
64704         (M_SQRT1_2l): Likewise.
64706 2012-05-31  David S. Miller  <davem@davemloft.net>
64708         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
64709         values between float registers.
64710         * sysdeps/sparc/sparc64/memset.S: Likewise.
64711         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64713 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
64715         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
64716         -D_FORTIFY_SOURCE=1.
64717         (CPPFLAGS-tst-longjmp_chk.c): Define.
64718         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
64719         (CPPFLAGS-tst-longjmp_chk2.c): Define.
64720         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
64721         CFLAGS-tst-wchar-h.c.
64723 2012-05-31  Marek Polacek  <polacek@redhat.com>
64725         [BZ #14132]
64726         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
64727         __endmntent_internal): Remove declaration.
64728         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
64729         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
64730         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
64732 2012-05-30  David S. Miller  <davem@davemloft.net>
64734         * sysdeps/sparc/sparc32/soft-fp/q_util.c
64735         (___Q_simulate_exceptions): Use real FP ops rather than writing
64736         into the %fsr.
64737         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
64738         Likewise.
64740 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64742         [BZ #14117]
64743         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
64744         * sysdeps/x86/bits/xtitypes.h: This.
64746         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
64747         * sysdeps/x86/bits/wordsize.h: This.
64749         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
64750         * sysdeps/x86/bits/huge_vall.h: This.
64752         * sysdeps/i386/bits/select.h: Removed.
64753         * sysdeps/x86_64/bits/select.h: Renamed to ...
64754         * sysdeps/x86/bits/select.h: This.
64756         * sysdeps/i386/bits/setjmp.h: Removed.
64757         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64758         * sysdeps/x86/bits/setjmp.h: This.
64760         * sysdeps/i386/bits/mathdef.h: Removed.
64761         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64762         * sysdeps/x86/bits/mathdef.h: This.
64764 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64766         [BZ #14132]
64767         * include/sys/socket.h (__connect_internal)
64768         (__libc_sa_len_internal): Remove declaration.
64769         (__connect, __libc_sa_len): Declare hidden_proto.
64770         (SA_LEN): Remove use of INTUSE.
64771         * socket/connect.c: Add libc_hidden_def.
64772         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64773         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64774         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64775         alias.
64776         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64777         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64778         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64779         of adding _internal alias.
64781 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64783         [BZ #14117]
64784         * sysdeps/i386/bits/link.h: Removed.
64785         * sysdeps/i386/bits/linkmap.h: Likewise.
64786         * sysdeps/x86_64/bits/link.h: Renamed to ...
64787         * sysdeps/x86/bits/link.h: This.
64788         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64789         * sysdeps/x86/bits/linkmap.h: This.
64791         * sysdeps/i386/bits/endian.h: Removed.
64792         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64793         * sysdeps/x86/bits/endian.h: This.
64795         * sysdeps/i386/bits/byteswap.h: Removed.
64796         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64797         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64798         * sysdeps/x86/bits/byteswap.h: This.
64799         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64800         * sysdeps/x86/bits/byteswap-16.h: This.
64801         * sysdeps/i386/Implies: Add x86.
64802         * sysdeps/x86_64/Implies: Likewise.
64804 2012-05-30  David S. Miller  <davem@davemloft.net>
64806         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64807         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64808         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64809         (FP_TRAPPING_EXCEPTIONS): Define.
64810         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64811         (FP_TRAPPING_EXCEPTIONS): Define.
64812         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64813         subnormals only when inexact has been signalled or underflow
64814         exceptions are enabled.
64815         (_FP_PACK_CANONICAL): Likewise.
64817 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64819         [BZ #14183]
64820         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64821         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64823 2012-05-30  Richard Henderson  <rth@twiddle.net>
64825         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64826         with #ifndef NOT_IN_libc.
64828         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64829         marked to avoid plt entry.
64831 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64833         [BZ #14112]
64834         * Makeconfig (default-abi): New macro.
64835         (abi-includes): Likewise.
64836         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64837         $(abi-$(default-abi)-lib-soname) for soname if defined.
64838         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64839         abi-variants.
64840         * Makefile (installed-stubs): Likewise.
64841         * include/stubs-biarch.h: Removed.
64842         * scripts/lib-names.awk: Only handle one library at a time.
64843         * scripts/soversions.awk: Remove WORDSIZE support.
64844         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64845         entries.
64846         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64847         Removed.
64848         (syscall-list-default-condition): Likewise.
64849         (syscall-list-default-condition): Likewise.
64850         (syscall-list-includes): Likewise.
64851         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64852         syscall-list-* with abi-*.  Handle undefined abi-variants.
64853         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64854         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64855         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64856         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64857         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64858         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64859         Removed.
64860         (syscall-list-32-options): Likewise.
64861         (syscall-list-32-condition): Likewise.
64862         (syscall-list-64-options): Likewise.
64863         (syscall-list-64-condition): Likewise.
64864         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64865         macro.
64866         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64867         Renamed to ...
64868         (abi-*): This.
64869         (abi-64-ld-soname): New macro.
64870         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64871         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64872         Renamed to ...
64873         (abi-*): This.
64874         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64875         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64877 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64879         * sysdeps/unix/sysv/linux/kernel-features.h
64880         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64881         * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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.
64899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64900         include <kernel-features.h>.
64901         [!__NR_ftruncate64]: Remove conditional code.
64902         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64903         [__NR_ftruncate64]: Make code unconditional.
64904         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64906         * configure.in (libc_cv_fpie): Weaken to a compile test using
64907         LIBC_TRY_CC_OPTION.
64908         * configure: Regenerated.
64910 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64916         Refreshed.
64917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64923         Refreshed.
64925 2012-05-27  David S. Miller  <davem@davemloft.net>
64927         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64928         (___Q_zero): New.
64929         (__Q_simulate_exceptions): Return void.  Change to simulate
64930         exceptions by writing into the %fsr.
64931         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64932         (__Qp_handle_exceptions): Likewise.
64933         (numbers): Delete.
64934         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64935         __Qp_handle_exceptions.
64936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64937         __Qp_handle_exceptions.
64938         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64939         as unused and give dummy FP_RND_NEAREST initializer.
64940         (FP_INHIBIT_RESULTS): Define.
64941         (___Q_simulate_exceptions): Update declaration.
64942         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64943         formatting.
64944         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64945         as unused and give dummy FP_RND_NEAREST initializer.
64946         (__Qp_handle_exceptions): Update declaration.
64947         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64948         formatting.
64950 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64952         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64953         the temporary FPU control word.
64954         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64955         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64956         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64957         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64958         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64959         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64960         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64961         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64962         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64963         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64964         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64966 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64968         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64969         fields.
64971 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64973         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64974         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64975         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64976         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64977         Likewise.
64978         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64979         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64980         Likewise.
64982 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64984         * po/h.po: Update from translation team.
64986 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64988         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64990         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64991         handling of denormals.
64992         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64993         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64994         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64995         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64996         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64997         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64998         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64999         Likewise.
65001 2012-05-26  Marek Polacek  <polacek@redhat.com>
65003         [BZ #14152]
65004         * math/libm-test.inc (fma_test): Don't always expect underflow
65005         exception.
65007 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65009         [BZ #12416]
65010         * elf/tst-execstack.c: Include stackinfo.h.
65011         (do_test): Adjust test case to ensure that pthread_getattr_np
65012         behaviour remains the same after marking stack executable.
65014 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65016         * sysdeps/unix/sysv/linux/kernel-features.h
65017         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65018         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65019         kernel-features.h.
65020         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65021         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65022         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65023         kernel-features.h.
65024         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65025         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65027 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65029         * configure.in: Define the default includes to being none.
65030         * configure: Regenerated.
65032 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65034         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65035         * sysdeps/x86_64/setjmp.S: Likewise.
65036         * sysdeps/i386/bsd-setjmp.S: Likewise.
65037         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65038         * sysdeps/i386/setjmp.S: Likewise.
65039         * sysdeps/i386/__longjmp.S: Likewise.
65040         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65041         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65043         * include/stap-probe.h: New file.
65044         * configure.in: Handle --enable-systemtap.
65045         * configure: Regenerated.
65046         * config.h.in (USE_STAP_PROBE): New #undef.
65047         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65048         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65049         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65051 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65053         [BZ #13717]
65054         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65055         to 2.4.0 where earlier.
65056         * sysdeps/unix/sysv/linux/configure: Regenerated.
65057         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65058         <kernel-features.h>.
65059         [__ASSUME_32BITUIDS]: Make code unconditional.
65060         [!__ASSUME_32BITUIDS]: Remove conditional code.
65061         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65062         <kernel-features.h>.
65063         [__ASSUME_32BITUIDS]: Make code unconditional.
65064         [!__ASSUME_32BITUIDS]: Remove conditional code.
65065         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65066         [__ASSUME_32BITUIDS]: Make code unconditional.
65067         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65068         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65069         <kernel-features.h>.
65070         [__ASSUME_32BITUIDS]: Make code unconditional.
65071         [!__ASSUME_32BITUIDS]: Remove conditional code.
65072         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65073         <kernel-features.h>.
65074         [__ASSUME_32BITUIDS]: Make code unconditional.
65075         [!__ASSUME_32BITUIDS]: Remove conditional code.
65076         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65077         <kernel-features.h>.
65078         [__ASSUME_32BITUIDS]: Make code unconditional.
65079         [!__ASSUME_32BITUIDS]: Remove conditional code.
65080         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65081         <kernel-features.h>.
65082         [__ASSUME_32BITUIDS]: Make code unconditional.
65083         [!__ASSUME_32BITUIDS]: Remove conditional code.
65084         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65085         <kernel-features.h>.
65086         [__ASSUME_32BITUIDS]: Make code unconditional.
65087         [!__ASSUME_32BITUIDS]: Remove conditional code.
65088         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65089         <kernel-features.h>.
65090         [__ASSUME_32BITUIDS]: Make code unconditional.
65091         [!__ASSUME_32BITUIDS]: Remove conditional code.
65092         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65093         <kernel-features.h>.
65094         [__ASSUME_32BITUIDS]: Make code unconditional.
65095         [!__ASSUME_32BITUIDS]: Remove conditional code.
65096         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65097         <kernel-features.h>.
65098         [__ASSUME_32BITUIDS]: Make code unconditional.
65099         [!__ASSUME_32BITUIDS]: Remove conditional code.
65100         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65101         <kernel-features.h>.
65102         [__ASSUME_32BITUIDS]: Make code unconditional.
65103         [!__ASSUME_32BITUIDS]: Remove conditional code.
65104         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65105         <kernel-features.h>.
65106         [__ASSUME_32BITUIDS]: Make code unconditional.
65107         [!__ASSUME_32BITUIDS]: Remove conditional code.
65108         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65109         <kernel-features.h>.
65110         [__NR_setresgid] (__setresgid): Do not declare.
65111         [__ASSUME_32BITUIDS]: Make code unconditional.
65112         [!__ASSUME_32BITUIDS]: Remove conditional code.
65113         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65114         <kernel-features.h>.
65115         [__NR_setresuid] (__setresuid): Do not declare.
65116         [__ASSUME_32BITUIDS]: Make code unconditional.
65117         [!__ASSUME_32BITUIDS]: Remove conditional code.
65118         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65119         <kernel-features.h>.
65120         [__ASSUME_32BITUIDS]: Make code unconditional.
65121         [!__ASSUME_32BITUIDS]: Remove conditional code.
65122         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65123         <kernel-features.h>.
65124         [__ASSUME_32BITUIDS]: Make code unconditional.
65125         [!__ASSUME_32BITUIDS]: Remove conditional code.
65126         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65127         <kernel-features.h>.
65128         [__ASSUME_32BITUIDS]: Make code unconditional.
65129         [!__ASSUME_32BITUIDS]: Remove conditional code.
65130         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65131         <kernel-features.h>.
65132         [__ASSUME_32BITUIDS]: Make code unconditional.
65133         [!__ASSUME_32BITUIDS]: Remove conditional code.
65134         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65135         <kernel-features.h>.
65136         [__ASSUME_32BITUIDS]: Make code unconditional.
65137         [!__ASSUME_32BITUIDS]: Remove conditional code.
65138         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65139         <kernel-features.h>.
65140         [__ASSUME_32BITUIDS]: Make code unconditional.
65141         [!__ASSUME_32BITUIDS]: Remove conditional code.
65142         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65143         <kernel-features.h>.
65144         [__ASSUME_32BITUIDS]: Make code unconditional.
65145         [!__ASSUME_32BITUIDS]: Remove conditional code.
65146         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65147         <kernel-features.h>.
65148         [__ASSUME_32BITUIDS]: Make code unconditional.
65149         [!__ASSUME_32BITUIDS]: Remove conditional code.
65150         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65151         <kernel-features.h>.
65152         [__ASSUME_32BITUIDS]: Make code unconditional.
65153         [!__ASSUME_32BITUIDS]: Remove conditional code.
65154         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65155         <kernel-features.h>.
65156         [__ASSUME_32BITUIDS]: Make code unconditional.
65157         [!__ASSUME_32BITUIDS]: Remove conditional code.
65158         * sysdeps/unix/sysv/linux/kernel-features.h
65159         (__ASSUME_SETRESUID_SYSCALL): Remove.
65160         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65161         (__ASSUME_32BITUIDS): Likewise.
65162         (__ASSUME_LDT_WORKS): Likewise.
65163         (__ASSUME_O_DIRECTORY): Likewise.
65164         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65165         architecture but not kernel version.
65166         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65167         (__ASSUME_MMAP2_SYSCALL): Likewise.
65168         (__ASSUME_STAT64_SYSCALL): Likewise.
65169         (__ASSUME_IPC64): Likewise.
65170         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65171         <kernel-features.h>.
65172         [__ASSUME_32BITUIDS]: Make code unconditional.
65173         [!__ASSUME_32BITUIDS]: Remove conditional code.
65174         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65175         <kernel-features.h>.
65176         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65177         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65178         132096]: Remove conditional code.
65179         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65180         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65181         <kernel-features.h>.
65182         [__ASSUME_32BITUIDS]: Make code unconditional.
65183         [!__ASSUME_32BITUIDS]: Remove conditional code.
65184         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65185         <kernel-features.h>.
65186         [__ASSUME_32BITUIDS]: Make code unconditional.
65187         [!__ASSUME_32BITUIDS]: Remove conditional code.
65188         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65189         <kernel-features.h>.
65190         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65191         unconditional.
65192         (__setresgid): Do not declare.
65193         [__ASSUME_32BITUIDS]: Make code unconditional.
65194         [!__ASSUME_32BITUIDS]: Remove conditional code.
65195         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65196         <kernel-features.h>.
65197         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65198         unconditional.
65199         (__setresuid): Do not declare.
65200         [__ASSUME_32BITUIDS]: Make code unconditional.
65201         [!__ASSUME_32BITUIDS]: Remove conditional code.
65202         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65203         <kernel-features.h>.
65204         [__ASSUME_32BITUIDS]: Make code unconditional.
65205         [!__ASSUME_32BITUIDS]: Remove conditional code.
65206         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65207         <kernel-features.h>.
65208         [__ASSUME_32BITUIDS]: Make code unconditional.
65209         [!__ASSUME_32BITUIDS]: Remove conditional code.
65211 2012-05-25  Richard Henderson  <rth@twiddle.net>
65213         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65214         dl_hwcap to ifunc resolver.
65215         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65216         elf_ifunc_invoke.
65217         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65218         dl_hwcap to ifunc resolver.
65219         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65221 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65223         [BZ #14153]
65224         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65225         for |x| <= 2**-26, not 2**-57.
65226         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65227         exception.
65229 2012-05-24  Jeff Law  <law@redhat.com>
65231         * stdio-common/Makefile (tests): Add bug25.
65232         * stdio-common/bug25.c: New test.
65234 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65236         [BZ #13576]
65237         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65238         multiple of MALLOC_ALIGNMENT in size.
65239         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65241 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65243         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65244         Require >= 256.
65245         (FILENAME_MAX): Use macro-int-constant.
65246         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65247         (_IOFBF): Use macro-int-constant.
65248         (_IOLBF): Likewise.
65249         (_IONBF): Likewise.
65250         (SEEK_CUR): Likewise.
65251         (SEEK_END): Likewise.
65252         (SEEK_SET): Likewise.
65253         (TMP_MAX): Likewise.
65254         (EOF): Use macro-int-constant.  Require < 0.
65255         (NULL): Use macro-constant.  Require == 0.
65256         (stdin): Require type to be FILE *.
65257         (stdout): Likewise.
65258         (stderr): Likewise.
65259         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65260         macro-int-constant.
65261         (EXIT_SUCCESS): Likewise.
65262         (NULL): Use macro-constant.  Require == 0.
65263         (RAND_MAX): Use macro-int-constant.
65264         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65265         [C99-based standards] (strtof): Require function.
65266         [C99-based standards] (strtold): Likewise.
65267         [C99-based standards] (strtoll): Likewise.
65268         [C99-based standards] (strtoull): Likewise.
65269         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65270         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65271         [ISO || ISO99 || ISO11] (math.h): Likewise.
65272         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65273         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65274         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65276 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65278         [BZ #14132]
65279         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65280         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65281         * intl/dgettext.c (DCGETTEXT): Likewise.
65282         * intl/gettext.c (DCGETTEXT): Likewise.
65283         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65284         * posix/regex_internal.h (gettext): Likewise.
65285         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65286         Remove declaration.
65287         * include/argz.h (__argz_count_internal)
65288         (__argz_stringify_internal): Remove declaration.
65289         (__argz_count, __argz_stringify): Declare hidden proto.
65290         * intl/dcgettext.c: Remove use of INTDEF.
65291         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65292         * string/argz-stringify.c: Likewise.
65293         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65294         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65295         Declare hidden proto.
65296         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65297         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65298         Declare hidden proto.
65299         * include/stdio.h (__asprintf_internal): Don't declare.
65300         (__asprintf): Don't define as macro.  Declare hidden proto.
65301         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65302         (__fsetlocking): Declare hidden proto.
65303         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65304         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65305         hidden proto.
65306         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65307         (_IO_setlinebuf): Remove use of INTUSE.
65308         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65309         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65310         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65311         Remove declaration.
65312         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65313         (_IO_do_flush): Remove use of INTUSE.
65314         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65315         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65316         (_IO_adjust_column, _IO_least_wmarker)
65317         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65318         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65319         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65320         (_IO_default_doallocate, _IO_wdefault_doallocate)
65321         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65322         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65323         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65324         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65325         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65326         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65327         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65328         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65329         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65330         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65331         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65332         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65333         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65334         proto.
65335         (_IO_flush_all_internal, _IO_adjust_column_internal)
65336         (_IO_default_uflow_internal, _IO_default_finish_internal)
65337         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65338         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65339         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65340         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65341         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65342         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65343         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65344         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65345         (_IO_file_close_internal, _IO_file_close_it_internal)
65346         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65347         (_IO_file_init_internal, _IO_file_attach_internal)
65348         (_IO_file_fopen_internal, _IO_file_read_internal)
65349         (_IO_file_sync_internal, _IO_file_seek_internal)
65350         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65351         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65352         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65353         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65354         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65355         (_IO_list_all_internal, _IO_link_in_internal)
65356         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65357         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65358         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65359         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65360         (_IO_do_write_internal, _IO_padn_internal)
65361         (_IO_getline_info_internal, _IO_getline_internal)
65362         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65363         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65364         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65365         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65366         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65367         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65368         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65369         with libc_hidden_ver, remove use of INTUSE.
65370         * libio/genops.c: Likewise.
65371         * libio/freopen.c: Likewise.
65372         * libio/freopen64.c: Likewise.
65373         * libio/iofclose.c: Likewise.
65374         * libio/iofdopen.c: Likewise.
65375         * libio/iofflush.c: Likewise.
65376         * libio/iofflush_u.c: Likewise.
65377         * libio/iofgets.c: Likewise.
65378         * libio/iofgets_u.c: Likewise.
65379         * libio/iofopen.c: Likewise.
65380         * libio/iofopncook.c: Likewise.
65381         * libio/iofread.c: Likewise.
65382         * libio/iofread_u.c: Likewise.
65383         * libio/ioftell.c: Likewise.
65384         * libio/iofwrite.c: Likewise.
65385         * libio/iogetline.c: Likewise.
65386         * libio/iogets.c: Likewise.
65387         * libio/iogetwline.c: Likewise.
65388         * libio/iopadn.c: Likewise.
65389         * libio/iopopen.c: Likewise.
65390         * libio/ioseekoff.c: Likewise.
65391         * libio/ioseekpos.c: Likewise.
65392         * libio/iosetbuffer.c: Likewise.
65393         * libio/iosetvbuf.c: Likewise.
65394         * libio/ioungetc.c: Likewise.
65395         * libio/ioungetwc.c: Likewise.
65396         * libio/iovdprintf.c: Likewise.
65397         * libio/iovsprintf.c: Likewise.
65398         * libio/iovsscanf.c: Likewise.
65399         * libio/memstream.c: Likewise.
65400         * libio/obprintf.c: Likewise.
65401         * libio/oldfileops.c: Likewise.
65402         * libio/oldiofclose.c: Likewise.
65403         * libio/oldiofdopen.c: Likewise.
65404         * libio/oldiofopen.c: Likewise.
65405         * libio/oldiopopen.c: Likewise.
65406         * libio/oldstdfiles.c: Likewise.
65407         * libio/putc.c: Likewise.
65408         * libio/setbuf.c: Likewise.
65409         * libio/setlinebuf.c: Likewise.
65410         * libio/stdfiles.c: Likewise.
65411         * libio/strops.c: Likewise.
65412         * libio/vasprintf.c: Likewise.
65413         * libio/vscanf.c: Likewise.
65414         * libio/vsnprintf.c: Likewise.
65415         * libio/vswprintf.c: Likewise.
65416         * libio/wfiledoalloc.c: Likewise.
65417         * libio/wfileops.c: Likewise.
65418         * libio/wgenops.c: Likewise.
65419         * libio/wmemstream.c: Likewise.
65420         * libio/wstrops.c: Likewise.
65421         * libio/__fpurge.c: Likewise.
65422         * libio/__fsetlocking.c: Likewise.
65423         * assert/assert.c: Likewise.
65424         * debug/fgets_chk.c: Likewise.
65425         * debug/fgets_u_chk.c: Likewise.
65426         * debug/fread_chk.c: Likewise.
65427         * debug/fread_u_chk.c: Likewise.
65428         * debug/gets_chk.c: Likewise.
65429         * debug/obprintf_chk.c: Likewise.
65430         * debug/vasprintf_chk.c: Likewise.
65431         * debug/vdprintf_chk.c: Likewise.
65432         * debug/vsnprintf_chk.c: Likewise.
65433         * debug/vsprintf_chk.c: Likewise.
65434         * malloc/mtrace.c: Likewise.
65435         * misc/error.c: Likewise.
65436         * misc/syslog.c: Likewise.
65437         * stdio-common/asprintf.c: Likewise.
65438         * stdio-common/fxprintf.c: Likewise.
65439         * stdio-common/getw.c: Likewise.
65440         * stdio-common/isoc99_fscanf.c: Likewise.
65441         * stdio-common/isoc99_scanf.c: Likewise.
65442         * stdio-common/isoc99_vfscanf.c: Likewise.
65443         * stdio-common/isoc99_vscanf.c: Likewise.
65444         * stdio-common/isoc99_vsscanf.c: Likewise.
65445         * stdio-common/printf-prs.c: Likewise.
65446         * stdio-common/printf_fp.c: Likewise.
65447         * stdio-common/printf_fphex.c: Likewise.
65448         * stdio-common/printf_size.c: Likewise.
65449         * stdio-common/putw.c: Likewise.
65450         * stdio-common/scanf.c: Likewise.
65451         * stdio-common/sprintf.c: Likewise.
65452         * stdio-common/tmpfile.c: Likewise.
65453         * stdio-common/vfprintf.c: Likewise.
65454         * stdio-common/vfscanf.c: Likewise.
65455         * stdlib/strfmon_l.c: Likewise.
65456         * sunrpc/openchild.c: Likewise.
65457         * sunrpc/xdr_stdio.c: Likewise.
65458         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65459         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65461 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65463         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65465         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65466         in the third column, to generate for the shared library an IFUNC
65467         that uses _dl_vdso_vsym.
65468         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65469         * Makeconfig (object-suffixes-noshared): New variable.
65471         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65472         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65473         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65474         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65476         [BZ #14132]
65477         * include/sys/time.h (__gettimeofday): Remove macro.
65478         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65479         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65480         Remove INTDEF.
65481         (__gettimeofday): Add libc_hidden_def.
65482         (gettimeofday): Add libc_hidden_weak.
65483         * sysdeps/mach/gettimeofday.c: Likewise.
65484         * sysdeps/posix/gettimeofday.c: Likewise.
65485         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65486         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65487         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65488         (__gettimeofday_internal): Remove strong_alias.
65489         (__gettimeofday): Add libc_hidden_def.
65490         (gettimeofday): Add libc_hidden_weak.
65491         * sysdeps/unix/syscalls.list (gettimeofday):
65492         Remove __gettimeofday_internal alias.
65494 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65495             H.J. Lu  <hongjiu.lu@intel.com>
65497         [BZ #12495]
65498         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65499         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65500         (largebin_index_32_big): New.
65501         (largebin_index): Use it for 16-byte alignment.
65502         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65503         correction with front_misalign.
65505 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65509         Likewise.
65510         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65511         Likewise.
65512         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65513         Likewise.
65514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65515         Likewise.
65516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65517         Likewise.
65518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65519         Likewise.
65520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65521         Likewise.
65522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65523         Likewise.
65524         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65525         Likewise.
65526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65527         Likewise.
65528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65529         Likewise.
65530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65531         Likewise.
65533         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65534         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65536 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65538         [BZ #10846]
65539         [BZ #14036]
65540         * math/libm-test.inc (exp_test): Add test from bug 14036.
65541         (pow_test): Add test from bug 10846.
65543         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65544         and other flags.
65545         (special_function): Do not include flags in test name.
65546         (parse_args): Likewise.
65547         * sysdeps/i386/fpu/libm-test-ulps: Update.
65548         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65549         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65550         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65553         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65554         exceptions.
65555         * math/libm-test.inc ("Philosophy"): Update comment about
65556         exception testing.
65557         (UNDERFLOW_EXCEPTION): New macro.
65558         (UNDERFLOW_EXCEPTION_OK): Likewise.
65559         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65560         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65561         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65562         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65563         (INVALID_EXCEPTION_OK): Update value.
65564         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65565         (OVERFLOW_EXCEPTION_OK): Likewise.
65566         (IGNORE_ZERO_INF_SIGN): Likewise.
65567         (test_exceptions): Handle underflow exceptions.
65568         (acos_test): Update for underflow exception expectations.
65569         (cexp_test): Likewise.
65570         (clog_test): Likewise.
65571         (clog10_test): Likewise.
65572         (csqrt_test): Likewise.
65573         (ctan_test): Likewise.
65574         (ctanh_test): Likewise.
65575         (exp_test): Likewise.
65576         (exp10_test): Likewise.
65577         (exp2_test): Likewise.
65578         (expm1_test): Likewise.
65579         (fma_test): Likewise.
65580         (j0_test): Likewise.
65581         (jn_test): Likewise.
65582         (nexttoward_test): Likewise.
65583         (pow_test): Likewise.
65584         (scalbn_test): Likewise.
65585         (scalbln_test): Likewise.
65586         (tan_test): Likewise.
65587         (y1_test): Likewise.
65588         * sysdeps/i386/fpu/libm-test-ulps: Update.
65589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65591 2012-05-23  David S. Miller  <davem@davemloft.net>
65593         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65594         (__libc_sigaction): Remove unused local variables.
65596 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65598         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
65600 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
65602         mktime: avoid signed integer overflow
65603         * time/mktime.c (__mktime_internal): Do not mishandle the case
65604         where diff == INT_MIN.
65606         mktime: simplify computation of average
65607         * time/mktime.c (ranged_convert): Use new time_t_avg function
65608         instead of rolling our own (probably-slower) code.
65610         mktime: do not assume signed right shift propagates sign bit
65611         * time/mktime.c (isdst_differ): New static function.
65612         (__mktime_internal): No need to normalize tm_isdst now.
65613         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
65614         tm_isdst values.
65616         mktime: merge another wrapv change from gnulib
65617         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
65618         from some compilers.
65620         mktime: remove incorrect attempt at unusual arithmetics
65621         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
65622         The code didn't really work on such machines anyway.
65623         (TYPE_MINIMUM): Assume two's complement.
65624         (twos_complement_arithmetic): Verify that long_int and time_t
65625         are two's complement (or unsigned, in the latter case).
65627         mktime: check signed shifts on long_int and time_t, too
65628         * time/mktime.c (SHR): Check that shifts work as desired
65629         on the types long_int and time_t too, as SHR is used on
65630         such types.
65632         mktime: do not assume 'long' is wide enough
65633         * time/mktime.c (verify): Move decl up.
65634         (long_int): New type.
65635         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
65636         to remove assumption in the code that 'long' is wide enough to
65637         store year values.  This assumption is not true on x32 and on
65638         some non-glibc platforms.
65640         mktime: merge wrapv change from gnulib
65641         * time/mktime.c (WRAPV): New macro.
65642         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
65643         (guess_time_tm, __mktime_internal): Do not assume that signed
65644         integer overflow wraps around; modern compilers generate code
65645         where this assumption is no longer valid.
65647 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65649         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65650         Replace "jmp L(pseudo_end)" with "ret".
65651         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
65652         Likewise.
65654 2012-05-23  Andreas Jaeger  <aj@suse.de>
65656         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
65657         * sysdeps/unix/sysv/linux/poll.c: Remove file.
65659 2012-05-23  Andreas Jaeger  <aj@suse.de>
65660             Maximilian Attems  <max@stro.at>
65662         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
65663         New macros.
65665 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
65667         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
65668         code so that pseudo_end is just ret and the stack pointer is
65669         correct also for static library in error case.
65671 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
65673         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
65674         move to syscalls.list.
65675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
65676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
65677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
65678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
65680         * manual/install.texi (Running make install): Do not mention Linux
65681         kernel version for which pt_chown is not needed.
65682         (Linux): Do not mention problems with nscd with 2.0 kernels.
65683         * INSTALL: Regenerated.
65685 2012-05-23  Andreas Jaeger  <aj@suse.de>
65687         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
65688         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
65689         macro.
65690         * sysdeps/unix/sysv/linux/s390/bits/mman.h
65691         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65692         * sysdeps/unix/sysv/linux/sh/bits/mman.h
65693         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65694         * sysdeps/unix/sysv/linux/i386/bits/mman.h
65695         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65696         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
65697         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65698         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
65699         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
65700         * sysdeps/unix/sysv/linux/bits/in.h
65701         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
65703 2012-05-22  Roland McGrath  <roland@hack.frob.com>
65705         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
65706         (PREPARE_VERSION): Just use assert instead, it will be elided
65707         under [NDEBUG] anyway.
65709 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65711         * sysdeps/unix/sysv/linux/Makefile: Include
65712         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
65713         (sysdep_routines): Remove sysctl.
65714         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
65715         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
65716         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
65717         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
65718         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
65720 2012-05-22  Andreas Jaeger  <aj@suse.de>
65722         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
65723         that pseudo_end is just ret and the stack pointer is correct also
65724         for static library in error case.
65726 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
65728         [BZ #14122]
65729         * nss/nsswitch.c (defconfig_entries): New variable.
65730         (__nss_database_lookup): Don't leak defconfig entries.
65731         (nss_parse_service_list): Don't leak on error paths.
65732         (free_database_entries): New function.
65733         (free_defconfig): New function.
65734         (free_mem): Move common code to free_database_entries.
65736 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65738         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
65739         Add arch_prctl.
65740         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
65742         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
65743         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
65744         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
65745         New macro.
65746         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
65747         (INTERNAL_SYSCALL_TYPES): Likewise.
65748         (LOAD_ARGS_TYPES_[1-6]): Likewise.
65749         (LOAD_REGS_TYPES_[1-6]): Likewise.
65750         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
65751         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
65753 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65755         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
65756         copysignl for GLIBC_2_0.
65757         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65758         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65759         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65760         logbl for GLIBC_2_0.
65761         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65762         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65764 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65766         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65767         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65769         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65770         Use "neg %eax".
65772         * time/mktime.c: Update copyright years.
65774 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65776         mktime: merge comment-quoting-style change from gnulib
65777         * time/mktime.c: Quote 'like this' in comments.
65778         The GNU coding standards suggest that we no longer quote `like this',
65779         as "`" and "'" are typically rendered asymmetrically nowadays.
65780         The typical gnulib style is to quote 'like this' when quoting
65781         code, and "like this" when quoting English.
65783         * time/mktime.c (compile-command): Add "-I.".
65785         mktime: merge mktime-internal.h change from gnulib
65786         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65788         mktime: merge time_r change from gnulib
65789         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65791         mktime: merge DEBUG change from gnulib
65792         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65793         case system <time.h> has a #define.
65795         mktime: merge <sys/types.h> change from gnulib
65796         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65797         since <time.t> is now guaranteed to define time_t.
65799         mktime: merge HAVE_CONFIG_H change from gnulib
65800         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65802 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65804         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65805         Use "neg %eax".
65807         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65808         __rlim_t cast.
65809         (struct rusage): Use anonymous union to pad each field to
65810         __syscall_slong_t.
65812 2012-05-21  David S. Miller  <davem@davemloft.net>
65814         * Makefules (o-iterator): Remove .s cases.
65815         (compile-command.s): Delete.
65816         (COMPILE.s): Delete.
65817         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65819 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65821         * configure.in (libc_cv_predef_stack_protector): Only consider
65822         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65823         * configure: Regenerated.
65825 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65827         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65828         New macro.  Use R*LP on int and pointer.
65829         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65830         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65831         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65832         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65834         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65835         [__WORDSIZE_TIME64_COMPAT32] instead of
65836         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65837         (struct utmp): Likewise.
65838         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65839         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65840         Renamed to ...
65841         (__WORDSIZE_TIME64_COMPAT32): This.
65842         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65843         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65844         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65845         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65846         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65847         (__WORDSIZE_TIME64_COMPAT32): New macro.
65849 2012-05-21  Andreas Jaeger  <aj@suse.de>
65851         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65852         only if [SHARED]. Add prototype for __wcschr_ia32.
65854 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65856         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65857         of %rbp unmolested in the jmp_buf while mangling the low bits.
65858         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65859         unmolested high bits of %rbp while demangling the low bits.
65860         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65862 2012-05-21  Andreas Jaeger  <aj@suse.de>
65864         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65865         * sunrpc/svc_simple.c: Use it for registerrpc.
65866         * sunrpc/xcrypt.c: Use it for passwd2des.
65868         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65870 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65872         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65873         Don't define if [__SYSCALL_WORDSIZE != 32].
65874         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65875         New macro.
65877 2012-05-21  Bruno Haible  <bruno@clisp.org>
65878             Andreas Jaeger  <aj@suse.de>
65880         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65881         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65882         inptr and inend for must_buffer_ch.
65883         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65884         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65885         * stdio-common/Makefile (tests): Remove bug15.
65886         (bug15-ENV): Remove macro.
65887         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65888         anymore.
65890 2012-05-19  Andreas Jaeger  <aj@suse.de>
65891             Roland McGrath  <roland@hack.frob.com>
65893         * manual/contrib.texi: Completely rewritten. It contains now an
65894         alphabetical list of contributors and their contributions.
65896 2012-05-21  Richard Henderson  <rth@twiddle.net>
65898         * misc/getauxval.c (__getauxval): Use unsigned long int.
65899         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65900         (getauxval): Use unsigned long int.
65902 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65904         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65906 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65908         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65909         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65910         __alignof__ (long double).
65912 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65916 2012-05-20  Richard Henderson  <rth@twiddle.net>
65918         * misc/getauxval.c: New file.
65919         * misc/sys/auxv.h: New file.
65920         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65921         (routines): Add getauxval.
65922         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65923         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65924         * elf/dl-sysdep.c (_dl_auxv): Remove.
65925         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65926         * elf/dl-support.c (_dl_auxv): New variable.
65927         (_dl_aux_init): Initialize it.
65928         * manual/startup.texi (Auxiliary Vector): New node.
65929         * sysdeps/generic/bits/hwcap.h: New file.
65930         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65931         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65932         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65933         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65934         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65935         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65937         Update.
65938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65941         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65947 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65951 2012-05-19  David S. Miller  <davem@davemloft.net>
65953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65955 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65957         [BZ #14123]
65958         * math/s_ccosh.c: Include <float.h>
65959         (__ccosh): Avoid internal overflow calculating sinh and cosh
65960         values before multiplying by sin and cos values.
65961         * math/s_ccoshf.c: Likewise.
65962         * math/s_ccoshl.c: Likewise.
65963         * math/s_csin.c: Likewise.
65964         * math/s_csinf.c: Likewise.
65965         * math/s_csinl.c: Likewise.
65966         * math/s_csinh.c: Likewise.
65967         * math/s_csinhf.c: Likewise.
65968         * math/s_csinhl.c: Likewise.
65969         * math/libm-test.inc (ccos_test): Add more tests.
65970         (ccosh_test): Likewise.
65971         (csin_test): Likewise.
65972         (csinh_test): Likewise.
65973         * sysdeps/i386/fpu/libm-test-ulps: Update.
65974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65976 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65978         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65979         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65981         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65983 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65985         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65986         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65987         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65988         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65989         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65990         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65991         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65992         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65993         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65994         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65995         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65996         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65997         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65998         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65999         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66000         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66001         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66002         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66003         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66004         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66005         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66006         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66007         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66008         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66009         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66010         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66011         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66012         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66013         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66014         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66015         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66017 2012-05-18  Andreas Jaeger  <aj@suse.de>
66019         * csu/.gitignore: Delete.
66021 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66023         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66024         (timex): Use __syscall_slong_t.
66026 2012-05-18  Andreas Jaeger  <aj@suse.de>
66027             Carlos O'Donell  <carlos_odonell@mentor.com>
66029         * manual/install.texi (Configuring and compiling): Update
66030         description about files modified in the source directory.
66031         * INSTALL: Regenerated.
66033 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66035         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66036         value.  Use "or" to set return value to -1.
66037         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66038         negate return value.
66040 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66042         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66043         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66044         failure if the compiler has Graphite support disabled.
66045         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66046         Likewise.
66047         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66048         (CFLAGS-memmove.c): Likewise.
66049         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66050         Likewise.
66052 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66054         * sysdeps/x86_64/x32/_itoa.h: New file.
66056         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66057         getdents system call only if kernel and user dirents have the
66058         same d_ino and d_off.
66060         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66061         LLONG_MAX != LONG_MAX.
66062         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66063         (_fitoa_word): Likewise.
66065         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66066         years.
66067         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66068         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66069         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66071         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66072         include <bits/wordsize.h>.  Check __x86_64__ instead of
66073         __WORDSIZE.
66074         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66075         if __x86_64__ is defined.  Use anonymous union on fpstate.
66077         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66078         anonymous union.
66080 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66082         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66083         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66084         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66085         Refer to _rtld_local_ro instead of _rtld_global_ro.
66086         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66087         Likewise.
66088         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66089         Likewise.
66090         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66091         Likewise.
66092         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66093         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66094         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66096         [BZ #10882]
66097         * sysdeps/powerpc/powerpc32/dl-machine.c
66098         (__elf_machine_runtime_setup) [PROF]: Don't reference
66099         _dl_prof_resolve.
66101 2012-05-18  Andreas Jaeger  <aj@suse.de>
66103         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66104         function only available for GCCs before 3.4 since GCC 3.4
66105         introduced a builtin.
66106         (lrint): Likewise.
66107         (llrintf): Likewise.
66108         (llrint): Likewise.
66109         (fmaxf): Likewise.
66110         (fmax): Likewise.
66111         (fminf): Likewise.
66112         (fmin): Likewise.
66113         (rint): Likewise.
66114         (rintf): Likewise.
66115         (nearbyint): Likewise.
66116         (nearbyintf): Likewise.
66117         (ceil): Likewise.
66118         (ceilf): Likewise.
66119         (floor): Likewise.
66120         (floorf): Likewise.
66122 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66124         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66125         on both fields and cast pointer to __syscall_ulong_t.
66127         * bits/types.h (__fsword_t): New type.
66128         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66129         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66130         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66131         (__FSWORD_T_TYPE): Likewise.
66132         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66133         (__FSWORD_T_TYPE): Likewise.
66134         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66135         (__FSWORD_T_TYPE): Likewise.
66136         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66137         (__FSWORD_T_TYPE): Likewise.
66138         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66139         __SWORD_TYPE with __fsword_t.
66140         (statfs64): Likewise.
66142 2012-05-17  David S. Miller  <davem@davemloft.net>
66144         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66146 2012-05-17  Andreas Jaeger  <aj@suse.de>
66148         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66149         warning.
66151 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66153         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66155 2012-05-17  Andreas Jaeger  <aj@suse.de>
66157         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66158         when it is used.
66160 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66162         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66164 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66166         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66167         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66169 2012-05-17  Andreas Jaeger  <aj@suse.de>
66170             Carlos O'Donell  <carlos_odonell@mentor.com>
66172         [BZ #14059]
66173         * sysdeps/x86_64/multiarch/init-arch.h
66174         (bit_YMM_Usable): Rename to...
66175         (bit_AVX_Usable): ... this.
66176         (bit_FMA4_Usable): New macro.
66177         (bit_XMM_state): New macro.
66178         (bit_YMM_state): New macro.
66179         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66180         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66181         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66182         (CPUID_OSXSAVE): New macro.
66183         (CPUID_AVX): New macro.
66184         (CPUID_FMA4): New macro.
66185         (index_YMM_Usable): Rename to...
66186         (index_AVX_Usable): ... this.
66187         (HAS_AVX): Use HAS_ARCH_FEATURE.
66188         (HAS_FMA4): Likewise.
66189         (HAS_YMM_USABLE): Remove.
66190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66191         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66192         are present.
66193         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66194         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66195         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66196         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66197         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66199 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66201         * math/libm-test.c: Support platforms without multiple rounding modes.
66202         * math/bug-nextafter.c: Support platforms without FP exceptions.
66203         * math/bug-nexttoward.c: Likewise.
66204         * math/test-fenv.c: Likewise.
66205         * math/test-misc.c: Likewise.
66206         * stdlib/bug-getcontext.c: Likewise.
66208 2012-05-17  Andreas Jaeger  <aj@suse.de>
66210         * manual/examples/search.c (critter_cmp): Change signature to
66211         avoid warnings.
66212         * manual/string.texi (Collation Functions): Likewise.
66214 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66216         * bits/types.h: Fold copyright years.
66217         * bits/typesizes.h: Likewise.
66218         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66219         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66220         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66221         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66222         * time/time.h: Likewise.
66224 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66226         [BZ #208]
66227         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66228         in instead of returning them.  Return void.
66229         (__libc_mallinfo): Accumulate over all arenas.
66230         (__malloc_stats): Adjust for change in int_mallinfo interface.
66232 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66234         [BZ #10375]
66235         * configure.in (NM): Add AC_CHECK_TOOL for it.
66236         (libc_extra_cflags): New substituted variable.
66237         Check for -fstack-protector being used implicitly.
66238         * configure: Regenerated.
66239         * config.make.in (config-extra-cflags): New variable,
66240         gets @libc_extra_cflags@.
66241         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66243         [BZ #10375]
66244         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66245         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66246         * configure: Regenerated.
66247         * config.make.in (CPPUNDEFS): New substituted variable.
66248         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66249         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66250         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66252 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66254         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66255         (mq_attr): Use __syscall_slong_t.
66257 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66259         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66260         Check __x86_64__ instead of __WORDSIZE.
66261         (_STAT_VER_LINUX): Likewise.
66262         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66263         __syscall_ulong_t and __syscall_slong_t.
66264         (stat64): Likewise.
66266 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66268         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66270 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66272         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66274 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66276         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66277         __syscall_ulong_t.
66279         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66280         include <bits/wordsize.h>.  Check __x86_64__ instead of
66281         __WORDSIZE.
66282         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66283         defined.
66284         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66286         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66287         include <bits/wordsize.h>.  Check __x86_64__ instead of
66288         __WORDSIZE.
66289         (user_regs_struct): Use "__extension__ unsigned long long"
66290         instead of "unsigned long" if __x86_64__ is defined.
66291         (user): Likewise.  Pad after pointer field if __ILP32__ is
66292         defined.
66294 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66296         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66297         versions 5 to 9.
66298         * configure: Regenerated.
66299         * manual/install.texi (texinfo): Increase version requirement to
66300         4.5 or later.
66301         * INSTALL: Regenerated.
66303         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66305 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66307         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66309         * sysdeps/x86_64/x32/ffs.c: New file.
66311         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66312         __syscall_ulong_t.
66313         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66314         defined.  Use __syscall_ulong_t.
66315         (shminfo): Use __syscall_ulong_t.
66316         (shm_info): Likewise.
66318         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66319         __syscall_ulong_t.
66321         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66322         <bits/wordsize.h>.
66323         (msgqnum_t): Use __syscall_ulong_t.
66324         (msglen_t): Likewise.
66325         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66326         __syscall_ulong_t.
66328         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66329         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66331         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66333         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66334         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66336         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66337         __syscall_slong_t.
66339         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66340         include <bits/wordsize.h>.  Check __x86_64__ instead of
66341         __WORDSIZE.
66343         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66344         "unsigned long long int" if __x86_64__ is defined.
66345         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66347         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66348         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66349         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66351         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66352         <stdint.h>.
66353         (GET_PC): Cast to uintptr_t first.
66354         (GET_FRAME): Likewise.
66355         (GET_STACK): Likewise.
66357         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66358         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66359         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66360         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66361         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66362         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66363         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66364         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66365         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66366         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66367         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66368         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66369         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66370         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66371         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66372         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66373         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66374         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66375         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66376         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66377         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66378         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66379         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66380         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66381         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66382         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66383         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66384         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66385         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66387 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66389         * Makerules (+depfiles): Also collect depfiles from .oS in
66390         $(extra-objs).
66391         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66392         .oS, $(libnldbl-routines)).
66394         * Makerules (native-compile-mkdep-flags): Define.
66395         * sunrpc/Makefile (extra-objs): Add $(addprefix
66396         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66397         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66398         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66399         calling $(make-target-directory).
66401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66403         * bits/types.h (__snseconds_t): Removed.
66404         * time/time.h (struct timespec): Replace __snseconds_t with
66405         __syscall_slong_t.
66406         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66407         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66408         Likewise.
66409         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66410         (__SNSECONDS_T_TYPE): Likewise.
66411         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66412         (__SNSECONDS_T_TYPE): Likewise.
66413         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66414         (__SNSECONDS_T_TYPE): Likewise.
66416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66418         * sysdeps/mach/hurd/bits/typesizes.h
66419         (__SYSCALL_SLONG_TYPE): New macro.
66420         (__SYSCALL_ULONG_TYPE): Likewise.
66422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66424         * bits/types.h (__syscall_slong_t): New type.
66425         (__syscall_ulong_t): Likewise.
66427         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66428         (__SYSCALL_ULONG_TYPE): Likewise.
66429         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66430         (__SYSCALL_SLONG_TYPE): Likewise.
66431         (__SYSCALL_ULONG_TYPE): Likewise.
66432         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66433         (__SYSCALL_SLONG_TYPE): Likewise.
66434         (__SYSCALL_ULONG_TYPE): Likewise.
66435         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66436         (__SYSCALL_SLONG_TYPE): Likewise.
66437         (__SYSCALL_ULONG_TYPE): Likewise.
66439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66441         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66442         Add sigaltstack-offsets.sym.
66443         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66444         <sigaltstack-offsets.h>.
66445         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66446         longjmp_msg pointer.
66447         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66448         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66449         signal stack.
66450         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66452 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66454         * elf/stackguard-macros.h: Remove file.
66455         * sysdeps/generic/stackguard-macros.h: New file.
66456         * sysdeps/i386/stackguard-macros.h: Likewise.
66457         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66458         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66459         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66460         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66461         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66462         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66463         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66464         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66465         <elf/stackguard-macros.h>.
66467         [BZ #14109]
66468         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66469         __aligned__ in attribute.
66470         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66471         (gregset_t): Likewise.
66473 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66475         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66476         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66477         * sysdeps/x86_64/x32/Implies-after: New file.
66479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66481         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66482         and access return value for _dl_profile_fixup.  Use R10_LP to
66483         load frame size.
66485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66487         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66491         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66492         * sysdeps/x86_64/x32/sysdep.h: New file.
66494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66496         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66497         * sysdeps/x86_64/setjmp.S: Likewise.
66499 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66501         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66502         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66503         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66504         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66505         remove unused global constant.
66507 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66509         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66510         include of <not-cancel.h>.
66512 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66514         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66516 2012-05-15  Jeff Law  <law@redhat.com>
66517             Andreas Jaeger  <aj@suse.de>
66519         [BZ #13594]
66520         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66521         out from...
66522         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66523         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66524         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66525         code changing __hst_map_handle.map.
66527 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66529         * configure.in (sysnames): Look for Implies-before and Implies-after
66530         files.
66531         * configure: Regenerated.
66533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66535         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66536         8-byte data alignment with LP_SIZE alignment.
66538 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66540         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66541         into R10_LP.
66543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66545         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66549         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66550         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66551         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66552         Likewise.
66553         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66555 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66557         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66558         (stackinfo_sub_sp): Likewise.
66560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66562         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66563         RAX_LP.
66565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66567         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66568         into R*_LP.
66570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66572         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
66573         sizes into R*_LP.
66575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66577         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
66579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66581         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
66582         into R11_LP and load __x86_64_shared_cache_size_half into
66583         R8_LP.
66585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66587         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
66588         R8_LP.
66590 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66592         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
66593         logb for POWER7.
66594         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
66595         logbf for POWER7.
66596         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
66597         logbl for POWER7.
66598         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
66599         powerpc32/power7/fpu/s_logb.c via #include.
66600         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
66601         powerpc32/power7/fpu/s_logbf.c via #include.
66602         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66603         powerpc32/power7/fpu/s_logbl.c via #include.
66605 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66607         * README.libm: Remove file.
66609 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66611         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
66612         count for x32.  Use R*_LP and omit operand-size suffix.
66614 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66616         * shlib-versions: Move x86_64-.*-linux.* entries to ...
66617         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
66618         * sysdeps/x86_64/x32/shlib-versions: New file.
66620 2012-05-14  Roland McGrath  <roland@hack.frob.com>
66622         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
66623         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
66624         Use _dl_fatal_printf instead.
66626 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66628         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
66629         set if not set by the user.  Do not allow for being unset.
66630         * sysdeps/unix/sysv/linux/configure: Regenerated.
66632 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66634         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
66635         the `q' suffix from lea and replace .quad with ASM_ADDR.
66637 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66639         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66640         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
66641         instead of $17.
66642         (PTR_DEMANGLE): Likewise.
66644 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66646         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
66647         (LP_OP): Likewise.
66648         (ASM_ADDR): Likewise.
66649         (RAX_LP): Likewise.
66650         (RBP_LP): Likewise.
66651         (RBX_LP): Likewise.
66652         (RCX_LP): Likewise.
66653         (RDI_LP): Likewise.
66654         (RSI_LP): Likewise.
66655         (RSP_LP): Likewise.
66656         (R8_LP): Likewise.
66657         (R9_LP): Likewise.
66658         (R10_LP): Likewise.
66659         (R10_LP): Likewise.
66660         (R11_LP): Likewise.
66661         (R12_LP): Likewise.
66662         (R13_LP): Likewise.
66663         (R14_LP): Likewise.
66664         (R15_LP): Likewise.
66666 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66668         * sysdeps/x86_64/x32/dl-machine.h: New file.
66670 2012-05-14  Andreas Jaeger  <aj@suse.de>
66672         * manual/Makefile (subdir): Remove export of subdir.
66673         (all): Remove target.
66674         (.PHONY): Remove all from list.
66675         (mkinstalldirs): Remove.
66676         (.PHONY): Remove installdirs from list.
66677         ($(inst_infodir)/libc.info): Use make-target-directory.
66678         (installdirs): Remove.
66679         (subdir_%): Remove.
66680         (glibc-targets): Remove.
66681         (lib): Remove.
66682         (stubs): Remove.
66683         ($(objpfx)stubs ../po/manual.pot): Remove.
66684         ($(objpfx)stamp%): Remove.
66685         (make-target-directory): Remove.
66686         (subdir_install): Remove.
66687         (routines): Remove.
66688         (aux): Remove.
66689         (sources): Remove.
66690         (objects): Remove.
66691         (headers): Remove.
66693         [BZ #13750]
66694         * manual/.gitignore: Remove, it's not needed anymore.
66695         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
66696         all files in it.
66697         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
66698         directory.
66699         (texis): Renamed to $(objpfx)texis.
66700         (texis-path): New, contains path to generated files.
66701         (chapters.%): Use texis-path for complete path, add extra argument
66702         libc-texinfo.sh.
66703         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
66704         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
66705         (summary,texi, stamp-summary): Use complete path of
66706         files. Generate files in build dir.
66707         (dir-add.texi): Build in build dir.
66708         (libm-err.texi,stamp-libm-err): Likewise.
66709         (version.texi, stamp-version): Likewise.
66710         (.%c.texi): Likewise.
66711         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
66712         (mostlyclean): Remove target.
66713         (realclean): Remove target.
66714         (generated): Add new variable with contents from mostlyclean and
66715         realclean, remove entries duplicated in common-mostlyclean, add
66716         stamp-libm-err and stamp-version.
66717         (generated-dirs): Add libc directory.
66718         ($(inst_infodir)/libc.info): Install files from build dir.
66720         * manual/install.texi (Configuring and compiling): Adjust since
66721         the info files are not part of the tar ball anymore.
66723 2012-05-14  Andreas Jaeger  <aj@suse.de>
66725         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
66726         variable.
66728 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
66730         [BZ #13717]
66731         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66732         to 2.2.0 where earlier.
66733         * sysdeps/unix/sysv/linux/configure: Regenerated.
66734         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66735         Remove conditional code.
66736         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
66737         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
66738         Remove conditional code.
66739         [!__NR_lchown]: Likewise.
66740         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66741         [__NR_lchown]: Likewise.
66742         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
66743         comment referencing __ASSUME_LCHOWN_SYSCALL.
66744         * sysdeps/unix/sysv/linux/i386/sigaction.c
66745         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66746         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66747         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
66748         Remove conditional code.
66749         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
66750         (__protocol_available): Remove #if 0 code.
66751         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
66752         conditional code.
66753         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
66754         * sysdeps/unix/sysv/linux/kernel-features.h
66755         (__ASSUME_GETCWD_SYSCALL): Don't define.
66756         (__ASSUME_REALTIME_SIGNALS): Likewise.
66757         (__ASSUME_PREAD_SYSCALL): Likewise.
66758         (__ASSUME_PWRITE_SYSCALL): Likewise.
66759         (__ASSUME_POLL_SYSCALL): Likewise.
66760         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66761         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66762         non-SPARC.
66763         (__ASSUME_SIOCGIFNAME): Don't define.
66764         (__ASSUME_MSG_NOSIGNAL): Likewise.
66765         (__ASSUME_SENDFILE): Define unconditionally.
66766         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66767         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66768         conditional code.
66769         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66770         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66771         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66772         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66773         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66774         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66775         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66777         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66778         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66780         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66781         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66783         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66784         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66786         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66787         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66789         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66790         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66792         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66793         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66795         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66796         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66798         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66799         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66800         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66801         Remove conditional code.
66802         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66803         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66804         Remove conditional code.
66805         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66806         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66807         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66808         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66809         Remove conditional code.
66810         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66811         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66812         Remove conditional code.
66813         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66814         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66815         Remove conditional code.
66816         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66817         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66818         Remove conditional code.
66819         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66820         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66821         Remove conditional code.
66822         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66823         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66824         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66825         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66826         * sysdeps/unix/sysv/linux/sigaction.c
66827         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66828         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66829         * sysdeps/unix/sysv/linux/sigpending.c
66830         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66831         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66832         * sysdeps/unix/sysv/linux/sigprocmask.c
66833         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66834         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66835         * sysdeps/unix/sysv/linux/sigsuspend.c
66836         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66837         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66838         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66839         (__libc_missing_rt_sigs): Remove.
66840         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66841         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66842         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66843         Remove conditional code.
66844         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66845         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66846         return 1.
66847         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66848         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66849         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66850         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66852 2012-05-14  Andreas Jaeger  <aj@suse.de>
66854         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66855         it's not used in glibc.
66856         (__coshm1): Likewise.
66857         (__acosh1p): Likewise.
66858         (__sgn): Likewise.
66860         * manual/string.texi (Copying and Concatenation): Add missing
66861         variable in concat example.
66862         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66864 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66866         [BZ #14103]
66867         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66868         __builtin_clzl with __builtin_clzll.
66870 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66872         [BZ #14104]
66873         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66874         libc_freeres_ptr.
66876 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66878         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66879         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66880         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66881         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66883 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66885         * NEWS: Update ia64 info.
66887 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66889         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66890         used as bcopy.
66892 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66894         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66895         * sysdeps/unix/syscalls.list (dup3): Likewise.
66896         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66897         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66899 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66901         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66902         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66904 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66906         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66907         thread pointer.
66908         (TLS_IE): Use mov/add instead of movq/addq to load thread
66909         pointer.
66910         (TLS_GD_PREFIX): New.
66911         (TLS_GD): Use it.
66913 2012-05-11  David S. Miller  <davem@davemloft.net>
66915         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66916         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66917         (_FPU_SETCW): Likewise.
66919 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66921         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66922         is 32-byte aligned.
66924 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66926         [BZ #11837]
66927         * iconvdata/gb18030.c: Update tables.
66928         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66929         characters specially.
66930         (BODY for TO_LOOP): Add encoding of missing ranges.
66932 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66934         [BZ #13673]
66935         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66936         * sysdeps/mach/hurd/dup3.c: Likewise.
66937         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66938         * sysdeps/powerpc/memmove.c:: Likewise.
66940 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66942         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66943         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66945 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66947         * elf/elf.h (R_X86_64_RELATIVE64): New.
66948         (R_X86_64_NUM): Updated.
66949         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66950         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66951         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66952         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66953         tst-quad1pie tst-quad2pie
66954         (modules-names): Add tst-quadmod1 tst-quadmod2.
66955         ($(objpfx)tst-quad1): New dependency.
66956         ($(objpfx)tst-quad2): Likewise.
66957         ($(objpfx)tst-quad1pie): Likewise.
66958         ($(objpfx)tst-quad2pie): Likewise.
66959         * sysdeps/x86_64/tst-quad1.c: New file.
66960         * sysdeps/x86_64/tst-quad1pie.c: New file.
66961         * sysdeps/x86_64/tst-quad2.c: Likewise.
66962         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66963         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66964         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66965         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66966         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66970         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66971         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66972         * streams/stropts.h (t_scalar_t): Define type.
66974         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66975         (_PATH_PRESERVE): Set to "/var/lib".
66976         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66978         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66979         instead of int.
66981         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66982         if __dir_mkfile succeeded.
66984         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66985         checking for _hurd_dtablesize.  Unlock it right after having
66986         finished _hurd_dtable allocation.
66988 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66990         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66991         * sysdeps/mach/hurd/configure: Regenerated.
66992         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66993         special-casing to...
66994         * sysdeps/gnu/configure.in: ... this new file.
66995         * sysdeps/unix/sysv/linux/configure: Regenerated.
66996         * sysdeps/gnu/configure: New generated file.
66998         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66999         for Linux: use nsec instead of usec, as well as:
67000         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67001         members of type struct timespec.
67002         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67003         New macros.
67004         (struct stat64): Likewise.
67005         (_STATBUF_ST_NSEC): New macro.
67006         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67008         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67009         __strtoul_internal rather than strtoul.
67011 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67013         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67014         and reject them.
67016 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67018         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67019         which preserves existing values.
67020         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67022 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67024         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67025         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67026         greater than FD_SETSIZE.
67028 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67030         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67031         allocated, call __vm_protect to finish enabling the existing space, and
67032         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67033         allocate the remainder.
67035 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67037         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67038         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67040 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67042         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67043         sysdeps/mach/hurd/readlink.c.
67045         * posix/tst-sysconf.c (posix_options): Only use
67046         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67047         _POSIX_SYNCHRONIZED_IO when they are defined
67048         * sysdeps/mach/hurd/bits/posix_opt.h:
67049         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67050         (_XOPEN_REALTIME): Undefine macro.
67051         (_XOPEN_REALTIME_THREADS): Undefine macro.
67052         (_XOPEN_SHM): Undefine macro.
67053         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67054         macro to -1.
67055         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67056         macro to -1.
67057         (_POSIX_ASYNC_IO): Undefine macro.
67058         (_POSIX_PRIORITIZED_IO): Undefine macro.
67059         (_POSIX_SPIN_LOCKS): Define macro to -1.
67061         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67062         SA_NODEFER, SA_RESETHAND.
67063         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67064         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67065         F_DUPFD_CLOEXEC.
67067 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67069         * elf/Makefile (pldd-modules): Define unconditionally.
67071 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67073         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67077         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67078         Return ENOENT when name is empty.
67079         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67081 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67083         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67085         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67087 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67089         Fix mlock in all cases except non-readable pages.
67090         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67091         instead of VM_PROT_ALL as parameter to __vm_wire function.
67093         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67094         (__mkdir): When path is `/', just fail with EEXIST.
67095         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67097 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67099         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67100         <sys/uio.h> (for writev).
67101         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67102         and <sys/param.h> (for MIN).
67104 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67106         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67107         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67108         if interrupted.
67110 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67112         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67113         Depend on against $(link-rpcuserlibs).
67115 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67117         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67118         (__libc_stack_end): Do not use attribute_relro.
67119         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67120         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67121         to libthread-provided value.
67122         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67123         attribute_relro.
67125 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67127         [BZ #3748]
67128         * bits/libc-lock.h (__libc_once_get): New macro.
67129         * sysdeps/mach/bits/libc-lock.h: Likewise.
67130         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67131         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67132         instead of using implementation details.
67134         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67135         * libio/freopen.c: Likewise.
67136         * libio/freopen64.c: Likewise.
67137         * misc/syslog.c: Likewise.
67138         * nscd/connections.c: Likewise.
67139         * nscd/netgroupcache.c: Likewise.
67140         * sysdeps/posix/getcwd.c: Likewise.
67142 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67144         * math/w_ilogbf.c: Add #include <limits.h>.
67146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67148         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67149         path instead of returning without unlocking.
67151         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67152         immediate-write ioctls.
67153         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67155 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67157         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67158         __builtin_frame_address instead of making assumptions about the
67159         location of the return address relative to DATA.  Force early load of
67160         the return address.
67161         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67162         __builtin_frame_address.
67164         dup3 for GNU Hurd.
67165         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67166         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67167         implement dup3 and do some further code clean-ups.
67168         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67169         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67171 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67173         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67175         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67176         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67177         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67178         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67179         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67180         d->port.lock.
67182         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67183         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67184         when handler == SIG_ERR, not when handler != SIG_ERR.
67186 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67188         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67189         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67190         definitions.
67192         accept4 for GNU Hurd.
67193         * include/sys/socket.h (__libc_accept4): New prototype.
67194         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67195         to implement __libc_accept4.
67196         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67197         __libc_accept4.
67198         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67200         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67201         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67202         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67203         signal-defines.sym.
67205 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67207         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67209 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67211         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67212         assertion on O_CLOEXEC flag.
67213         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67214         * hurd/intern-fd.c: Likewise.
67215         * hurd/port2fd.c: Likewise.
67217 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67219         [BZ #3906]
67220         * bits/in.h (IPV6_PKTINFO): Define new macro.
67221         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67223 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67225         [BZ #13954]
67226         [BZ #13955]
67227         [BZ #13956]
67228         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67229         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67230         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67231         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67232         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67233         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67234         * math/libm-test.inc (logb_test) : Additional logb tests.
67236 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67237             Andreas Jaeger  <aj@suse.de>
67239         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67240         * configure: Regenerated.
67241         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67242         * config.make.in (link-obsolete-rpc): New substituted variable.
67243         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67244         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67245         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67246         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67247         so that libc.a contains the symbols.
67248         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67249         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67250         * sunrpc/auth_none.c: Likewise.
67251         * sunrpc/auth_unix.c: Likewise.
67252         * sunrpc/authdes_prot.c: Likewise.
67253         * sunrpc/authuxprot.c: Likewise.
67254         * sunrpc/clnt_gen.c: Likewise.
67255         * sunrpc/clnt_perr.c: Likewise.
67256         * sunrpc/clnt_raw.c: Likewise.
67257         * sunrpc/clnt_simp.c: Likewise.
67258         * sunrpc/clnt_tcp.c: Likewise.
67259         * sunrpc/clnt_udp.c: Likewise.
67260         * sunrpc/clnt_unix.c: Likewise.
67261         * sunrpc/des_crypt.c: Likewise.
67262         * sunrpc/des_soft.c: Likewise.
67263         * sunrpc/get_myaddr.c: Likewise.
67264         * sunrpc/key_call.c: Likewise.
67265         * sunrpc/key_prot.c: Likewise.
67266         * sunrpc/netname.c: Likewise.
67267         * sunrpc/pm_getmaps.c: Likewise.
67268         * sunrpc/pm_getport.c: Likewise.
67269         * sunrpc/pmap_clnt.c: Likewise.
67270         * sunrpc/pmap_prot.c: Likewise.
67271         * sunrpc/pmap_prot2.c: Likewise.
67272         * sunrpc/pmap_rmt.c: Likewise.
67273         * sunrpc/publickey.c: Likewise.
67274         * sunrpc/rpc_cmsg.c: Likewise.
67275         * sunrpc/rpc_common.c: Likewise.
67276         * sunrpc/rpc_dtable.c: Likewise.
67277         * sunrpc/rpc_prot.c: Likewise.
67278         * sunrpc/rpc_thread.c: Likewise.
67279         * sunrpc/rtime.c: Likewise.
67280         * sunrpc/svc.c: Likewise.
67281         * sunrpc/svc_auth.c: Likewise.
67282         * sunrpc/svc_raw.c: Likewise.
67283         * sunrpc/svc_run.c: Likewise.
67284         * sunrpc/svc_tcp.c: Likewise.
67285         * sunrpc/svc_udp.c: Likewise.
67286         * sunrpc/svc_unix.c: Likewise.
67287         * sunrpc/svcauth_des.c: Likewise.
67288         * sunrpc/xcrypt.c: Likewise.
67289         * sunrpc/xdr.c: Likewise.
67290         * sunrpc/xdr_array.c: Likewise.
67291         * sunrpc/xdr_float.c: Likewise.
67292         * sunrpc/xdr_intXX_t.c: Likewise.
67293         * sunrpc/xdr_mem.c: Likewise.
67294         * sunrpc/xdr_rec.c: Likewise.
67295         * sunrpc/xdr_ref.c: Likewise.
67296         * sunrpc/xdr_sizeof.c: Likewise.
67297         * sunrpc/xdr_stdio.c: Likewise.
67299 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67301         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67302         change.  Update copyright years.
67304 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67306         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67308 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67309             Joseph Myers  <joseph@codesourcery.com>
67310             Paul Pluzhnikov  <ppluzhnikov@google.com>
67312         [BZ #14012]
67313         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67314         requiring rpcgen.
67315         [cross-compiling] (extra-libs): Likewise.
67316         [cross-compiling] (extra-libs-others): Likewise.
67317         [cross-compiling] (librpcsvc-routines): Likewise.
67318         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67319         [cross-compiling] (omit-deps): Likewise.
67320         (sunrpc-CPPFLAGS): New variable.
67321         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67322         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67323         (cross-rpcgen-objs): New variable.
67324         (extra-objs): Append $(cross-rpcgen-objs).
67325         ($(cross-rpcgen-objs)): New rule.
67326         ($(objpfx)cross-rpcgen): Likewise.
67327         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67328         comment.
67329         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67330         ($(objpfx)x%.stmp): Likewise.
67331         * sunrpc/proto.h [IS_IN_build] (_): Define.
67332         [IS_IN_build] (_libc_intl_domainname): Likewise.
67334 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67336         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67337         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67338         and R_X86_64_TPOFF64.
67340 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67342         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67343         sysdeps/unix/sysv/syscalls.list.
67344         (stime): Likewise.
67345         (utime): Likewise.
67346         * sysdeps/unix/sysv/syscalls.list: Remove file.
67348 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67350         [BZ #3440]
67351         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67352         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67353         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67354         (__LC_IDENTIFICATION): Make these macros useful in #if
67355         expressions, as required by C99.
67357 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67359         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67360         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67361         after this.
67363 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67365         * stdlib/longlong.h: Updated from GCC.
67367 2012-05-09  Andreas Jaeger  <aj@suse.de>
67369         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67370         default is first entry.
67371         (run_mode): Set type.
67372         (main): Remove informal message about syslog.
67373         (options): Fix typo.
67375         [BZ #14053]
67376         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67377         to asm.
67378         (lrint): Likewise.
67379         (llrintf): Likewise.
67380         (llrint): Likewise.
67381         (rint): Likewise.
67382         (rintf): Likewise.
67383         (nearbyint): Likewise.
67384         (nearbyintf): Likewise.
67386 2012-05-09  Andreas Jaeger  <aj@suse.de>
67387             Pedro Alves  <palves@redhat.com>
67389         * nscd/nscd.c (run_mode): Use enum.
67390         (main): Cleanup coding style issue.
67392 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67393             Andreas Jaeger  <aj@suse.de>
67395         * nscd/nscd.c (go_background): Replaced with...
67396         (run_mode): ... this.
67397         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67398         (options): Add -F --foreground.
67399         (main): Implement it.
67400         (parse_opt): Parse it.
67402 2012-05-09  Andreas Jaeger  <aj@suse.de>
67404         [BZ #14083]
67405         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67406         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67407         -Wconversion warning.
67408         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67409         Likewise.
67411 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67413         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67414         == 0.
67415         (LC_ALL): Use macro-int-constant.
67416         (LC_COLLATE): Likewise.
67417         (LC_CTYPE): Likewise.
67418         (LC_MESSAGES): Likewise.
67419         (LC_MONETARY): Likewise.
67420         (LC_NUMERIC): Likewise.
67421         (LC_TIME): Likewise.
67422         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67423         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67424         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67425         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67426         Specify type.
67427         [C99-based standards] (float_t): Expect type.
67428         [C99-based standards] (double_t): Expect type.
67429         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67430         type.
67431         [C99-based standards] (HUGE_VALL): Likewise.
67432         [C99-based standards] (INFINITY): Likewise.
67433         [C99-based standards] (NAN): Likewise.
67434         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67435         [C99-based standards] (FP_NAN): Likewise.
67436         [C99-based standards] (FP_NORMAL): Likewise.
67437         [C99-based standards] (FP_SUBNORMAL): Likewise.
67438         [C99-based standards] (FP_ZERO): Likewise.
67439         [C99-based standards] (FP_FAST_FMA): Use
67440         optional-macro-int-constant.  Specify type.  Require == 1.
67441         [C99-based standards] (FP_FAST_FMAF): Likewise.
67442         [C99-based standards] (FP_FAST_FMAL): Likewise.
67443         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67444         [C99-based standards] (FP_ILOGBNAN): Likewise.
67445         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67446         Specify type.
67447         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67448         [C99-based standards] (math_errhandling): Specify type.
67449         [ISO99 || ISO11] (signgam): Do not allow.
67450         [non-C99-based standards] (copysignf): Do not allow.
67451         [non-C99-based standards] (exp2f): Likewise.
67452         [non-C99-based standards] (log2f): Likewise.
67453         [non-C99-based standards] (modff): Allow.
67454         [non-C99-based standards] (erff): Do not allow.
67455         [non-C99-based standards] (erfcf): Likewise.
67456         [non-C99-based standards] (gammaf): Likewise.
67457         [non-C99-based standards] (hypotf): Likewise.
67458         [non-C99-based standards] (j0f): Likewise.
67459         [non-C99-based standards] (j1f): Likewise.
67460         [non-C99-based standards] (jnf): Likewise.
67461         [non-C99-based standards] (lgammaf): Likewise.
67462         [non-C99-based standards] (tgammaf): Likewise.
67463         [non-C99-based standards] (y0f): Likewise.
67464         [non-C99-based standards] (y1f): Likewise.
67465         [non-C99-based standards] (ynf): Likewise.
67466         [non-C99-based standards] (isnanf): Likewise.
67467         [non-C99-based standards] (acoshf): Likewise.
67468         [non-C99-based standards] (asinhf): Likewise.
67469         [non-C99-based standards] (atanhf): Likewise.
67470         [non-C99-based standards] (cbrtf): Likewise.
67471         [non-C99-based standards] (expm1f): Likewise.
67472         [non-C99-based standards] (ilogbf): Likewise.
67473         [non-C99-based standards] (log1pf): Likewise.
67474         [non-C99-based standards] (logbf): Likewise.
67475         [non-C99-based standards] (nextafterf): Likewise.
67476         [non-C99-based standards] (remainderf): Likewise.
67477         [non-C99-based standards] (rintf): Likewise.
67478         [non-C99-based standards] (scalbf): Likewise.
67479         [non-C99-based standards] (copysignl): Likewise.
67480         [non-C99-based standards] (exp2l): Likewise.
67481         [non-C99-based standards] (log2l): Likewise.
67482         [non-C99-based standards] (modfl): Allow.
67483         [non-C99-based standards] (erfl): Do not allow.
67484         [non-C99-based standards] (erfcl): Likewise.
67485         [non-C99-based standards] (gammal): Likewise.
67486         [non-C99-based standards] (hypotl): Likewise.
67487         [non-C99-based standards] (j0l): Likewise.
67488         [non-C99-based standards] (j1l): Likewise.
67489         [non-C99-based standards] (jnl): Likewise.
67490         [non-C99-based standards] (lgammal): Likewise.
67491         [non-C99-based standards] (tgammal): Likewise.
67492         [non-C99-based standards] (y0l): Likewise.
67493         [non-C99-based standards] (y1l): Likewise.
67494         [non-C99-based standards] (ynl): Likewise.
67495         [non-C99-based standards] (isnanl): Likewise.
67496         [non-C99-based standards] (acoshl): Likewise.
67497         [non-C99-based standards] (asinhl): Likewise.
67498         [non-C99-based standards] (atanhl): Likewise.
67499         [non-C99-based standards] (cbrtl): Likewise.
67500         [non-C99-based standards] (expm1l): Likewise.
67501         [non-C99-based standards] (ilogbl): Likewise.
67502         [non-C99-based standards] (log1pl): Likewise.
67503         [non-C99-based standards] (logbl): Likewise.
67504         [non-C99-based standards] (nextafterl): Likewise.
67505         [non-C99-based standards] (remainderl): Likewise.
67506         [non-C99-based standards] (rintl): Likewise.
67507         [non-C99-based standards] (scalbl): Likewise.
67508         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67509         [non-C99-based standards] (FP_*): Do not allow.
67510         [C99-based standards] (FP_*): Change to
67511         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67512         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67513         allow.
67514         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67515         (SIG_ERR): Likewise.
67516         [X/Open-based standards] (SIG_HOLD): Likewise.
67517         (SIG_IGN): Likewise.
67518         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67519         positive value.
67520         (SIGFPE): Likewise.
67521         (SIGILL): Likewise.
67522         (SIGINT): Likewise.
67523         (SIGSEGV): Likewise.
67524         (SIGTER): Likewise.
67525         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67526         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67527         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67528         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67529         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67530         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67531         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67532         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67533         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67534         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67535         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67536         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67537         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67538         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67539         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67540         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67541         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67542         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67543         [X/Open-based standards] (SIGTRAP): Likewise.
67544         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67545         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67546         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67547         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67548         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67549         allow.
67551 2012-05-08  Ian Wienand  <ianw@vmware.com>
67553         [BZ #14080]
67554         * time/tzset.c (__tzset_parse_tz): Update default rules for
67555         daylight time changes in the Energy Policy Act of 2005.
67557 2012-05-09  Andreas Jaeger  <aj@suse.de>
67559         [BZ #13983]
67560         * elf/ldconfig.c (parse_conf): Change string to make clear that
67561         ldconfig only issued a warning if ld.so.conf does not exist.
67563 2012-05-08  David S. Miller  <davem@davemloft.net>
67565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67566         movxtod instead of popping the value on the stack.
67568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67570 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67572         * config.h.in: Add HAVE_ARM_PCS_VFP.
67574 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
67576         [BZ #13979]
67577         * include/features.h: Warn if user requests __FORTIFY_SOURCE
67578         checking but the checks are disabled for any reason.
67580 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
67582         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
67583         and ELF64_R_TYPE with ELFW(R_TYPE).
67585 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
67587         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
67588         (ulimit): Likewise.
67590         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
67591         (settimeofday): Likewise.
67593 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
67595         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
67596         a struct th_u2 inside the union, and move tu_block/tu_code into
67597         a new th_u3 union of tu_block/tu_code inside of that.  Move
67598         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
67599         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
67600         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
67601         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
67602         (th_stuff): Change to th_u1.tu_stuff.
67603         (th_data): Define.
67604         (th_msg): Change to th_u1.th_u2.tu_data.
67606 2012-05-07  David S. Miller  <davem@davemloft.net>
67608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67610         [BZ #14074]
67611         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
67612         (SETUP_PIC_REG): Use it.
67613         (SETUP_PIC_REG_LEAF): Use it.
67615 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
67617         [BZ #13885]
67618         [BZ #13923]
67619         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67620         USE_AS_EXPM1L.
67621         (EXPL_FINITE): Likewise.
67622         (FLDLOG): Likewise.
67623         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67624         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67625         e_expl.S.
67626         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67627         USE_AS_EXPM1L.
67628         (EXPL_FINITE): Likewise.
67629         (FLDLOG): Likewise.
67630         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
67631         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
67632         e_expl.S.
67633         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
67634         test of -max_value argument for long double.
67635         * sysdeps/i386/fpu/libm-test-ulps: Update.
67636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67638 2012-05-06  David S. Miller  <davem@davemloft.net>
67640         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
67641         quad soft-float symbols whose references which are compiler
67642         generated.
67643         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67645 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
67647         [BZ #13884]
67648         [BZ #13914]
67649         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67650         USE_AS_EXP10L.
67651         (EXPL_FINITE): Likewise.
67652         (FLDLOG): Likewise.
67653         (c0): Likewise.
67654         (c1): Likewise.
67655         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67656         Adjust comments for base varying.
67657         (__expl_finite): Change alias to EXPL_FINITE.
67658         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
67659         e_expl.S.
67660         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
67661         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
67662         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
67663         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
67664         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
67665         USE_AS_EXP10L.
67666         (EXPL_FINITE): Likewise.
67667         (FLDLOG): Likewise.
67668         (c0): Likewise.
67669         (c1): Likewise.
67670         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
67671         Adjust comments for base varying.
67672         (__expl_finite): Change alias to EXPL_FINITE.
67673         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
67674         tests for bugs.
67675         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67677         [BZ #14064]
67678         * math/libm-test.inc (check_float_internal): Correct ulp
67679         calculation for subnormal expected results.
67681 2012-05-06  Andreas Jaeger  <aj@suse.de>
67683         * Makeconfig (+math-flags): New, set to -frounding-math.
67684         (+cflags): Add +math-flags so that all of glibc gets compiled with
67685         it.
67687         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
67689 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
67691         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
67692         Disable one test.
67694         [BZ #13787]
67695         [BZ #13922]
67696         [BZ #14036]
67697         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
67698         (__ieee754_expl): Allow for and saturate large arguments.
67699         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
67700         (u_threshold): Likewise.
67701         (__exp): Call __ieee754_exp before checking for overflow and
67702         underflow.
67703         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
67704         (u_threshold): Likewise.
67705         (__expf): Call __ieee754_expf before checking for overflow and
67706         underflow.
67707         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
67708         (u_threshold): Likewise.
67709         (__expl): Call __ieee754_expl before checking for overflow and
67710         underflow.
67711         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
67712         (__ieee754_expl): Allow for and saturate large arguments.
67713         * math/libm-test.inc (exp_test): Add another test.  Do not allow
67714         missing overflow exception on overflow.
67715         (expm1_test): Do not allow missing overflow exception on overflow.
67717         * sysdeps/i386/fpu/e_expl.c: Move to ...
67718         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
67719         rather than using inline asm.
67720         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
67721         * sysdeps/x86_64/fpu/e_expl.S: Copy from
67722         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
67724         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
67725         (nice): Likewise.
67726         (poll): Likewise.
67727         (signal): Likewise.
67728         (time): Likewise.
67729         (times): Likewise.
67731 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67733         * sysdeps/unix/syscalls.list (adjtime): Add entry from
67734         sysdeps/unix/common/syscalls.list.
67735         (fchmod): Likewise.
67736         (fchown): Likewise.
67737         (ftruncate): Likewise.
67738         (getrusage): Likewise.
67739         (gettimeofday): Likewise.
67740         (setpgid): Likewise.
67741         (setregid): Likewise.
67742         (setreuid): Likewise.
67743         (sigaction): Likewise.
67744         (truncate): Likewise.
67745         (vhangup): Likewise.
67746         * sysdeps/unix/common/syscalls.list: Remove file.
67747         * sysdeps/unix/bsd/Implies: Don't include unix/common.
67748         * sysdeps/unix/sysv/linux/Implies: Likewise.
67750 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
67752         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
67753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
67754         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
67755         Moved to ...
67756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
67757         Here.
67758         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67759         to ...
67760         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67761         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67762         to ...
67763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67764         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67765         to ...
67766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67767         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67768         to ...
67769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67770         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67771         to ...
67772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67773         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67774         to ...
67775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67776         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67777         to ...
67778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67779         Here.
67780         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67781         to ...
67782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67783         Here.
67784         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67785         to ...
67786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67787         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67788         Moved to ...
67789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67790         Here.
67791         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67792         to ...
67793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67795 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67797         * sysdeps/unix/common/bits/dirent.h: Remove file.
67798         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67800         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67801         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67802         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67803         * sysdeps/unix/bsd/isatty.c: Likewise.
67804         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67805         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67806         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67808 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67810         [BZ #13563]
67811         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67812         long double comparison inaccuracies.
67813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67816 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67818         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67819         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67821 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67823         [BZ #14049]
67824         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67825         nonzero digits before rounding a hex value.
67826         * stdlib/tst-strtod.c (tests): Add another test.
67828 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67830         * sysdeps/s390/fpu/libm-test-ulps: Update.
67832 2012-05-03  Andreas Jaeger  <aj@suse.de>
67834         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67835         does not get optimized out.
67836         (malloc_opt_barrier): New.
67838 2012-05-03  Andreas Jaeger  <aj@suse.de>
67839             Roland McGrath  <roland@hack.frob.com>
67841         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67842         intermediate file deletion.
67843         (generated): Add .symlist files.
67845 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67847         [BZ #13775]
67848         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67849         Redirect under this condition.
67850         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67851         [__USE_GNU] (__dprintf_chk): Not under this condition.
67852         [__USE_GNU] (__vdprintf_chk): Likewise.
67853         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67854         under this condition.
67855         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67856         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67857         [__USE_XOPEN2K8] (vdprintf): Likewise.
67858         [__USE_GNU] (__dprintf_chk): Not under this condition.
67859         [__USE_GNU] (__vdprintf_chk): Likewise.
67860         [__USE_GNU] (dprintf): Likewise.
67861         [__USE_GNU] (vdprintf): Likewise.
67863 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67865         * elf/Makefile (common-generated): Set this instead of generated for
67866         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67867         $(all-built-dso)-derived lists.
67869 2012-05-03  Andreas Jaeger  <aj@suse.de>
67871         * sysdeps/i386/fpu/libm-test-ulps: Update.
67873         * FAQ: Removed.
67874         * FAQ.in: Likewise.
67875         * scripts/gen-FAQ.pl: Likewise.
67876         * manual/install.texi (Installation): Point to online location of
67877         FAQ.
67878         * Makefile (files-for-dist): Remove FAQ.
67879         (FAQ): Remove.
67881 2012-05-02  Allan McRae  <allan@archlinux.org>
67883         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67884         (LDFLAGS-reldepmod5.so): Likewise.
67885         (LDFLAGS-reldep6mod1.so): Likewise.
67886         (LDFLAGS-reldep6mod4.so): Likewise.
67887         (LDFLAGS-reldep8mod3.so): Likewise.
67888         (LDFLAGS-unload4mod1.so): Likewise.
67889         (LDFLAGS-unload4mod2.so): Likewise.
67890         (LDFLAGS-tst-initorder): Likewise.
67891         (LDFLAGS-tst-initordera2.so): Likewise.
67892         (LDFLAGS-tst-initordera3.so): Likewise.
67893         (LDFLAGS-tst-initordera4.so): Likewise.
67894         (LDFLAGS-tst-initorderb2.so): Likewise.
67895         (LDFLAGS-noload): Likewise.
67896         (LDFLAGS-next): Likewise.
67897         (LDFLAGS-order2mod1.so): Likewise.
67898         (LDFLAGS-order2mod2.so): Likewise.
67899         (LDFLAGS-tst-initorder2): Likewise.
67900         (LDFLAGS-tst-initorder2a.so): Likewise.
67901         (LDFLAGS-tst-initorder2b.so): Likewise.
67902         (LDFLAGS-tst-initorder2c.so): Likewise.
67903         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67905 2012-05-02  David S. Miller  <davem@davemloft.net>
67907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67909 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67911         [BZ #14055]
67912         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67914 2012-05-02  Andreas Jaeger  <aj@suse.de>
67916         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67917         since we manipulate rounding mode.
67918         (CPPFLAGS-test-idouble.c): Likewise.
67919         (CPPFLAGS-test-ifloat.c): Likewise.
67920         (CFLAGS-test-ldouble.c): Likewise.
67921         (CFLAGS-test-double.c): Likewise.
67922         (CFLAGS-test-float.c): Likewise.
67923         (CFLAGS-test-misc.c): Likewise.
67924         (CFLAGS-test-test-fenv.c): Likewise.
67926 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67928         [BZ #2550]
67929         [BZ #2570]
67930         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67931         comparisons to determine direction to adjust input.
67933 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67935         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67936         output to the target.
67938         * scripts/localplt.awk: New file.
67939         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67940         (check-localplt-CFLAGS): Variable removed.
67941         ($(all-built-dso:=.jmprel)): New static pattern rule.
67942         (generated): Add those targets.
67943         (localplt-built-dso): New variable.
67944         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67946         * elf/check-localplt.c: File removed.
67948         * scripts/check-execstack.awk: New file.
67949         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67950         (check-execstack-CFLAGS): Variable removed.
67951         ($(objpfx)check-execstack.h): Target removed.
67952         ($(objpfx)execstack-default): New target.
67953         (generated): Add that instead of check-execstack.h.
67954         ($(all-built-dso:=.phdr)): New static pattern rule.
67955         (generated): Add those targets.
67956         * elf/check-execstack.c: File removed.
67958         * scripts/check-textrel.awk: New file.
67959         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67960         (check-textrel-CFLAGS): Variable removed.
67961         (all-built-dso): Use := to define.o
67962         ($(all-built-dso:=.dyn)): New static pattern rule.
67963         (generated): Add those targets.
67964         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67965         * config.make.in (READELF): New substituted variable.
67966         * elf/check-textrel.c: File removed.
67968 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67970         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67971         allow.
67972         * conform/data/ctype.h-data [C99-based standards] (isblank):
67973         Expect function.
67974         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67975         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67976         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67977         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67978         Specify type.  Require positive value.
67979         (EILSEQ): Likewise.
67980         (ERANGE): Likewise.
67981         [ISO || POSIX] (EILSEQ): Do not expect.
67982         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67983         Specify type.  Require positive value.
67984         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67985         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67986         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67987         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67988         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67989         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67990         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67991         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67992         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67993         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67994         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67995         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67996         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67997         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67998         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67999         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68000         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68001         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68002         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68003         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68004         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68005         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68006         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68007         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68008         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68009         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68010         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68011         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68012         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68013         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68014         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68015         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68016         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68017         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68018         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68019         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68020         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68021         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68022         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68023         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68024         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68025         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68026         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68027         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68028         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68029         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68030         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68031         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68032         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68033         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68034         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68035         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68036         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68037         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68038         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68039         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68040         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68041         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68042         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68043         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68044         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68045         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68046         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68047         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68048         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68049         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68050         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68051         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68052         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68053         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68054         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68055         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68056         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68057         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68058         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68059         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68060         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68061         Require >= 2.
68062         (FLT_ROUNDS): Expect as macro, not constant.
68063         (FLT_MANT_DIG): Use macro-int-constant.
68064         (DBL_MANT_DIG): Likewise.
68065         (LDBL_MANT_DIG): Likewise.
68066         (FLT_DIG): Likewise.
68067         (DBL_DIG): Likewise.
68068         (LDBL_DIG): Likewise.
68069         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68070         (DBL_MIN_EXP): Likewise.
68071         (LDBL_MIN_EXP): Likewise.
68072         (FLT_MAX_EXP): Use macro-int-constant.
68073         (DBL_MAX_EXP): Likewise.
68074         (LDBL_MAX_EXP): Likewise.
68075         (FLT_MAX_10_EXP): Likewise.
68076         (DBL_MAX_10_EXP): Likewise.
68077         (LDBL_MAX_10_EXP): Likewise.
68078         (FLT_MAX): Use macro-constant.
68079         (DBL_MAX): Likewise.
68080         (LDBL_MAX): Likewise.
68081         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68082         (DBL_EPSILON): Likewise.
68083         (LDBL_EPSILON): Likewise.
68084         (FLT_MIN): Likewise.
68085         (DBL_MIN): Likewise.
68086         (LDBL_MIN): Likewise.
68087         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68088         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68089         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68090         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68091         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68092         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68093         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68094         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68095         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68096         [ISO11] (FLT_TRUE_MIN): Likewise.
68097         [ISO11] (LDBL_TRUE_MIN): Likewise.
68098         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68099         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68100         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68101         (SCHAR_MAX): Likewise.
68102         (UCHAR_MAX): Likewise.
68103         (CHAR_MIN): Likewise.
68104         (CHAR_MAX): Likewise.
68105         (MB_LEN_MAX): Use macro-int-constant.
68106         (SHRT_MIN): Use macro-int-constant.  Specify type.
68107         (SHRT_MAX): Likewise.
68108         (USHRT_MAX): Likewise.
68109         (INT_MAX): Likewise.
68110         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68111         bound negative.
68112         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68113         bound with "U".
68114         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68115         bound with "L".
68116         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68117         bound negative.  Suffix upper bound with "L".
68118         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68119         bound with "UL".
68120         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68121         Specify type.
68122         [C99-based standards] (LLONG_MAX): Likewise.
68123         [C99-based standards] (ULLONG_MAX): Likewise.
68124         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68125         == 0.
68126         [ISO11] (max_align_t): Require type.
68127         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68129         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68130         from $CFLAGS, without defining away __attribute__ calls.
68131         (checknamespace): Use $CFLAGS_namespace.
68133         * conform/conformtest.pl (@keywords): Only include C99 keywords
68134         for standards based on C99 or C11.
68136         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68137         Disable tests.
68138         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68139         UNIX98]: Likewise.
68141         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68142         usability of symbols in #if.
68144         * conform/conformtest.pl: If macro or constant types start
68145         "promoted:", expect the symbol to be of the following type
68146         promoted by the integer promotions.
68148         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68149         in one place.  Also handle "macro-constant".
68151         * conform/conformtest.pl: Only accept expected macro values with
68152         "==".  Parse all "macro" lines in one place.
68153         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68155         * conform/conformtest.pl: Handle braced types on "constant" lines
68156         instead of handling "typed-constant".
68157         * conform/data/signal.h-data: Use "constant" instead of
68158         "typed-constant".
68160         * conform/conformtest.pl: Handle "optional-" at start of lines in
68161         one place rather than duplicating several cases.  Handle each
68162         format of "macro" line with initial "optional-".
68164         * conform/conformtest.pl: Only accept expected constant or
68165         optional-constant values with "==".  Parse all "constant" lines in
68166         one place.  Parse all "optional-constant" lines in one place.
68167         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68168         * conform/data/fmtmsg.h-data: Likewise.
68169         * conform/data/netinet/in.h-data: Likewise.
68170         * conform/data/tar.h-data: Likewise.
68171         * conform/data/limits.h-data: Use "==" form on "constant" and
68172         "optional-constant" lines.
68174         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68175         Use -std=c99 for XOPEN2K.
68176         (@knownproblems): Remove.
68177         (newtoken): Don't check %isknown.
68179         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68180         Do not expect macro.
68181         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68182         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68183         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68184         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68185         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68186         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68187         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68188         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68189         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68190         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68191         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68192         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68193         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68194         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68195         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68196         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68197         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68198         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68199         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68200         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68201         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68202         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68203         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68204         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68205         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68206         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68207         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68208         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68209         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68210         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68211         [XPG3] (acosh): Likewise.
68212         [XPG3] (asinh): Likewise.
68213         [XPG3] (atanh): Likewise.
68214         [XPG3] (cbrt): Likewise.
68215         [XPG3] (expm1): Likewise.
68216         [XPG3] (ilogb): Likewise.
68217         [XPG3] (log1p): Likewise.
68218         [XPG3] (logb): Likewise.
68219         [XPG3] (nextafter): Likewise.
68220         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68221         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68222         [XPG3] (remainder): Likewise.
68223         [XPG3] (rint): Likewise.
68224         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68225         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68226         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68227         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68228         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68229         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68230         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68231         [UNIX98 || XOPEN2K] (scalb): Expect.
68232         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68233         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68234         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68235         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68236         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68237         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68238         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68239         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68240         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68241         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68242         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68243         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68244         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68245         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68246         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68247         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68248         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68249         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68250         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68251         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68252         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68253         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68254         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68255         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68256         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68257         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68258         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68259         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68260         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68261         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68262         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68263         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68264         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68265         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68266         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68267         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68268         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68269         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68270         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68271         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68272         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68273         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68274         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68275         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68276         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68277         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68278         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68279         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68280         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68281         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68282         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68283         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68284         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68285         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68286         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68287         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68288         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68289         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68290         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68291         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68292         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68293         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68294         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68295         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68296         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68297         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68298         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68299         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68300         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68301         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68302         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68303         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68304         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68305         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68306         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68307         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68308         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68309         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68310         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68311         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68312         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68313         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68314         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68315         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68316         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68317         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68318         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68319         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68320         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68321         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68322         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68323         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68324         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68325         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68326         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68327         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68328         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68329         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68330         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68331         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68332         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68333         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68334         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68335         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68336         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68337         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68338         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68339         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68340         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68341         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68342         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68343         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68344         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68345         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68346         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68347         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68348         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68349         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68350         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68351         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68352         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68353         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68354         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68355         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68356         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68357         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68358         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68359         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68360         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68361         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68362         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68363         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68364         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68365         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68366         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68367         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68368         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68370         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68371         _XOPEN_SOURCE_EXTENDED for XPG4.
68373         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68375         * Makeconfig (localtime): Remove variable.
68376         (inst_localtime-file): Likewise.
68378 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68381         Update.
68382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68383         Update.
68384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68385         Update.
68386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68387         Update.
68388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68389         Update.
68390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68391         Update.
68392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68393         Update.
68394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68395         Update.
68396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68397         Update.
68399 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68401         [BZ #2550]
68402         [BZ #2570]
68403         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68404         comparisons to determine direction to adjust input.
68405         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68406         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68407         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68408         Likewise.
68409         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68410         Likewise.
68411         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68412         Likewise.
68413         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68414         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68415         Likewise.
68416         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68417         Likewise.
68418         * math/libm-test.inc (nexttoward_test): Add more tests.
68420 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68422         [BZ #14040]
68423         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68424         in version GLIBC_2.1, not GLIBC_2.0.
68425         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68426         Likewise.
68428 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68430         [BZ #13942]
68431         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68432         (1 - x) * (1 + x).
68433         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68434         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68435         * math/libm-test.inc (acos_test): Add more tests.
68436         (asin_test): Likewise.
68437         * sysdeps/i386/fpu/libm-test-ulps: Update.
68438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68440         [BZ #14034]
68441         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68442         of square root.
68443         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68444         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68445         * math/libm-test.inc (acos_test_tonearest): New function.
68446         (acos_test_towardzero): Likewise.
68447         (acos_test_downward): Likewise.
68448         (acos_test_upward): Likewise.
68449         (asin_test_tonearest): Likewise.
68450         (asin_test_towardzero): Likewise.
68451         (asin_test_downward): Likewise.
68452         (asin_test_upward): Likewise.
68453         (main): Call the new functions.
68454         * sysdeps/i386/fpu/libm-test-ulps: Update.
68455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68457         [BZ #13884]
68458         [BZ #13924]
68459         * math/e_exp10.c: Include <float.h>.
68460         (__ieee754_exp10): Handle underflow here rather than multiplying
68461         large negative argument by M_LN10.
68462         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68463         of __ieee754_expf.
68464         * math/e_exp10l.c: Include <float.h>.
68465         (__ieee754_exp10l): Handle underflow here rather than multiplying
68466         large negative argument by M_LN10l.
68467         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68468         spurious overflow exception on underflow.
68470 2012-04-29  Marek Polacek  <polacek@redhat.com>
68472         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68473         (__fortify_function): New macro.
68474         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68475         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68476         __extern_always_inline.
68477         * libio/bits/stdio2.h: Likewise.
68478         * libio/bits/stdio.h: Likewise.
68479         * string/string.h: Likewise.
68480         * string/bits/string3.h: Likewise.
68481         * include/stdio.h: Likewise.
68482         * stdlib/bits/stdlib.h: Likewise.
68483         * stdlib/stdlib.h: Likewise.
68484         * rt/bits/mqueue2.h: Likewise.
68485         * rt/mqueue.h: Likewise.
68486         * posix/bits/unistd.h: Likewise.
68487         * posix/unistd.h: Likewise.
68488         * io/bits/poll2.h: Likewise.
68489         * io/bits/fcntl2.h: Likewise.
68490         * io/fcntl.h: Likewise.
68491         * io/sys/poll.h: Likewise.
68492         * misc/bits/syslog.h: Likewise.
68493         * misc/bits/syslog-ldbl.h: Likewise.
68494         * misc/sys/syslog.h: Likewise.
68495         * socket/bits/socket2.h: Likewise.
68496         * socket/sys/socket.h: Likewise.
68497         * debug/tst-chk1.c: Likewise.
68498         * wcsmbs/bits/wchar2.h: Likewise.
68499         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68500         * wcsmbs/wchar.h: Likewise.
68502 2012-04-29  Andreas Jaeger  <aj@suse.de>
68504         * Makerules (tests): Remove enable-check-abi protection.
68505         (check-abi-warn): Remove.
68506         (check-abi-%): Remove check-abi-warn usage.
68508         * configure.in: Remove check-abi configure option.
68509         * configure: Regenerated.
68510         * config.make.in (enable-check-abi): Remove.
68512 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68514         [BZ #14033]
68515         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68516         double functions to double *_finite functions.
68518         [BZ #13941]
68519         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68520         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68521         LDBL_MIN_EXP.
68522         * stdio-common/Makefile (tests): Add tst-sprintf3.
68523         * stdio-common/tst-sprintf3.c: New file.
68525         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68526         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68528 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68530         * conform/conformtest.pl: Remove duplicate typed-constant
68531         handling.
68533 2012-04-28  David S. Miller  <davem@davemloft.net>
68535         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68536         (check-abi-%): Remove AWK script prerequisite and explicit
68537         abilist directory.
68538         (check-abi): Rewrite to just diff the symlist with the abilist.
68539         (config-tls, config-abi-config): Delete, no longer used.
68540         (update-abi-%): Remove AWK script and explicit abilist directory.
68541         (update-abi): Rewrite to simply compare and conditionally copy the
68542         symlist and the sysdep abilist file.  Remove update-abi-config
68543         checks.
68544         * abilist/ld.abilist: Remove.
68545         * abilist/libBrokenLocale.abilist: Remove.
68546         * abilist/libanl.abilist: Remove.
68547         * abilist/libcrypt.abilist: Remove.
68548         * abilist/libdl.abilist: Remove.
68549         * abilist/librt.abilist: Remove.
68550         * abilist/libthread_db.abilist: Remove.
68551         * abilist/libutil.abilist: Remove.
68552         * scripts/extract-abilist.awk: Remove.
68553         * scripts/merge-abilist.awk: Remove.
68554         * sysdeps/generic/libcidn.abilist: New file.
68555         * sysdeps/generic/libnss_compat.abilist: New file.
68556         * sysdeps/generic/libnss_db.abilist: New file.
68557         * sysdeps/generic/libnss_dns.abilist: New file.
68558         * sysdeps/generic/libnss_files.abilist: New file.
68559         * sysdeps/generic/libnss_hesiod.abilist: New file.
68560         * sysdeps/generic/libnss_nis.abilist: New file.
68561         * sysdeps/generic/libnss_nisplus.abilist: New file.
68562         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68563         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68564         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68565         file.
68566         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68567         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68568         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68569         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68570         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68571         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68572         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
68573         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
68574         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
68575         file.
68576         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
68577         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
68578         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
68579         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
68580         file.
68581         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
68582         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
68583         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
68584         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
68585         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
68586         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
68587         file.
68588         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
68589         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
68590         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
68591         file.
68592         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
68593         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
68594         New file.
68595         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
68596         New file.
68597         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
68598         New file.
68599         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
68600         New file.
68601         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
68602         New file.
68603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
68604         New file.
68605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
68606         New file.
68607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
68608         New file.
68609         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
68610         New file.
68611         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
68612         New file.
68613         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
68614         New file.
68615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
68616         New file.
68617         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
68618         New file.
68619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
68620         file.
68621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
68622         New file.
68623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
68624         New file.
68625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
68626         file.
68627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
68628         New file.
68629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
68630         New file.
68631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
68632         file.
68633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
68634         New file.
68635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68636         New file.
68637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
68638         New file.
68639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
68640         New file.
68641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
68642         New file.
68643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
68644         New file.
68645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
68646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
68647         file.
68648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68649         New file.
68650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
68651         file.
68652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
68653         file.
68654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
68655         file.
68656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
68657         file.
68658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
68659         file.
68660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
68661         New file.
68662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
68663         file.
68664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
68665         file.
68666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
68667         New file.
68668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
68669         file.
68670         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
68671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
68672         file.
68673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
68674         New file.
68675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
68676         file.
68677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
68678         file.
68679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
68680         file.
68681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
68682         file.
68683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
68684         file.
68685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
68686         New file.
68687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
68688         file.
68689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
68690         file.
68691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
68692         New file.
68693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
68694         file.
68695         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68696         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
68697         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
68698         file.
68699         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
68700         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
68701         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
68702         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
68703         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
68704         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
68705         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
68706         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
68707         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
68708         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
68709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
68710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
68711         file.
68712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
68713         New file.
68714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
68715         file.
68716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
68717         file.
68718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
68719         file.
68720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
68721         file.
68722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
68723         file.
68724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
68725         New file.
68726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
68727         New file.
68728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
68729         file.
68730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
68731         New file.
68732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
68733         file.
68734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
68735         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
68736         file.
68737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
68738         New file.
68739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
68740         file.
68741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
68742         file.
68743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
68744         file.
68745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
68746         file.
68747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
68748         file.
68749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
68750         New file.
68751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
68752         New file.
68753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
68754         file.
68755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
68756         New file.
68757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68758         file.
68760 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68762         * conform/conformtest.pl: Fix typo in handling typed-constant from
68763         allow-header.
68765 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68767         * README: Cut down references to pre-2.6 Linux kernels and
68768         Linuxthreads.  Update lists of configurations in libc and ports
68769         and sort alphabetically.  Say "or newer" with Linux kernel version
68770         requirements.
68772         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68774 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68776         [BZ #887]
68777         * math/libm-test.inc (logb_test_downward): New test to expose
68778         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68779         rounding mode.
68781 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68783         [BZ #14027]
68784         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68785         to be done.
68786         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68787         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68789 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68791         * sysdeps/unix/i386/brk.S: Remove file.
68792         * sysdeps/unix/i386/dl-brk.S: Likewise.
68793         * sysdeps/unix/i386/pipe.S: Likewise.
68794         * sysdeps/unix/i386/sigreturn.S: Likewise.
68795         * sysdeps/unix/i386/syscall.S: Likewise.
68796         * sysdeps/unix/i386/vfork.S: Likewise.
68797         * sysdeps/unix/i386/wait.S: Likewise.
68799         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68800         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68802         * configure.in (arm*-none*): Do not allow without
68803         --enable-hacker-mode.
68804         (netbsd*): Remove case setting base_os.
68805         (386bsd*): Likewise.
68806         (freebsd*): Likewise.
68807         (bsdi*): Likewise.
68808         (osf*): Likewise.
68809         (sunos*): Likewise.
68810         (ultrix*): Likewise.
68811         (newsos*): Likewise.
68812         (dynix*): Likewise.
68813         (*bsd*): Likewise.
68814         (sysv*): Likewise.
68815         (isc*): Likewise.
68816         (esix*): Likewise.
68817         (sco*): Likewise.
68818         (minix*): Likewise.
68819         (irix4*): Likewise.
68820         (irix6*): Likewise.
68821         (solaris[2-9]*): Likewise.
68822         (none): Likewise.
68823         * configure: Regenerated.
68825 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68827         [BZ #11521]
68828         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68829         overflow or cancellation in calculating denominator.
68830         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68831         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68832         down expression to avoid unexpected rounding in newer GCCs.
68833         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68835 2012-04-26  David S. Miller  <davem@davemloft.net>
68837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68838         long-double compat symbols.
68839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68853 2012-04-25  David S. Miller  <davem@davemloft.net>
68855         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68856         HWCAP_* values only after the memory barriers have been defined.
68857         (atomic_full_barrier): Define.
68858         (atomic_read_barrier): Define.
68859         (atomic_write_barrier): Define.
68861 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68863         * shlib-versions: Add libgcc_s version information.
68864         * sysdeps/generic/libgcc_s.h: Remove.
68865         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68866         libgcc_s.h.
68867         * sysdeps/gnu/unwind-resume.c: Likewise.
68868         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68870 2012-04-25  David S. Miller  <davem@davemloft.net>
68872         * sysdeps/unix/sparc/brk.S: Delete.
68873         * sysdeps/unix/sparc/dl-brk.S: Delete.
68874         * sysdeps/unix/sparc/pipe.S: Delete.
68875         * sysdeps/unix/sparc/sysdep.S: Delete.
68876         * sysdeps/unix/sparc/sysdep.h: Delete.
68877         * sysdeps/unix/sparc/vfork.S: Delete.
68878         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68879         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68880         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68881         (ret_ERRVAL, r0, r1, MOVE): Define.
68882         (JUMPTARGET): Remove.
68883         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68884         sysdeps/unix/sparc/sysdep.h
68885         (ENTRY, END): Remove.
68886         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68888 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68890         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68891         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68892         -DIS_IN_build.
68894         * timezone/README: Update upstream location and email address for
68895         tzcode and tzdata.
68896         * timezone/zdump.c: Update from tzcode 2012b.
68897         * timezone/zic.c: Likewise.
68899         * configure.in (libc_cv_as_needed): Remove test.
68900         * configure: Regenerated.
68901         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68902         conditional definition.
68903         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68904         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68905         * config.make.in (have-as-needed): Remove variable.
68907 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68908             Paul Pluzhnikov  <ppluzhnikov@google.com>
68910         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68911         strings correctly.
68913 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68915         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68916         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68917         * sysdeps/sh/strlen.S: Likewise.
68919 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68921         * sysdeps/unix/fork.S: Remove file.
68922         * sysdeps/unix/i386/fork.S: Likewise.
68923         * sysdeps/unix/sparc/fork.S: Likewise.
68925         * sysdeps/unix/system.c: Remove file.
68926         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68928         * sysdeps/unix/getegid.S: Remove file.
68929         * sysdeps/unix/geteuid.S: Likewise.
68931 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68933         * scripts/check-localplt.awk: New file.
68934         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68935         of diff.
68936         * scripts/data/localplt-generic.data: Add a comment.
68938         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68939         NODE when __dir_mkfile failed.
68940         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68941         Reported by Ludovic Courtès <ludo@gnu.org>.
68943 2012-04-24  Andreas Jaeger  <aj@suse.de>
68945         * Makerules (common-clean): Also remove gen-as-const-headers
68946         files.
68948 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68950         * Makerules (native-compile): Do not change working directory for
68951         build.  Use $(OUTPUT_OPTION) in command.
68952         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68954 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68956         [BZ #13886]
68957         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68958         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68959         * math/libm-test.inc (floor_test): Add more tests.
68960         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68962 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68964         * sysdeps/unix/getdents.c: Remove file.
68965         * sysdeps/unix/sysv/getdents.c: Likewise.
68966         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68968         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68969         sysdeps/unix/mman/syscalls.list.
68970         (mmap): Likewise.
68971         (mprotect): Likewise.
68972         (msync): Likewise.
68973         (munmap): Likewise.
68974         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68975         * sysdeps/unix/mman/syscalls.list: Remove.
68976         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68978         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68979         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68980         * configure: Regenerated.
68981         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68982         $(libgcc_s_suffix).
68983         * config.make.in (libgcc_s_suffix): Remove variable.
68985 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68987         * sysdeps/unix/sysv/gethostname.c: Move to ...
68988         * sysdeps/posix/gethostname.c: ... here.
68990         * sysdeps/unix/execve.S: Remove file.
68992         * sysdeps/unix/_exit.S: Remove file.
68994 2012-04-23  Andreas Jaeger  <aj@suse.de>
68996         [BZ #13739]
68997         * manual/Makefile: Remove make dist support, there's no
68998         need for a stand-alone documentation tar ball.
68999         (TEXI2DVI): Define always, it's not in Makeconfig.
69000         (dist): Removed.
69001         (tar-it): Removed.
69002         (edition): Removed.
69003         (glibc-doc-$(edition).tar): Removed
69004         (%.Z): Removed.
69005         (%.gz): Removed.
69006         (%.uu): Removed.
69007         (ETAGS): Remove, it's in Makeconfig.
69008         (move-if-change): Remove, it's in Makeconfig.
69010 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69012         [BZ #13970]
69013         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69014         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69015         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69016         (strtod_l, strtof_l, strtold_l): Remove __wur.
69017         It is not necessarily an error to ignore strtol's return value.
69018         One can reliably look at the stored endptr to decide whether
69019         the number had valid syntax.
69021 2012-04-21  Andreas Jaeger  <aj@suse.de>
69023         [BZ #13739]
69024         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69026 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69028         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69029         * sysdeps/unix/sysv/Versions: Remove file.
69031 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69033         [BZ #13927]
69034         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69036 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69038         [BZ #7064]
69039         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69040         version from __vm86.
69042 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69044         * sysdeps/unix/common/lxstat.c: Remove file.
69045         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69047         * sysdeps/unix/sysv/Makefile: Remove file.
69049         * sysdeps/unix/sysv/direct.h: Remove file.
69051         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69052         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69053         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69054         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69055         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69056         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69057         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69059         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69061         * sysdeps/unix/xmknod.c: Remove file.
69062         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69064         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69066         * sysdeps/unix/sysv/i386/time.S: Remove file.
69068         * sysdeps/unix/fxstat.c: Remove file.
69069         * sysdeps/unix/xstat.c: Likewise.
69070         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69072         * sysdeps/unix/sysv/sigaction.c: Remove file.
69074         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69075         (sysdep_headers): Remove variable.
69076         [termio.h not in sysdep_headers] (generated): Likewise.
69077         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69078         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69079         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69080         * sysdeps/unix/sysv/tcflow.c: Likewise.
69081         * sysdeps/unix/sysv/tcflush.c: Likewise.
69082         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69083         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69084         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69085         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69086         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69088         * sysdeps/unix/siglist.c: Remove file.
69090         * sysdeps/unix/getppid.S: Remove file.
69092         * sysdeps/unix/mkdir.c: Remove file.
69093         * sysdeps/unix/rmdir.c: Likewise.
69095 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69097         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69098         ERR_MAX value.
69099         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69100         errlist-compat value.
69102 2012-04-18  David S. Miller  <davem@davemloft.net>
69104         * sysdeps/generic/memcopy.h (reg_char): Delete.
69105         * debug/strcat_chk.c: Use char, not reg_char.
69106         * debug/strcpy_chk.c: Likewise.
69107         * debug/strncat_chk.c: Likewise.
69108         * debug/strncpy_chk.c: Likewise.
69109         * string/memchr.c: Likewise.
69110         * string/memrchr.c: Likewise.
69111         * string/rawmemchr.c: Likewise.
69112         * string/strcat.c: Likewise.
69113         * string/strchr.c: Likewise.
69114         * string/strchrnul.c: Likewise.
69115         * string/strcmp.c: Likewise.
69116         * string/strcpy.c: Likewise.
69117         * string/strncat.c: Likewise.
69118         * string/strncmp.c: Likewise.
69119         * string/strncpy.c: Likewise.
69121 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69123         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69124         __builtin_memcopy is called when src and dest ranges are known to not
69125         overlap.
69127 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69129         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69130         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69131         fwd_align_merge macro call.
69132         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69133         bwd_align_merge macro call.
69134         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69136 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69138         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69139         bwd_align_merge macros.
69140         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69141         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69142         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69144 2012-04-18  David S. Miller  <davem@davemloft.net>
69146         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69148 2012-04-18  Andreas Jaeger  <aj@suse.de>
69150         [BZ# 6794]
69151         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69152         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69153         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69155         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69156         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69157         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69159         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69160         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69161         Adjust for changed ldbl-128 files.
69163         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69164         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69165         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69167 2012-04-17  David S. Miller  <davem@davemloft.net>
69169         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69171 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69173         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69174         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69175         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69176         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69177         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69178         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69180 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69182         [BZ #6794]
69183         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69184         * math/libm-test.inc: Add ilogb errno and exception tests.
69185         * math/w_ilogb.c: New file: ilogb wrapper.
69186         * math/w_ilogbf.c: New file: ilogbf wrapper.
69187         * math/w_ilogbl.c: New file: ilogbl wrapper.
69188         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69189         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69190         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69191         exception being thrown with 0.0 as argument.
69192         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69193         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69194         exception being thrown with 0.0 as argument.
69195         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69196         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69197         exception being thrown with 0.0 as argument.
69198         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69199         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69200         exception being thrown with 0.0 as argument.
69201         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69202         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69203         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69204         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69205         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69206         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69207         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69208         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69209         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69211 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69213         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69214         with altivec.
69216 2012-04-16  Marek Polacek  <polacek@redhat.com>
69218         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69220 2012-04-16  Marek Polacek  <polacek@redhat.com>
69222         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69223         operands of fdivp instruction.
69225 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69227         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69228         * elf/tst-auditmod3b.c: Likewise.
69229         * elf/tst-auditmod4b.c: Likewise.
69230         * elf/tst-auditmod5b.c: Likewise.
69231         * elf/tst-auditmod6b.c: Likewise.
69232         * elf/tst-auditmod6c.c: Likewise.
69233         * elf/tst-auditmod7b.c: Likewise.
69234         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69235         * sysdeps/x86_64/preconfigure.in: Likewise.
69236         * sysdeps/x86_64/preconfigure: Regenerated.
69238 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69240         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69241         __ILP32__.
69243 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69245         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69246         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69248 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69250         [BZ #13973]
69251         * locale/iso-639.def: Fix gl language name. Spotted by
69252         Yaron Shahrabani.
69254 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69256         [BZ #2074]
69257         * libio/libio.h (__io_write_fn): Update comment.
69259 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69261         [BZ #2074]
69262         * stdio.texi (Hook Functions): The user provided writer function
69263         is not allowed to return -1.
69265 2012-04-11  David S. Miller  <davem@davemloft.net>
69267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69269 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69271         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69272         Add a leading slash to rtkaio.
69274 2012-04-11  Jim Meyering  <meyering@redhat.com>
69276         [BZ #11959]
69277         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69278         It is not necessarily an error to ignore fwrite's return
69279         value.  One can reliably use ferror to test for errors after
69280         the fact.
69282 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69284         * bits/types.h (__snseconds_t): New type.
69285         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69287         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69289         (__SNSECONDS_T_TYPE): Likewise.
69290         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69291         (__SNSECONDS_T_TYPE): Likewise.
69292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69293         (__SNSECONDS_T_TYPE): Likewise.
69295 2012-04-10  Andreas Jaeger  <aj@suse.de>
69297         [BZ #2636]
69298         * manual/time.texi (Processor Time): Return type of times is
69299         elapsed real time since an arbitrary point in the past.
69300         (CPU Time): Move CLK_TCK from here...
69301         (Processor Time): ...to here.  Correct description.
69302         * manual/conf.texi (Constants for Sysconf): Correct description of
69303         _SC_CLK_TCK.
69305 2012-04-10  David S. Miller  <davem@davemloft.net>
69307         [BZ #13967]
69308         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69309         where the is a gap between DT_REL(A) and DT_JMPREL.
69311 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69313         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69314         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69315         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69317 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69319         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69320         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69321         (dl_main): Handle --inhibit-cache.
69322         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69323         _dl_inhibit_cache.
69324         * elf/dl-load.c (_dl_map_object): Use it.
69325         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69327 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69329         [BZ #13872]
69330         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69331         (__ieee754_powl): Saturate large exponents rather than testing for
69332         overflow of y*log2(x).
69333         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69334         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69335         exceptions.
69337         [BZ #11521]
69338         * math/s_ctan.c: Include <float.h>.
69339         (__ctan): Avoid internal overflow or cancellation in calculating
69340         denominator.
69341         * math/s_ctanf.c: Likewise.
69342         * math/s_ctanl.c: Likewise.
69343         * math/s_ctanh.c: Likewise.
69344         * math/s_ctanhf.c: Likewise.
69345         * math/s_ctanhl.c: Likewise.
69346         * math/libm-test.inc (ctan_test): Add more tests.
69347         (ctanh_test): Likewise.
69348         * sysdeps/i386/fpu/libm-test-ulps: Update.
69349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69351 2012-04-09  Andreas Jaeger  <aj@suse.de>
69353         [BZ #6894]
69354         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69355         is an optional BSD extension.
69357         [BZ #10254]
69358         * manual/stdio.texi (Opening Streams): Document additional fopen
69359         parameters.
69361 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69363         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69364         %eax without telling the compiler.
69366 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69368         [BZ # 13963]
69369         * manual/install.texi: Use sourceware.org.
69371 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69373         [BZ #13873]
69374         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69375         (__ieee754_pow): Generate overflow and underflow using huge*huge
69376         and tiny*tiny rather than just returning constant infinity or zero
69377         for large exponents.
69378         * math/libm-test.inc (pow_test): Require overflow exceptions for
69379         applicable cases of large exponents.
69381         [BZ #706]
69382         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69383         (__ieee754_pow): Use iterative multiplication algorithm only for
69384         integer exponents with absolute value below 1024.  Check for odd
69385         integer exponents when using algorithm for real exponents.
69386         * math/libm-test.inc (pow_test): Add more tests.
69387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69389 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69391         [BZ #13705]
69392         * math/libm-test.inc (exp_test): Do not allow overflow exception
69393         on underflow test.
69395 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69397         [BZ #13705]
69398         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69399         instead of __kernel_standard_f.
69401 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69403         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69404         * sysdeps/x86_64/memset_chk.S: Likewise.
69406 2012-04-08  Andreas Jaeger  <aj@suse.de>
69408         [BZ #10153]
69409         * manual/startup.texi (Environment Access): Describe return value
69410         for putenv and setenv.
69412         [BZ #6895]
69413         * manual/filesys.texi (Directory Entries): Add description for
69414         DT_LNK.
69416         [BZ #6890]
69417         * manual/filesys.texi (Directory Entries): Clarify that it's file
69418         system not operating system in the description of DT_UNKNOWN.
69420         [BZ #6578]
69421         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69423 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69425         [BZ #6649]
69426         * manual/llio.texi (Opening and Closing Files): Add cross
69427         reference to explain mode argument.
69429 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69431         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69432         * sysdeps/x86_64/memset_chk.S: Likewise.
69434 2012-04-07  David S. Miller  <davem@davemloft.net>
69436         * elf/elf.h (R_SPARC_WDISP10): Define.
69437         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69438         R_SPARC_SIZE32.
69439         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69440         R_SPARC_SIZE64 and R_SPARC_H34.
69442 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69444         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69445         conditions and remove no longer applicable assertion.
69447 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69449         * bits/byteswap.h: Include <features.h>.
69450         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69451         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69453 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69455         * bits/byteswap.h (__bswap_16): Removed.
69456         Include <bits/byteswap-16.h> to get __bswap_16.
69457         * sysdeps/i386/bits/byteswap.h: Likewise.
69458         * sysdeps/s390/bits/byteswap.h: Likewise.
69459         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69460         * bits/byteswap-16.h: New file.
69461         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69462         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69463         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69464         * string/Makefile (headers): Add bits/byteswap-16.h.
69466 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69468         [BZ #13895]
69469         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69470         extra indirection.
69471         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69472         * nss/tst-nss-static.c: New.
69474 2012-04-06  Robert Millan  <rmh@gnu.org>
69476         [BZ #6486]
69477         * manual/llio.texi (File Position Primitive): lseek
69478         refers to WHENCE when it really means OFFSET.
69480 2012-04-06  Andreas Jaeger  <aj@suse.de>
69482         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69483         strncmp declarations.
69485         * abilist/libc.abilist: Add __poll and __ppoll.
69487 2012-04-05  David S. Miller  <davem@davemloft.net>
69489         * scripts/check-local-headers.sh: Accept a host triplet in the
69490         path matched by the exclude regexp.
69492         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69493         definition.
69494         * sysdeps/powerpc/powerpc32/dl-machine.h
69495         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69496         * sysdeps/s390/s390-32/dl-machine.h
69497         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69498         * sysdeps/sparc/sparc32/dl-machine.h
69499         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69500         * sysdeps/sparc/sparc64/dl-machine.h
69501         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69503         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69504         lazy binding.
69505         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69506         undefined symbol errors.
69508         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69509         DT_NEEDED entries.
69511 2012-04-05  Michael Matz  <matz@suse.de>
69513         [BZ #13592]
69514         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69516 2012-04-05  Andreas Jaeger  <aj@suse.de>
69518         [BZ #13908]
69519         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69520         comment.
69522 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69524         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69525         which ROUND is no valid rounding mode.
69527 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69529         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69530         read again.
69531         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69533 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69535         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69536         an exception using FPU order intentionally.
69538 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69540         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69541         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69542         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69543         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69545 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69547         [BZ #12340]
69548         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69549         EINVAL when BUFLEN is too smal.
69551 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69553         [BZ #13553]
69554         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69555         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69557 2012-04-03  Andreas Jaeger  <aj@suse.de>
69559         [BZ #13938]
69560         * manual/setjmp.texi (System V contexts): Fix sentence.
69562         [BZ #13926]
69563         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69564         New macro for this case.
69565         [!__GNUC__] (__bswap_64): New inline function for this case.
69566         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69567         * bits/byteswap.h: Likewise.
69568         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69569         ull, guard with __GLIBC_HAVE_LONG_LONG.
69571         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69572         __GLIBC_HAVE_LONG_LONG.
69574         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
69575         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
69577 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69579         [BZ #13691]
69580         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
69581         inptr and inend, rather than using last_ch.
69583 2012-04-02  David S. Miller  <davem@davemloft.net>
69585         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
69586         * stdio-common/printf-parse.h (read_int): Change return type to
69587         'int', return -1 on INT_MAX overflow.
69588         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
69589         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
69590         overflows INT_MAX.  Check for overflow of in-format-string precision
69591         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
69592         SIZE_MAX not INT_MAX for integer overflow test.
69593         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
69594         skip the construct in the format string but do not record anything.
69595         * stdio-common/bug22.c: Adjust to test both width/prevision
69596         INT_MAX overflow as well as total length INT_MAX overflow.  Check
69597         explicitly for proper errno values.
69599 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69601         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
69602         CHAR_MAX.
69603         * string/test-strcmp.c [! WIDE]: Likewise.
69604         * time/tst-mktime2.c: Likewise for INT_MAX.
69605         * string/test-string.h: #include <sys/param.h> for MIN.
69607         * csu/init-first.c (__libc_init_first): Call __ctype_init.
69608         * sysdeps/i386/init-first.c (init): Likewise.
69609         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
69610         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
69611         * sysdeps/sh/init-first.c (init): Likewise.
69613 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
69615         * po/ru.po: Update from translation team.
69616         * po/vi.po: Likewise.
69618 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
69620         * resolv/nss_dns/dns-host.c: Merge copyright years.
69622 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69624         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69625         Optimize memcpy with prefetch if
69626         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
69627         src, dst pointers have unequal 16 byte alignments.
69629 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
69631         [BZ #13928]
69632         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
69633         from a CNAME entry and return the minimum ttl for the query.
69634         (gaih_getanswer_slice): Likewise.
69636 2012-03-30  Jeff Law  <law@redhat.com>
69638         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
69639         due to long keys.
69640         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
69641         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
69643         * resolv/nss_dns/dns-host.c: Update copyright year.
69645 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
69647         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
69648         requests to save a system call.  Fix check that all bytes are sent.
69650         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69651         comments for sendmmsg.
69653 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69655         [BZ #13691]
69656         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
69657         with only 1 character between 0x0041 and 0x01b0.
69658         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
69659         * wcsmbs/tst-mbsnrtowcs.c: New file.
69661 2012-03-29  David S. Miller  <davem@davemloft.net>
69663         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
69664         small copies by hand.
69666 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69668         [BZ #13761]
69669         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
69670         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
69671         group memberships.
69673 2012-03-28  David S. Miller  <davem@davemloft.net>
69675         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
69676         that branches into memcpy.
69677         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
69678         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
69679         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69680         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
69681         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69682         bits.
69683         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
69684         implementation too.
69685         * sysdeps/sparc/mempcpy.S: New file.
69687         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
69688         the IFUNC routine in the libc case.
69689         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69691         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
69692         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
69693         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
69694         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
69695         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
69696         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
69697         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
69698         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
69700         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
69701         loop to 256 bytes instead of 64 bytes and fix test signedness.
69703         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
69704         * sysdeps/sparc/sparc32/Makefile: rather than here...
69705         * sysdeps/sparc/sparc64/Makefile: and here.
69707 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
69709         * malloc/mallocbug.c: Avoid warnings about unused variables.
69711 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
69713         [BZ #13760]
69714         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
69715         in the right place. Discard and retry query if response is
69716         larger than input buffer size.
69718 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
69720         [BZ #369]
69721         [BZ #2678]
69722         [BZ #3866]
69723         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
69724         x for large integer exponent.
69725         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
69726         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
69727         sign of result as needed afterwards.
69728         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
69729         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
69730         result for underflowing pow the same as for overflow.
69731         (__kernel_standard_l): Handle powl overflow and underflow here
69732         rather than calling __kernel_standard.
69733         * math/libm-test.inc (pow_test): Add more tests.
69735         [BZ #3868]
69736         [BZ #13879]
69737         [BZ #13910]
69738         [BZ #13911]
69739         [BZ #13912]
69740         [BZ #13913]
69741         [BZ #13915]
69742         [BZ #13916]
69743         [BZ #13917]
69744         [BZ #13918]
69745         [BZ #13919]
69746         [BZ #13920]
69747         [BZ #13921]
69748         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
69749         * sysdeps/ieee754/k_standard.c: Include <float.h>.
69750         (__kernel_standard_l): New function.
69751         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
69752         __kernel_standard.
69753         * math/w_acosl.c (__acosl): Likewise.
69754         * math/w_asinl.c (__asinl): Likewise.
69755         * math/w_atan2l.c (__atan2l): Likewise.
69756         * math/w_atanhl.c (__atanhl): Likewise.
69757         * math/w_coshl.c (__coshl): Likewise.
69758         * math/w_exp10l.c (__exp10l): Likewise.
69759         * math/w_exp2l.c (__exp2l): Likewise.
69760         * math/w_fmodl.c (__fmodl): Likewise.
69761         * math/w_hypotl.c (__hypotl): Likewise.
69762         * math/w_j0l.c (__j0l, __y0l): Likewise.
69763         * math/w_j1l.c (__j1l, __y1l): Likewise.
69764         * math/w_jnl.c (__jnl, __ynl): Likewise.
69765         * math/w_lgammal.c (__lgammal): Likewise.
69766         * math/w_log10l.c (__log10l): Likewise.
69767         * math/w_log2l.c (__log2l): Likewise.
69768         * math/w_logl.c (__logl): Likewise.
69769         * math/w_powl.c (__powl): Likewise.
69770         * math/w_remainderl.c (__remainderl): Likewise.
69771         * math/w_scalbl.c (sysv_scalbl): Likewise.
69772         * math/w_sinhl.c (__sinhl): Likewise.
69773         * math/w_sqrtl.c (__sqrtl): Likewise.
69774         * math/w_tgammal.c (__tgammal): Likewise.
69775         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69776         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69777         * math/libm-test.inc (acos_test): Add more tests.
69778         (acosh_test): Likewise.
69779         (asin_test): Likewise.
69780         (atanh_test): Likewise.
69781         (exp_test): Likewise.
69782         (exp10_test): Likewise.
69783         (exp2_test): Likewise.
69784         (expm1_test): Likewise.
69785         (lgamma_test): Likewise.
69786         (log_test): Likewise.
69787         (log10_test): Likewise.
69788         (log1p_test): Likewise.
69789         (log2_test): Likewise.
69790         (pow_test): Do not allow some spurious overflow exceptions.
69791         (sqrt_test): Add more tests.
69792         (tgamma_test): Likewise.
69793         (y0_test): Likewise.
69794         (y1_test): Likewise.
69795         (yn_test): Likewise.
69797 2012-03-27  Anton Blanchard  <anton@samba.org>
69799         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69800         MAP_HUGETLB.
69801         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69802         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69803         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69805 2012-03-27  David S. Miller  <davem@davemloft.net>
69807         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69809         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69810         have-as-vis3 check.
69812 2012-03-27  Andreas Jaeger  <aj@suse.de>
69814         * sysdeps/x86_64/elf/configure.in: Moved to ...
69815         * sysdeps/x86_64/configure.in: ... here.
69816         * sysdeps/x86_64/elf/start.S: Moved to ...
69817         * sysdeps/x86_64/start.S: ... here.
69818         * sysdeps/x86_64/elf/configure: Delete.
69820         * sysdeps/x86_64/configure.in: Merge contents from
69821         sysdeps/i386/configure.in (without i686 check).
69823         * sysdeps/i386/elf/Versions: Merge into ...
69824         * sysdeps/i386/Versions: ... this.
69825         * sysdeps/i386/elf/Versions: Delete file.
69826         * sysdeps/i386/elf/start.S: Moved to ...
69827         * sysdeps/i386/start.S: ...here.
69828         * sysdeps/i386/elf/configure.in: Merge into...
69829         * sysdeps/i386/configure.in: ...here.
69830         * sysdeps/i386/elf/configure.in: Delete file.
69831         * sysdeps/i386/elf/configure: Delete file.
69833         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69834         * debug/backtracesyms.c: ... here.
69835         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69836         * debug/backtracesymsfd.c: ... here.
69837         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69838         * sysdeps/generic/ifunc-sel.h: ... here.
69840         * sysdeps/unix/i386/start.c: Delete file.
69841         * sysdeps/unix/sparc/start.c: Delete file.
69842         * sysdeps/unix/start.c: Delete file.
69844         * sysdeps/sh/elf/configure.in: Moved to ...
69845         * sysdeps/sh/configure.in: ... here.
69846         * sysdeps/sh/elf/start.S: Moved to ...
69847         * sysdeps/sh/start.S: ... here.
69848         * sysdeps/sh/elf/configure: Delete file.
69850         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69851         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69852         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69853         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69854         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69855         * sysdeps/powerpc/powerpc64/start.S: here.
69856         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69857         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69858         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69859         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69860         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69862         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69863         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69864         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69865         * sysdeps/powerpc/powerpc32/start.S: ... here.
69866         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69867         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69868         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69870         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69871         * sysdeps/powerpc/ifunc-sel.h: ... here.
69872         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69873         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69875         * sysdeps/sparc/elf/configure.in: Moved to ...
69876         * sysdeps/sparc/configure.in: ... here.
69877         * sysdeps/sparc/elf/configure: Delete file.
69878         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69879         * sysdeps/sparc/sparc32/start.S: ... here.
69880         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69881         * sysdeps/sparc/sparc64/start.S: ... here.
69882         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69883         * sysdeps/sparc/sparc32/Makefile: ... this.
69884         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69885         * sysdeps/sparc/sparc64/Makefile: ... this.
69887         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69888         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69889         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69890         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69891         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69892         * sysdeps/s390/s390-32/setjmp.S: ... here.
69893         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69894         * sysdeps/s390/s390-32/configure.in: ... here.
69895         * sysdeps/s390/s390-32/elf/configure: Delete file.
69896         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69897         * sysdeps/s390/s390-32/start.S: ... here.
69899         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69900         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69901         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69902         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69903         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69904         * sysdeps/s390/s390-64/setjmp.S: ... here.
69905         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69906         * sysdeps/s390/s390-64/configure.in: ... here
69907         * sysdeps/s390/s390-64/elf/configure: Delete file.
69908         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69909         * sysdeps/s390/s390-64/start.S: ... here.
69910         * sysdeps/s390/s390-64/elf/configure: Delete.
69912         * configure.in: Remove support for elf directories in sysdeps.
69914         * configure: Regenerated.
69915         * sysdeps/i386/configure: Regenerated.
69916         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69917         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69918         * sysdeps/s390/s390-32/configure: Regenerated.
69919         * sysdeps/s390/s390-64/configure: Regenerated.
69920         * sysdeps/sh/configure: Regenerated.
69921         * sysdeps/sparc/configure: Regenerated.
69922         * sysdeps/x86_64/configure: Regenerated.
69924 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69928         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69929         denormal result into account.
69931 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69933         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69934         Reported by Allan McRae <allan@archlinux.org>.
69936 2012-03-23  Jeff Law  <law@redhat.com>
69938         * nss/getnssent.c (__nss_getent): Fix typo.
69940 2012-03-23  David S. Miller  <davem@davemloft.net>
69942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69944 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69946         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69947         to pad to uint64_t for each field.
69948         (dl_tls_index): Replace unsigned long with uint64_t.
69950 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69951         Paul Pluzhnikov  <ppluzhnikov@google.com>
69953         [BZ #6528]
69954         * grp/Makefile (otherlibs): Don't set it.
69955         * inet/Makefile (otherlibs): Likewise.
69956         * login/Makefile (otherlibs): Likewise.
69957         * nscd/Makefile (otherlibs): Likewise.
69958         * posix/Makefile (otherlibs): Likewise.
69959         * pwd/Makefile (otherlibs): Likewise.
69960         * rt/Makefile (otherlibs): Likewise.
69961         * sunrpc/Makefile (otherlibs): Likewise.
69962         * nss/Makefile (otherlibs): Likewise.
69963         Add libnss_files to routines and static-only-routines.
69964         ($(objpfx)getent): Remove rule.
69965         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69966         static-only-routines.
69968 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69970         [BZ #13892]
69971         * math/s_cexp.c: Include <float.h>.
69972         (__cexp): Handle exp result overflowing not necessarily
69973         overflowing both real and imaginary parts of result.
69974         * math/s_cexpf.c: Likewise.
69975         * math/s_cexpl.c: Likewise.
69976         * math/libm-test.inc (cexp_test): Add more tests.
69977         * sysdeps/i386/fpu/libm-test-ulps: Update.
69978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69980 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69982         * include/link.h (ELFW): New macro.
69983         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69984         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69986 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69988         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69989         with uint64_t.
69991 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69993         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69994         declaration.
69995         (struct La_x32_retval): Likewise.
69997 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69999         * sysdeps/x86_64/preconfigure.in: New file.
70000         * sysdeps/x86_64/preconfigure: New generated file.
70002 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70004         [BZ #13824]
70005         * math/e_exp2l.c: Include <float.h>.
70006         (__ieee754_exp2l): Handle overflow and underflow cases
70007         separately.  Only pass fractional part of argument to
70008         __ieee754_expl.
70009         * math/libm-test.inc (exp2_test): Add more tests.
70011         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70012         negating x to take absolute value.
70013         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70014         Likewise.
70015         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70016         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70017         Likewise.
70018         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70019         computing low part if x was negated.
70020         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70022 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70024         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70025         la_x32_gnu_pltexit.
70026         (pltexit): Cast int_retval to ptrdiff_t.
70027         * elf/tst-auditmod3b.c: Likewise.
70028         * elf/tst-auditmod4b.c: Likewise.
70029         * elf/tst-auditmod5b.c: Likewise.
70030         * elf/tst-auditmod6b.c: Likewise.
70031         * elf/tst-auditmod6c.c: Likewise.
70032         * elf/tst-auditmod7b.c: Likewise.
70034         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70035         and x32_gnu_pltexit.
70037         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70038         __ELF_NATIVE_CLASS.
70039         (La_x32_regs): New macro.
70040         (La_x32_retval): Likewise.
70041         (la_x32_gnu_pltenter): New function prototype.
70042         (la_x32_gnu_pltexit): Likewise.
70044 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70046         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70047         exponent.
70049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70051         * configure.in (libc_cv_cc_nofma): Check for option to disable
70052         generation of FMA instructions.
70053         * configure: Regenerate.
70054         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70055         * sysdeps/ieee754/dbl-64/Makefile: New file.
70056         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70057         Remove brandred-fma4.
70058         (CFLAGS-brandred-fma4.c): Remove.
70059         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70060         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70061         define.
70062         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70063         define.
70065 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70067         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70068         LLONG_MAX != LONG_MAX.
70069         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70070         (_fitoa_word): Likewise.
70071         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70072         LLONG_MAX != LONG_MAX.
70073         * stdio-common/_itowa.h: Include <_itoa.h>.
70074         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70075         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70076         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70077         only if not defined.
70078         (_ITOA_WORD_TYPE): Likewise.
70079         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70080         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70082 2012-03-21  David S. Miller  <davem@davemloft.net>
70084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70086 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70088         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70089         of x86_64 when setting libc_cv_slibdir, libdir and
70090         libc_cv_localedir.
70091         * sysdeps/unix/sysv/linux/configure: Regenerated.
70093 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70095         * manual/lang.texi (Old Varargs): Remove section.
70096         (How Variadic): Update menu.
70097         (va_start): Do not mention varargs.h.
70099 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70100             Joseph Myers  <joseph@codesourcery.com>
70102         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70103         link test.
70104         * configure: Regenerated.
70106 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70108         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70109         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70110         conformtest.pl
70112 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70114         * NOTES: Remove.
70115         * Makefile (files-for-dist): Remove NOTES.
70116         (NOTES): Remove rule.
70117         * README: Don't refer to NOTES.
70118         * manual/creature.texi: Don't include macros.texi.
70119         * manual/intro.texi (creature.texi): Remove comment referring to
70120         NOTES.
70122         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70123         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70124         * configure: Regenerated.
70125         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70126         LIBC_TRY_CC_OPTION.
70127         (libc_cv_as_i686): Likewise.
70128         (libc_cv_cc_avx): Likewise.
70129         (libc_cv_cc_sse2avx): Likewise.
70130         (libc_cv_cc_fma4): Likewise.
70131         (libc_cv_cc_novzeroupper): Likewise.
70132         * sysdeps/i386/configure: Regenerated.
70134         [BZ #13883]
70135         * sysdeps/i386/fpu/s_cexp.S: Remove.
70136         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70137         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70138         * math/libm-test.inc (cexp_test): Add more tests.
70139         * sysdeps/i386/fpu/libm-test-ulps: Update.
70140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70142 2012-03-21  Allan McRae  <allan@archlinux.org>
70144         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70146 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70148         [BZ #13871]
70149         * math/w_exp2.c: Do not include <float.h>.
70150         (o_threshold, u_threshold): Remove.
70151         (__exp2): Calculate result before checking finiteness and calling
70152         __kernel_standard.
70153         * math/w_exp2f.c: Likewise.
70154         * math/w_exp2l.c: Likewise.
70155         * math/libm-test.inc (exp2_test): Require overflow exception for
70156         1e6 input.
70158         [BZ #3866]
70159         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70160         range of signed 64-bit integers before using fistpll.  Remove
70161         checks for whether integers fit in mantissa bits.
70162         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70163         the range of signed 32-bit integers before using fistpl.  Remove
70164         checks for whether integers fit in mantissa bits.
70165         * sysdeps/i386/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         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70170         divide-by-zero is raised for zero to large negative powers.
70171         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70172         (__ieee754_powl): Test for y outside the range of signed 64-bit
70173         integers before using fistpll.  Reduce 64-bit values to 63-bit
70174         ones as needed.
70175         * math/libm-test.inc (pow_test): Add more tests.
70177 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70179         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70180         <stdio-common/_itoa.h>.
70181         * debug/segfault.c: Likewise.
70182         * elf/dl-cache.c: Likewise.
70183         * elf/dl-minimal.c: Likewise.
70184         * elf/dl-misc.c: Likewise.
70185         * elf/dl-sysdep.c: Likewise.
70186         * elf/dl-version.c: Likewise.
70187         * elf/rtld.c: Likewise.
70188         * hurd/hurdsock.c: Likewise.
70189         * hurd/lookup-retry.c: Likewise.
70190         * malloc/malloc.c: Likewise.
70191         * malloc/mtrace.c: Likewise.
70192         * nscd/nscd_getgr_r.c: Likewise.
70193         * nscd/nscd_getpw_r.c: Likewise.
70194         * nscd/nscd_getserv_r.c: Likewise.
70195         * posix/getopt_init.c: Likewise.
70196         * posix/wordexp.c: Likewise.
70197         * stdio-common/_itoa.c: Likewise.
70198         * stdio-common/printf_fphex.c: Likewise.
70199         * stdio-common/vfprintf.c: Likewise.
70200         * string/_strerror.c: Likewise.
70201         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70202         * sysdeps/i386/i686/hp-timing.h: Likewise.
70203         * sysdeps/mach/_strerror.c: Likewise.
70204         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70205         * sysdeps/mach/hurd/sethostid.c: Likewise.
70206         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70207         * sysdeps/mach/xpg-strerror.c: Likewise.
70208         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70209         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70210         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70211         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70212         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70213         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70214         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70215         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70216         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70217         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70218         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70219         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70220         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70221         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70222         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70223         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70224         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70225         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70226         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70227         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70228         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70230         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70232         * stdio-common/_itoa.h: Moved to ...
70233         * sysdeps/generic/_itoa.h: Here.
70235         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70237         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70238         instead of "_itoa.h" and "_itowa.h".
70239         * stdio-common/vfprintf.: Likewise.
70241 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70243         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70244         <bits/wordsize.h>.
70245         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70246         (__signbit): Likwise.
70247         (llrintf): Likwise.
70248         (llrint): Likwise.
70250 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70252         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70253         __WORDSIZE != 64.
70255 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70257         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70258         OVERFLOW_EXCEPTION_OK.
70259         * math/libm-test.inc ("Philosophy"): Update comment about
70260         exception testing.
70261         (OVERFLOW_EXCEPTION): Define.
70262         (OVERFLOW_EXCEPTION_OK): Likewise.
70263         (INVALID_EXCEPTION_OK): Renumber.
70264         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70265         (IGNORE_ZERO_INF_SIGN): Likewise.
70266         (test_exceptions): Handle FE_OVERFLOW.
70267         (exp10_test): Expect overflow exceptions.
70268         (exp2_test): Likewise.
70269         (expm1_test): Likewise.
70270         (nextafter_test): Likewise.
70271         (pow_test): Likewise.
70272         (scalbn_test): Likewise.
70273         (scalbln_test): Likewise.
70275 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70277         * sysdeps/x86_64/bits/atomic.h
70278         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70279         64bit integer.
70280         (atomic_exchange_acq): Likewise.
70281         (__arch_exchange_and_add_body): Likewise.
70282         (__arch_add_body): Likewise.
70283         (atomic_add_negative): Likewise.
70284         (atomic_add_zero): Likewise.
70286 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70288         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70289         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70291 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70293         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70294         Check __x86_64__ instead of __WORDSIZE.
70296 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70298         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70300 2012-03-19  David S. Miller  <davem@davemloft.net>
70302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70304         * sysdeps/sparc/fpu/fenv_private.h: New file.
70305         * sysdeps/sparc/fpu/math_private.h: Use it.
70306         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70307         Remove.
70308         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70309         (libc_feholdexcept_setroundl): Remove.
70310         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70311         Remove.
70312         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70313         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70315 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70317         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70318         int64_t instead of long int.
70319         (INSERT_WORDS64): Likwise.
70321 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70323         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70324         _Unwind_GetCFA return to _Unwind_Ptr first.
70326 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70328         [BZ #13629]
70329         * math/s_clog.c: Include <float.h>.
70330         (__clog): Scale large or subnormal inputs.
70331         * math/s_clogf.c: Likewise.
70332         * math/s_clogl.c: Likewise.
70333         * math/s_clog10.c: Include <float.h>.
70334         (M_LOG10_2): Define.
70335         (__clog10): Scale large or subnormal inputs.
70336         * math/s_clog10f.c: Likewise.
70337         * math/s_clog10l.c: Likewise.
70338         * math/libm-test.inc (clog_test): Add more tests.
70339         (clog10_test): Likewise.
70340         * sysdeps/i386/fpu/libm-test-ulps: Update.
70341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70343         [BZ #11451]
70344         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70345         x and y.
70346         * math/libm-test.inc (atan2_test): Add another test.
70348         * Makerules (common-objdir-compile): Remove.
70349         * sysdeps/unix/Makefile (config-generated): Do not add
70350         $(unix-generated) to variable.
70351         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70352         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70353         Remove rule.
70354         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70355         Likewise.
70356         [generic bits/local_lim.h] (before-compile): Do not append to
70357         variable.
70358         [generic bits/local_lim.h] (common-generated): Likewise.
70359         [generic sys/param.h] (before-compile): Do not append to variable.
70360         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70361         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70362         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70363         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70364         include.
70365         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70366         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70367         [generic sys/param.h] ($(addprefix
70368         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70369         [generic sys/param.h] (common-generated): Do not append to
70370         variable.
70371         [generic sys/param.h] (sysdep_headers): Likewise.
70372         [generic bits/errno.h] (before-compile): Do not append to
70373         variable.
70374         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70375         rule.
70376         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70377         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70378         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70379         [generic bits/errno.h] (common-generated): Do not append to
70380         variable.
70381         [generic bits/ioctls.h] (before-compile): Do not append to
70382         variable.
70383         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70384         rule.
70385         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70386         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70387         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70388         rule.
70389         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70390         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70391         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70392         [generic bits/ioctls.h] (common-generated): Do not append to
70393         variable.
70394         [generic sys/syscall.h] (syscall.h): Remove variable.
70395         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70396         rule.
70397         [generic sys/syscall.h] (before-compile): Do not append to
70398         variable.
70399         [generic sys/syscall.h] (common-generated): Likewise.
70400         * sysdeps/unix/errnos-tmpl.c: Remove file.
70401         * sysdeps/unix/errnos.awk: Likewise.
70402         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70403         * sysdeps/unix/ioctls.awk: Likewise.
70404         * sysdeps/unix/mk-local_lim.c: Likewise.
70405         * sysdeps/unix/snarf-ioctls: Likewise.
70407 2012-03-19  Richard Henderson  <rth@twiddle.net>
70409         * sysdeps/i386/fpu/fenv_private.h: New file.
70410         * sysdeps/i386/fpu/math_private.h: Use it.
70411         (math_opt_barrier, math_force_eval): Remove.
70412         (libc_feholdexcept_setround_53bit): Remove.
70413         (libc_feupdateenv_53bit): Remove.
70414         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70415         (math_opt_barrier, math_force_eval): Remove.
70416         (libc_feholdexcept): Remove.
70417         (libc_feholdexcept_setround): Remove.
70418         (libc_fetestexcept, libc_fesetenv): Remove.
70419         (libc_feupdateenv_test): Remove.
70420         (libc_feupdateenv, libc_feholdsetround): Remove.
70421         (libc_feresetround): Remove.
70423         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70424         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70426         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70427         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70428         (libc_feupdateenv_testl): New.
70429         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70430         (libc_feupdateenv_testf): New.
70431         (libc_feupdateenv): Use libc_feupdateenv_test.
70432         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70433         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70435         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70436         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70437         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70438         (libc_feresetround_noex): New.
70439         (libc_feresetround_noexf): New.
70440         (libc_feresetround_noexl): New.
70441         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70442         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70443         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70444         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70445         SET_RESTORE_ROUND.
70446         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70447         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70448         (__cos): Likewise.
70449         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70450         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70451         SET_RESTORE_ROUND_NOEX.
70452         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70453         SET_RESTORE_ROUND_NOEXF.
70454         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70455         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70456         (libc_feholdsetroundf): New.
70457         (libc_feresetround, libc_feresetroundf): New.
70459         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70460         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70461         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70463         * sysdeps/generic/math_private.h: Include <fenv.h>.
70464         (default_libc_feholdexcept): New.
70465         (default_libc_feholdexcept_setround): New.
70466         (default_libc_fesetenv, default_libc_feupdateenv): New.
70467         (libc_feholdexcept): Only define if undefined.
70468         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70469         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70470         (libc_feholdexcept_setroundl): Likewise.
70471         (libc_feholdexcept_setround_53bit): Likewise.
70472         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70473         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70474         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70475         (libc_feupdateenv_53bit): Likewise.
70476         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70477         (libc_feholdexcept): Convert from macro to inline function.
70478         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70479         (libc_fesetenv, libc_feupdateenv): Likewise.
70481         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70482         not previously defined.
70483         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70484         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70485         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70486         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70487         * sysdeps/ieee754/flt-32/math_private.h: New file.
70488         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70489         math_private.h below SET_FLOAT_WORD.
70490         (__isnan, __isinf_ns, __finite): Remove.
70491         (__isnanf, __isinf_nsf, __finitef): Remove.
70493 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70497 2012-03-17  David S. Miller  <davem@davemloft.net>
70499         [BZ #6471]
70500         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70501         for 2.16.
70503 2012-03-16  David S. Miller  <davem@davemloft.net>
70505         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70506         warnings.
70508         [BZ #6471]
70509         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70510         properly.
70511         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70512         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70513         sysdep_routines when subdir is sysvipc.
70514         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70515         __getshmlba helper.
70517         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70519 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70521         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70522         [__LP64__].
70524 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70526         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70527         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70528         (__lround): Renamed to ...
70529         (__llround): This.  Replace long int with long long int.
70530         Define lround functions as aliases of llround functions.
70531         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70533 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70535         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70536         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70537         adresses to uintptr_t.  Replace "long int" and "unsigned long
70538         int" with "greg_t" on va_arg.
70540 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70542         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70543         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70545         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70546         Move e_machine check before EI_CLASS check.  Handle x32
70547         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70548         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70549         SKIP_EM_IA_64 and include
70550         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70552         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70553         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70554         (add_system_dir): New macro.
70556         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70557         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70559 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70561         [BZ #2551]
70562         [BZ #2552]
70563         [BZ #2553]
70564         [BZ #2554]
70565         [BZ #2562]
70566         [BZ #2563]
70567         [BZ #2565]
70568         [BZ #2566]
70569         [BZ #2576]
70570         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70571         (y0): Likewise.
70572         * math/w_j0f.c (j0f): Likewise.
70573         (y0f): Likewise.
70574         * math/w_j0l.c (__j0l): Likewise.
70575         (__y0l): Likewise.
70576         * math/w_j1.c (j1): Likewise.
70577         (y1): Likewise.
70578         * math/w_j1f.c (j1f): Likewise.
70579         (y1f): Likewise.
70580         * math/w_j1l.c (__j1l): Likewise.
70581         (__y1l): Likewise.
70582         * math/w_jn.c (jn): Likewise.
70583         (yn): Likewise.
70584         * math/w_jnf.c (jnf): Likewise.
70585         (ynf): Likewise.
70586         * math/w_jnl.c (__jnl): Likewise.
70587         (__ynl): Likewise.
70588         * math/libm-test.inc (j0_test): Add more tests.
70589         (j1_test): Likewise.
70590         (jn_test): Likewise.  Add trailing semicolon to existing test.
70591         (y0_test): Likewise.
70592         (y1_test): Likewise.
70593         * sysdeps/i386/fpu/libm-test-ulps: Update.
70594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70596         [BZ #13851]
70597         [BZ #13854]
70598         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
70599         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
70600         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
70601         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
70602         (__tanl): Set errno for infinite argument.
70603         * sysdeps/i386/fpu/mptan.c: Remove.
70604         * sysdeps/i386/fpu/s_tan.S: Likewise.
70605         * sysdeps/i386/fpu/s_tanl.S: Likewise.
70606         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
70607         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
70608         * math/libm-test.inc (tan_test): Add more tests and enable more
70609         tests for double and long double.
70610         * sysdeps/i386/fpu/libm-test-ulps: Update.
70611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70613 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
70615         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
70616         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
70618 2012-03-16  Roland McGrath  <roland@hack.frob.com>
70620         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
70621         * configure.in: Use it for both main tree and add-ons.
70622         * configure: Regenerated.
70624 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70626         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
70628 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70630         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
70631         in comment.
70633         [BZ #13851]
70634         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
70635         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
70636         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
70637         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
70638         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
70639         infinite argument.
70640         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
70641         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
70642         != 0 for prec == 2.
70643         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
70644         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
70645         * sysdeps/i386/fpu/s_cosl.S: Likewise.
70646         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
70647         * sysdeps/i386/fpu/s_sinl.S: Likewise.
70648         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
70649         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
70650         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
70651         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
70652         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
70653         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
70654         * math/libm-test.inc (cos_test): Add more tests and enable more
70655         tests for long double.
70656         (sin_test): Likewise.
70657         (sincos_test): Likewise.
70658         * sysdeps/i386/fpu/libm-test-ulps: Update.
70659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70661 2012-03-16  David S. Miller  <davem@davemloft.net>
70663         * sysdeps/sparc/fpu/math_private.h: New file.
70665 2012-03-15  David S. Miller  <davem@davemloft.net>
70667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
70668         file.
70669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
70670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
70671         file.
70672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
70673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
70674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
70675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
70676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
70677         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
70678         sysdep routines.
70679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70681         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
70682         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
70684         * sysdeps/sparc/sparc-ifunc.h: New file.
70685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
70686         sparc-ifunc.h
70687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
70689         Likewise.
70690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
70691         Likewise.
70692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
70693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
70694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70696         Likewise.
70697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
70699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
70701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
70702         Likewise.
70703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
70704         Likewise.
70705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
70707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
70708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
70709         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70710         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70711         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
70712         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
70713         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70714         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70715         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
70716         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
70717         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
70718         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
70719         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
70720         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
70721         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
70722         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
70723         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
70724         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
70725         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
70726         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
70727         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
70728         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
70730 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70732         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
70733         scaling.
70734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70736 2012-03-15  Andreas Jaeger  <aj@suse.de>
70738         [BZ #13852]
70739         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
70740         ieee754/flt-32 implementation for sin, cos and sincos.
70741         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
70742         * sysdeps/i386/fpu/s_cosf.S: Likewise.
70743         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
70744         * sysdeps/i386/fpu/s_sinf.S: Likewise.
70745         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
70746         ieee754/flt-32 implementation for tan.
70748         * math/libm-test.inc (cos_test): Enable some large input tests for
70749         float as well
70750         (sin_test): Likewise.
70751         (sincos_test): Likewise.
70752         (tan_test): Add tests for large input.
70754         * sysdeps/i386/fpu/libm-test-ulps: Update.
70756 2012-03-15  Andreas Jaeger  <aj@suse.de>
70758         [BZ #13658]
70759         * math/libm-test.inc (cos_test): Add more test cases.
70760         (sin_test): Likewise.
70761         (sincos_test): Likewise.
70763 2012-03-15  Andreas Jaeger  <aj@suse.de>
70765         [BZ #13837]
70766         * math/libm-test.inc (cos_test): Add a test case for large input
70767         value.
70768         (sin_test): Likewise.
70769         (sincos_test): Likewise.
70771 2012-03-15  Andreas Jaeger  <aj@suse.de>
70772             Joseph Myers  <joseph@codesourcery.com>
70774         [BZ #13658]
70775         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70776         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70777         * sysdeps/i386/fpu/branred.c: Likewise.
70778         * sysdeps/i386/fpu/dosincos.c: Likewise.
70779         * sysdeps/i386/fpu/mpa.c: Likewise.
70780         * sysdeps/i386/fpu/s_cos.S: Likewise.
70781         * sysdeps/i386/fpu/s_sin.S: Likewise.
70782         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70783         * sysdeps/i386/fpu/sincos32.c: Likewise.
70785         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70786         Define.
70787         (libc_feupdateenv_53bit): Define.
70788         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70789         Define.
70790         (libc_feupdateenv_53bit): Define.
70792         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70793         53 bit (without extend i386 double precision).
70795         * math/libm-test.inc (sincos_test): Add tests for large input.
70796         (sin): Likewise.
70797         (cos): Likewise.
70799         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70801 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70805 2012-03-15  David S. Miller  <davem@davemloft.net>
70807         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70808         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70809         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70810         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70815         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70816         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70817         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70818         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70819         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70820         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70823         file.
70824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70826         file.
70827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70829         file.
70830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70832         file.
70833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70834         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70835         fmin/fmax sysdep routines.
70836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70838 2012-03-14  David S. Miller  <davem@davemloft.net>
70840         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70841         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70844         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70845         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70846         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70847         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70848         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70850         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70851         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70852         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70853         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70854         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70855         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70856         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70857         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70858         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70859         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70860         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70861         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70862         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70863         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70864         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70865         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70866         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70867         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70868         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70869         routines.
70870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70871         file.
70872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70874         file.
70875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70877         file.
70878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70880         file.
70881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70883         file.
70884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70886         file.
70887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70888         file.
70889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70890         file.
70891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70892         file.
70893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70894         New file.
70895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70896         file.
70897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70898         file.
70899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70901         file.
70902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70904         file.
70905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70907         file.
70908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70910         VIS3 routines.
70912         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70913         New file.
70915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70917         * sysdeps/sparc/configure.in: New file.
70918         * sysdeps/sparc/configure: Generate.
70919         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70920         * configure: Regenerate.
70921         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70922         * config.make.in (have-as-vis3): New.
70923         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70924         available use -Av9d instead of -Av9a.
70925         * sysdeps/sparc/sparc64/Makefile: Likewise.
70926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70928         New file.
70929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70930         file.
70931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70932         New file.
70933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70934         file.
70935         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70936         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70937         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70938         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70939         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70941         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70942         fzeros/fnegs to load 0x80000000 into a float register instead of
70943         using the stack.
70944         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70946 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70948         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70949         bits/syscall.h.
70950         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70951         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70952         ($(inst_includedir)/bits/syscall.h): Remove rule.
70953         ($(objpfx)bits/syscall.d): Include instead of
70954         $(objpfx)syscall-list.d.
70955         (generated): Change syscall-list.h and syscall-list.d to
70956         bits/syscall.h and bits/syscall.d.
70958 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70960         [BZ #13846]
70961         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70963 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70965         [BZ #13841]
70966         * math/s_csqrt.c: Include <float.h>.
70967         (__csqrt): Scale large or subnormal inputs.
70968         * math/s_csqrtf.c: Likewise.
70969         * math/s_csqrtl.c: Likewise.
70970         * math/libm-test.inc (csqrt_test): Add more tests.
70971         * sysdeps/i386/fpu/libm-test-ulps: Update.
70972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70974         [BZ #13840]
70975         * math/libm-test.inc (hypot_test): Add more tests.
70977 2012-03-13  David S. Miller  <davem@davemloft.net>
70979         [BZ #13840]
70980         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70981         double-precision for the calculation instead of scaling.
70983 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70985         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70986         manipulate bits before adding and subtracting TWO52[sx].
70987         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70988         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70989         Likewise.
70990         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70992 2012-03-13  David S. Miller  <davem@davemloft.net>
70994         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70995         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70996         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70997         rtld-global-offsets.h
70998         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71000         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71001         large parameters.
71003         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71005         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71006         'err' in the ifdef scope in which it is actually used.
71008         * nss/nss_db/db-init.c: Include string.h
71010 2012-03-12  David S. Miller  <davem@davemloft.net>
71012         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71013         masking out of the most significant byte of random value used.
71014         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71015         Fix coding style in previous change.
71017         * sysdeps/unix/sysv/linux/kernel-features.h
71018         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71019         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71020         expression.
71021         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71022         later.
71024 2012-03-11  David S. Miller  <davem@davemloft.net>
71026         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71027         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71028         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71029         for 'resultvar' otherwise things get truncated on 64-bit.
71031         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71032         Fix masking out of the most significant byte of random value used.
71034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71036 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71040 2012-03-09  David S. Miller  <davem@davemloft.net>
71042         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71043         variables with appropriate CPP guards.
71044         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71045         from the frame pointer, not the stack pointer.  Correct layout
71046         comments.  Fix test on resulting framesize and the management of
71047         the outregs buffer for pltexit.  Preserve floating point return
71048         values across _dl_call_pltexit call.
71049         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71050         framesize and the management of the outregs buffer for pltexit.
71051         Preserve floating point return values across _dl_call_pltexit
71052         call.
71053         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71054         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71055         (la_sparc64_gnu_pltexit): New functions.
71056         (print_exit): Fix format string for return register value.
71058 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71060         * sunrpc/Makefile (others): Add rpcgen.
71061         ($(objpfx)rpcgen): Remove special build rule and dependency on
71062         libc.
71063         * sunrpc/rpcgen.c: New file.
71065 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71067         [BZ #13673]
71068         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71069         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71070         * sysdeps/i386/crti.S: Likewise.
71071         * sysdeps/i386/crtn.S: Likewise.
71072         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71073         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71074         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71075         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71076         * sysdeps/sh/crti.S: Likewise.
71077         * sysdeps/sh/crtn.S: Likewise.
71078         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71080         [BZ #13673]
71081         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71082         with URL.
71083         * locale/programs/locfile-kw.gperf: Likewise.
71084         * locale/programs/charmap-kw.h: Regenerated.
71085         * locale/programs/locfile-kw.h: Likewise.
71087         [BZ #13673]
71088         * intl/plural.y: Replace FSF snail mail address with URL.
71089         * intl/plural.c: Regenerated.
71091 2012-03-09  Richard Henderson  <rth@twiddle.net>
71093         * include/math_private.h: Remove file.
71094         * math/math_private.h: Move file ...
71095         * sysdeps/generic/math_private.h: ... here.
71097         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71098         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71099         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71101         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71102         and <math_private.h>.
71103         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71104         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71105         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71106         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71107         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71108         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71109         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71110         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71111         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71112         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71113         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71114         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71115         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71116         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71117         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71118         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71119         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71120         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71121         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71122         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71123         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71124         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71125         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71126         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71127         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71128         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71129         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71130         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71131         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71132         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71133         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71134         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71135         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71136         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71137         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71138         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71139         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71140         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71141         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71142         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71143         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71144         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71145         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71146         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71147         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71148         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71149         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71150         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71151         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71152         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71153         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71154         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71155         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71156         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71157         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71158         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71159         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71160         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71161         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71162         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71163         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71164         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71165         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71166         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71167         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71168         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71169         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71170         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71171         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71172         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71173         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71174         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71175         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71176         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71177         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71178         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71179         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71180         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71181         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71182         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71183         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71184         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71185         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71186         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71187         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71188         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71189         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71190         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71191         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71192         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71193         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71194         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71195         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71196         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71197         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71198         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71199         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71200         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71201         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71202         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71203         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71204         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71205         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71206         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71207         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71208         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71209         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71210         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71211         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71212         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71213         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71214         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71215         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71216         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71217         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71218         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71219         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71220         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71221         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71222         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71223         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71224         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71225         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71226         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71227         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71228         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71229         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71230         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71231         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71232         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71233         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71234         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71235         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71236         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71237         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71238         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71239         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71240         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71241         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71242         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71243         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71244         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71245         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71246         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71247         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71248         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71249         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71250         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71251         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71252         * sysdeps/ieee754/k_standard.c: Likewise.
71253         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71254         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71255         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71256         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71257         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71258         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71259         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71260         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71261         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71262         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71263         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71264         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71265         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71266         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71267         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71268         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71269         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71270         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71271         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71272         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71273         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71274         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71275         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71276         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71277         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71278         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71279         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71280         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71281         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71282         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71283         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71284         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71285         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71286         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71287         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71288         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71289         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71290         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71291         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71292         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71293         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71294         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71295         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71296         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71297         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71298         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71299         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71300         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71301         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71302         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71303         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71304         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71305         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71306         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71307         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71308         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71309         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71310         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71311         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71312         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71313         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71314         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71315         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71316         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71317         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71318         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71319         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71320         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71321         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71322         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71323         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71324         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71325         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71326         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71327         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71328         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71329         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71330         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71331         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71332         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71333         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71334         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71335         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71336         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71337         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71338         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71339         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71340         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71341         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71342         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71343         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71344         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71345         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71346         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71347         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71348         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71349         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71350         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71351         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71352         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71353         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71354         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71355         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71356         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71357         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71358         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71359         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71360         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71361         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71362         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71363         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71364         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71365         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71366         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71367         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71368         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71369         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71370         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71371         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71372         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71373         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71374         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71375         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71376         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71377         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71378         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71379         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71380         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71381         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71382         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71383         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71384         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71385         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71386         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71387         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71388         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71389         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71390         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71391         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71392         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71393         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71394         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71395         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71396         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71397         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71398         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71399         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71400         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71401         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71402         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71403         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71404         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71405         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71406         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71407         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71408         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71409         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71410         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71411         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71412         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71413         * sysdeps/ieee754/s_lib_version.c: Likewise.
71414         * sysdeps/ieee754/s_matherr.c: Likewise.
71415         * sysdeps/ieee754/s_signgam.c: Likewise.
71416         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71417         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71418         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71419         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71420         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71421         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71422         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71423         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71424         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71425         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71426         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71427         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71428         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71429         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71430         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71431         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71432         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71433         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71434         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71435         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71436         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71438 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71440         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71441         * sunrpc/rpc_main.c: Likewise.
71442         * sunrpc/rpc_svcout.c: Likewise.
71444 2012-03-09  David S. Miller  <davem@davemloft.net>
71446         * include/math_private.h: New file.
71448 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71450         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71451         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71452         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71453         from <bits/socket_type.h>.
71454         (enum __socket_type): Don't define here.
71455         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71457         bits/socket_type.h.
71459         [BZ #13566]
71460         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71461         checking __USE_GNU.
71463         * Makerules ($(inst_includedir)/%.h): New rule.
71464         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71465         (install-others): Remove variable setting.
71466         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71468 2012-03-08  Richard Henderson  <rth@twiddle.net>
71470         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71471         from macro to inline function; merge with the
71472         !__LIBC_INTERNAL_MATH_INLINES version.
71473         (__ieee754_sqrtf): Likewise.
71475         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71476         to inline function.
71477         (__rintf, __floor, __floorf): Likewise.
71479         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71480         macro to inline function.
71481         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71483         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71484         not <math/math_private.h>.
71486 2012-03-08  David S. Miller  <davem@davemloft.net>
71488         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71489         copyright year.
71490         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71492 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71494         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71495         normalization.
71496         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71497         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71499 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71501         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71502         be defined individually, they must be defined as a block.  Define
71503         S for printing a string instead of hidint the different by using a
71504         macro for adding the 'l'.
71505         * stdio-common/tst-fphex-wide.c: Adjust.
71507 2012-03-07  Marek Polacek  <polacek@redhat.com>
71509         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71511 2012-03-08  Marek Polacek  <polacek@redhat.com>
71513         [BZ #13806]
71514         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71515         * stdio-common/tst-fphex.c: Define a few macros to make the
71516         test reusable.  Use them.
71517         * stdio-common/tst-fphex-wide.c: New file.
71519 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71521         [BZ #6911]
71522         * manual/macros.texi (gnusystems): New macro.
71523         (nongnusystems): Likewise.
71524         (gnulinuxhurdsystems): Likewise.
71525         (gnuhurdsystems): Likewise..
71526         (gnulinuxsystems): Likewise.
71527         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71528         variants of the GNU system, not "GNU system".
71529         * manual/conf.texi: Likewise.
71530         * manual/errno.texi: Likewise.  Update example of errno macro
71531         expansion.
71532         * manual/filesys.texi: Likewise.
71533         (getumask): Document as specific to GNU/Hurd.
71534         * manual/install.texi: Likewise.  Reword some references to
71535         GNU/Linux.
71536         * manual/intro.texi: Likewise.
71537         * manual/io.texi: Likewise.
71538         (File Name Portability): Detail which constraints are inapplicable
71539         to all GNU systems and which are only inapplicable to GNU/Hurd.
71540         * manual/job.texi: Likewise.
71541         * manual/llio.texi: Likewise.
71542         (O_NOCTTY): Document as present on GNU/Linux.
71543         * manual/maint.texi: Likewise.
71544         * manual/memory.texi: Likewise.
71545         * manual/pattern.texi: Likewise.
71546         * manual/pipe.texi: Likewise.
71547         * manual/process.texi: Likewise.
71548         * manual/resource.texi: Likewise.
71549         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71550         child on GNU/Hurd.
71551         * manual/setjmp.texi: Likewise.
71552         * manual/signal.texi: Likewise.
71553         * manual/startup.texi: Likewise.
71554         * manual/stdio.texi: Likewise.
71555         * manual/terminal.texi: Likewise.
71556         (ONLCR): Document as POSIX.
71557         (OXTABS): Document availability on GNU/Linux as XTABS.
71558         (ONOEOT): Document availability separately from other bits.
71559         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71560         * manual/time.texi: Likewise.
71561         * manual/users.texi: Likewise.
71562         * INSTALL: Regenerated.
71563         * sysdeps/gnu/errlist.c: Regenerated.
71565         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71566         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71567         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71568         puts.
71569         * configure: Regenerated.
71571 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
71573         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
71574         default includes instead of AC_HEADER_CHECK.
71575         * sysdeps/i386/configure: Regenerated.
71577         [BZ #10716]
71578         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
71579         * math/s_cacoshf.c (__cacoshf): Likewise.
71580         * math/s_cacoshl.c (__cacoshl): Likewise.
71581         * math/s_casinh.c (__casinh): Set signs of result from argument.
71582         * math/s_casinhf.c (__casinhf): Likewise.
71583         * math/s_casinhl.c (__casinhl): Likewise.
71584         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
71585         (casinh_test): Add more tests.
71586         * sysdeps/i386/fpu/libm-test-ulps: Update.
71587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71589 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
71591         * po/zh_TW.po: Update from translation team.
71593         * login/Makefile (distribute): Remove variable.
71594         * catgets/Makefile: Likewise.
71595         * mach/Makefile: Likewise.
71596         * malloc/Makefile: Likewise.
71597         * misc/Makefile: Likewise.
71598         * iconv/Makefile: Likewise.
71599         * nscd/Makefile: Likewise.
71600         * hurd/Makefile: Likewise.
71601         * manual/Makefile: Likewise.
71602         * locale/Makefile: Likewise.
71603         * intl/Makefile: Likewise.
71604         * conform/Makefile: Likewise.
71605         * nss/Makefile: Likewise.
71606         * time/Makefile: Likewise.
71607         * soft-fp/Makefile: Likewise.
71608         * dirent/Makefile: Likewise.
71609         * gmon/Makefile: Likewise.
71610         * po/Makefile: Likewise.
71611         * rt/Makefile: Likewise.
71612         * socket/Makefile: Likewise.
71613         * math/Makefile: Likewise.
71614         * signal/Makefile: Likewise.
71615         * debug/Makefile: Likewise.
71616         * elf/Makefile: Likewise.
71617         * timezone/Makefile: Likewise.
71618         * stdlib/Makefile: Likewise.
71619         * iconvdata/Makefile: Likewise.
71620         * sunrpc/Makefile: Likewise.
71621         * io/Makefile: Likewise.
71622         * argp/Makefile: Likewise.
71623         * inet/Makefile: Likewise.
71624         * hesiod/Makefile: Likewise.
71625         * grp/Makefile: Likewise.
71626         * csu/Makefile: Likewise.
71627         * wctype/Makefile: Likewise.
71628         * crypt/Makefile: Likewise.
71629         * libio/Makefile: Likewise.
71630         * string/Makefile: Likewise.
71631         * nis/Makefile: Likewise.
71632         * resolv/Makefile: Likewise.
71633         * stdio-common/Makefile: Likewise.
71634         * wcsmbs/Makefile: Likewise.
71635         * dlfcn/Makefile: Likewise.
71636         * posix/Makefile: Likewise.
71638         [BZ #6959]
71639         * timezone/Makefile: Don't install timezone files, just the programs
71640         and scripts.
71642 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
71644         * nss/databases.def: Add missing gshadow entry.
71646         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
71648 2012-03-06  Marek Polacek  <polacek@redhat.com>
71650         [BZ #13726]
71651         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
71652         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
71653         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
71654         * stdio-common/tst-long-dbl-fphex.c: New file.
71656 2012-03-06  David S. Miller  <davem@davemloft.net>
71658         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71659         (set_obp_int): New function.
71660         (get_obp_int): New function.
71661         (__get_clockfreq_via_dev_openprom): Likewise.
71662         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
71663         Avoid unused variable warnings on 'val' and use builtin_expect.
71664         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
71665         __builtin_expect.
71666         (INLINE_CLONE_SYSCALL): Likewise.
71668 2012-03-05  David S. Miller  <davem@davemloft.net>
71670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71672 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
71674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71676         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
71677         only for |x| >= 40.
71678         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71680 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
71682         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
71683         Replace gettimeofday with __vdso_gettimeofday.
71685         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71686         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
71687         __vdso_clock_gettime and __vdso_getcpu.
71689         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
71690         time with __vdso_time.
71692 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71694         * manual/lang.texi (size_t): Note types to which size_t may be
71695         equivalent with the GNU C Library, but do not describe when
71696         differences between them are significant.
71698 2012-03-05  Andreas Jaeger  <aj@suse.de>
71700         * sysdeps/i386/fpu/libm-test-ulps: Update.
71702 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
71704         [BZ #3976]
71705         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
71706         (__ieee754_pow): Save and restore rounding mode and use
71707         round-to-nearest for main computations.
71708         * math/libm-test.inc (pow_test_tonearest): New function.
71709         (pow_test_towardzero): Likewise.
71710         (pow_test_downward): Likewise.
71711         (pow_test_upward): Likewise.
71712         (main): Call the new functions.
71713         * sysdeps/i386/fpu/libm-test-ulps: Update.
71714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71716         [BZ #3976]
71717         * math/libm-test.inc (cosh_test_tonearest): New function.
71718         (cosh_test_towardzero): Likewise.
71719         (cosh_test_downward): Likewise.
71720         (cosh_test_upward): Likewise.
71721         (sinh_test_tonearest): Likewise.
71722         (sinh_test_towardzero): Likewise.
71723         (sinh_test_downward): Likewise.
71724         (sinh_test_upward): Likewise.
71725         (main): Call the new functions.
71726         * sysdeps/i386/fpu/libm-test-ulps: Update.
71727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71729 2012-03-05  Tom de Vries  <tom@codesourcery.com>
71731         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
71732         default stack guard is set in last bytes.
71733         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
71735 2012-03-05  Kees Cook  <keescook@chromium.org>
71737         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
71739         [BZ #13656]
71740         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
71741         possibly allocate from heap instead of stack.
71742         * stdio-common/bug-vfprintf-nargs.c: New file.
71743         * stdio-common/Makefile (tests): Add nargs overflow test.
71745 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
71747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71749 2012-03-03  Marek Polacek  <polacek@redhat.com>
71751         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
71752         * math/math_private.h: Likewise.
71753         * stdlib/tst-strtod.c: Likewise.
71754         * sysdeps/i386/i486/bits/atomic.h: Likewise.
71755         * sysdeps/x86_64/bits/atomic.h: Likewise.
71757 2012-03-02  David S. Miller  <davem@davemloft.net>
71759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71763         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71764         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71765         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71766         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71768 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71770         [BZ #13792]
71771         * manual/examples/README: New file, says the example source files
71772         can be used under GPL>=2.
71773         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71774         line containing just "*/".
71775         * manual/examples/add.c: Add copyright header (GPL>=2).
71776         * manual/examples/argp-ex1.c: Likewise.
71777         * manual/examples/argp-ex2.c: Likewise.
71778         * manual/examples/argp-ex3.c: Likewise.
71779         * manual/examples/argp-ex4.c: Likewise.
71780         * manual/examples/atexit.c: Likewise.
71781         * manual/examples/db.c: Likewise.
71782         * manual/examples/dir.c: Likewise.
71783         * manual/examples/dir2.c: Likewise.
71784         * manual/examples/execinfo.c: Likewise.
71785         * manual/examples/filecli.c: Likewise.
71786         * manual/examples/filesrv.c: Likewise.
71787         * manual/examples/fmtmsgexpl.c: Likewise.
71788         * manual/examples/genpass.c: Likewise.
71789         * manual/examples/inetcli.c: Likewise.
71790         * manual/examples/inetsrv.c: Likewise.
71791         * manual/examples/isockad.c: Likewise.
71792         * manual/examples/longopt.c: Likewise.
71793         * manual/examples/memopen.c: Likewise.
71794         * manual/examples/memstrm.c: Likewise.
71795         * manual/examples/mkfsock.c: Likewise.
71796         * manual/examples/mkisock.c: Likewise.
71797         * manual/examples/mygetpass.c: Likewise.
71798         * manual/examples/pipe.c: Likewise.
71799         * manual/examples/popen.c: Likewise.
71800         * manual/examples/rprintf.c: Likewise.
71801         * manual/examples/search.c: Likewise.
71802         * manual/examples/select.c: Likewise.
71803         * manual/examples/setjmp.c: Likewise.
71804         * manual/examples/sigh1.c: Likewise.
71805         * manual/examples/sigusr.c: Likewise.
71806         * manual/examples/stpcpy.c: Likewise.
71807         * manual/examples/strdupa.c: Likewise.
71808         * manual/examples/strftim.c: Likewise.
71809         * manual/examples/strncat.c: Likewise.
71810         * manual/examples/subopt.c: Likewise.
71811         * manual/examples/swapcontext.c: Likewise.
71812         * manual/examples/termios.c: Likewise.
71813         * manual/examples/testopt.c: Likewise.
71814         * manual/examples/testpass.c: Likewise.
71815         * manual/examples/timeval_subtract.c: Likewise.
71817         [BZ #13792]
71818         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71819         function to ...
71820         * manual/timeval_subtract.c.texi: ... here, new file.
71822 2012-03-02  David S. Miller  <davem@davemloft.net>
71824         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71826 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71828         [BZ #3976]
71829         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71830         (__sin): Save and restore rounding mode and use round-to-nearest
71831         for all computations.
71832         (__cos): Save and restore rounding mode and use round-to-nearest
71833         for all computations.
71834         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71835         <fenv.h>.
71836         (tan): Save and restore rounding mode and use round-to-nearest for
71837         all computations.
71838         * math/libm-test.inc (cos_test_tonearest): New function.
71839         (cos_test_towardzero): Likewise.
71840         (cos_test_downward): Likewise.
71841         (cos_test_upward): Likewise.
71842         (sin_test_tonearest): Likewise.
71843         (sin_test_towardzero): Likewise.
71844         (sin_test_downward): Likewise.
71845         (sin_test_upward): Likewise.
71846         (tan_test_tonearest): Likewise.
71847         (tan_test_towardzero): Likewise.
71848         (tan_test_downward): Likewise.
71849         (tan_test_upward): Likewise.
71850         (main): Call the new functions.
71851         * sysdeps/i386/fpu/libm-test-ulps: Update.
71852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71854         [BZ #10135]
71855         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71856         small n, then large n, before computing and testing k+n.
71857         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71858         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71859         Likewise.
71860         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71861         Likewise.
71862         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71863         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71864         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71865         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71866         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71867         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71868         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71869         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71870         * math/libm-test.inc (scalbn_test): Add more tests.
71871         (scalbln_test): Likewise.
71873         * manual/filesys.texi (mode_t): Describe constraints on size and
71874         signedness, not exact equivalence to a particular type.
71875         (ino_t): Likewise.
71876         (ino64_t): Likewise.
71877         (dev_t): Likewise.
71878         (nlink_t): Likewise.
71879         (blkcnt_t): Likewise.
71880         (blkcnt64_t): Likewise.
71881         * manual/llio.texi (off_t): Likewise.
71883         [BZ #3976]
71884         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71885         (__ieee754_exp): Save and restore rounding mode and use
71886         round-to-nearest for all computations.
71887         * math/libm-test.inc (exp_test_tonearest): New function.
71888         (exp_test_towardzero): Likewise.
71889         (exp_test_downward): Likewise.
71890         (exp_test_upward): Likewise.
71891         (main): Call the new functions.
71892         * sysdeps/i386/fpu/libm-test-ulps: Update.
71893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71895 2012-03-01  Chris Demetriou  <cgd@google.com>
71897         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71898         have predictable order.
71900 2012-03-01  David S. Miller  <davem@davemloft.net>
71902         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71904         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71905         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71906         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71907         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71909         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71910         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71911         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71913         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71914         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71915         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71916         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71917         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71921         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71922         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71923         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71925         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71926         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71927         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71928         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71929         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71930         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71931         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71932         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71933         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71934         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71935         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71936         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71938         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71939         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71941         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71942         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71943         * sysdeps/sparc/elf/configure: Regenerated.
71945 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71947         * configure.in (AS, LD): Require binutils 2.20 or later.
71948         * configure: Regenerated.
71949         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71950         as required minimum version.
71951         * INSTALL: Regenerated.
71953         [BZ #2541]
71954         [BZ #4108]
71955         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71956         before squaring exponent.
71957         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71958         bottom long double and 27 bits of top long double before squaring
71959         exponent.
71960         * math/libm-test.inc (erfc_test): Add more tests.
71961         * sysdeps/i386/fpu/libm-test-ulps: Update.
71962         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71965 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71967         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71968         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71969         containing bit-fields.
71970         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71971         * soft-fp/single.h (_FP_UNION_S): Likewise.
71972         * soft-fp/double.h (_FP_UNION_D): Likewise.
71974 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71976         [BZ #13786]
71977         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71978         not include ../strcmp.S.
71979         [USE_AS_STRNCASECMP_L]: Likewise.
71980         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71981         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71982         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71983         (__strncasecmp_l_ia32): Define as alias to
71984         __strncasecmp_l_nonascii.
71986         [BZ #5794]
71987         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71988         * sysdeps/i386/fpu/libm-test-ulps: Update.
71989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71991         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71994 2012-02-29  Jeff Law  <law@redhat.com>
71996         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71997         out of bounds read.
71999 2012-02-29  Marek Polacek  <polacek@redhat.com>
72001         [BZ #13706]
72002         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72003         * elf/Makefile: Add rules to run tst-unused-dep.out.
72005 2012-02-28  David S. Miller  <davem@davemloft.net>
72007         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72008         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72009         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72010         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72011         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72012         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72014 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72016         * math/libm-test.inc (llround_test): Move one test from
72017         lround_test.  Use TEST_f_L in moved test.
72018         (lround_test): Move misplaced test to llround_test.  Add testcase
72019         from bug 2561.
72021 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72023         * sysdeps/x86_64/fpu/e_expf.S: New file.
72024         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72026 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72028         [BZ #13637]
72029         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72030         of remain_len that may cause incomplete multi-byte character and
72031         false match.
72032         * posix/bug-regex33.c: New file.
72033         * posix/Makefile (tests): Add bug-regex33.
72035 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72037         * manual/macros.texi: New file.
72038         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72039         * manual/libc.texinfo: Include macros.texi.
72040         * manual/creatute.texi: Likewise.
72041         * manual/install.texi: Likewise.
72042         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72043         @glibcadj{} in references to the GNU C Library.
72044         * manual/charset.texi: Likewise.
72045         * manual/conf.texi: Likewise.
72046         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72047         when not using those macros.
72048         * manual/creature.texi: Likewise.
72049         * manual/crypt.texi: Likewise.
72050         * manual/errno.texi: Likewise.
72051         * manual/filesys.texi: Likewise.
72052         * manual/header.texi: Likewise.
72053         * manual/install.texi: Likewise.
72054         * manual/intro.texi: Likewise.
72055         * manual/io.texi: Likewise.
72056         * manual/job.texi: Likewise.
72057         * manual/lang.texi: Likewise.
72058         * manual/libc.texiinfo: Likewise.
72059         * manual/llio.texi: Likewise.
72060         * manual/locale.texi: Likewise.
72061         * manual/maint.texi: Likewise.
72062         * manual/math.texi: Likewise.
72063         * manual/memory.texi: Likewise.
72064         * manual/message.texi: Likewise.
72065         * manual/nss.texi: Likewise.
72066         * manual/pattern.texi: Likewise.
72067         * manual/process.texi: Likewise.
72068         * manual/resource.texi: Likewise.
72069         * manual/search.texi: Likewise.
72070         * manual/setjmp.texi: Likewise.
72071         * manual/signal.texi: Likewise.
72072         * manual/socket.texi: Likewise.
72073         * manual/startup.texi: Likewise.
72074         * manual/stdio.texi: Likewise.
72075         * manual/string.texi: Likewise.
72076         * manual/sysinfo.texi: Likewise.
72077         * manual/syslog.texi: Likewise.
72078         * manual/terminal.texi: Likewise.
72079         * manual/time.texi: Likewise.
72080         * manual/users.texi: Likewise.
72081         * INSTALL: Regenerated.
72082         * NOTES: Regenerated.
72083         * sysdeps/gnu/errlist.c: Regenerated.
72085 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72087         * include/dirent.h: Include <dirstream.h> before
72088         <dirent/dirent.h>.
72090 2012-02-28  David S. Miller  <davem@davemloft.net>
72092         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72093         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72094         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72095         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72097 2012-02-27  David S. Miller  <davem@davemloft.net>
72099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72101         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72102         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72105         frame pointer instead of stack pointer relative arg slot.
72106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72107         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72108         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72110 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72112         [BZ #3992]
72113         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72115 2012-02-27  David S. Miller  <davem@davemloft.net>
72117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72121         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72122         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72123         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72124         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72126 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72128         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72129         later.  Allow versions 5-9.
72130         * configure: Regenerated.
72131         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72132         required minimum version and 4.6 as recommended version.  Do not
72133         mention bugs in GCC 2.7 and 2.8.
72134         * INSTALL: Regenerated.
72136 2012-02-27  David S. Miller  <davem@davemloft.net>
72138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72142         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72143         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72144         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72145         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72147         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72148         manipulate bits before adding and subtracting TWO112[sx].
72149         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72151 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72153         [BZ #13775]
72154         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72155         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72156         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72157         being in POSIX, because they are in 1003.1-2008.
72159         * rt/tst-aio.c: Include <fcntl.h>.
72160         * rt/tst-aio7.c: Likewise.
72161         * rt/tst-aio64.c: Likewise.
72163         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72165 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72167         * manual/install.texi (--with-headers): Describe headers as
72168         interface headers, not private headers.
72169         (Specific advice for GNU/Linux systems): Describe use of headers
72170         from "make headers_install", not private headers from older
72171         kernels.
72172         * INSTALL: Regenerated.
72173         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72174         Change to 2.6.19.
72175         * sysdeps/unix/sysv/linux/configure: Regenerated.
72177         * manual/llio.texi (fclean): Remove documentation.
72179         * manual/Makefile (libc-texi-generated): New variable.  Include
72180         version.texi.
72181         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72182         $(libc-texi-generated), not duplicated list of files.
72183         (version.texi, stamp-version): New rules.
72184         (realclean): Remove $(libc-texi-generated), not individual files
72185         from that list.  Do not remove dir-add.texinfo.
72186         * manual/libc.texinfo: Comment out uses of edition numbers and
72187         references to printed manual.  Remove last-updated dates.
72188         (EDITION): Comment out.
72189         (ISBN): Likewise.
72190         (VERSION, UPDATED): Remove.
72191         (version.texi): Include.
72193 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72195         * sysdeps/posix/spawni.c: Include <signal.h>.
72196         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72197         * sysdeps/pthread/aio_fsync.c: Likewise.
72199 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72201         * conform/Makefile (tests): Run only when not cross-compiling and
72202         when fast-check is not defined.
72204         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72205         * conform/data/limits.h-data: Fixes for POSIX2008.
72206         * conform/run-conformtest.sh: Run all tests.
72207         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72208         headers.
72209         * include/bits/dlfcn.h: Likewise.
72210         * include/langinfo.h: Likewise.
72211         * include/monetary.h: Likewise.
72212         * include/sys/poll.h: Likewise.
72214         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72215         for __USE_GNU.
72216         * posix/spawn.h: Define __need_sigset_t.
72217         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72218         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72219         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72220         to get sigevent_t only.
72221         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72222         only for __USE_GNU.
72223         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72224         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72225         process_vm_writev only for __USE_GNU.
72226         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72228         * conform/Makefile: For now ignore errors from run-conformtest.
72229         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72230         POSIX to avoid namespace pollution.  Don't prepend headers.
72231         * conform/data/aio.h-data: Fixes for POSIX testing.
72232         * conform/data/fcntl.h-data: Likewise.
72233         * conform/data/glob.h-data: Likewise.
72234         * conform/data/grp.h-data: Likewise.
72235         * conform/data/pthread.h-data: Likewise.
72236         * conform/data/pwd.h-data: Likewise.
72237         * conform/data/signal.h-data: Likewise.
72238         * conform/data/spawn.h-data: Likewise.
72239         * conform/data/stdio.h-data: Likewise.
72240         * conform/data/stdlib.h-data: Likewise.
72241         * conform/data/stropts.h-data: Likewise.
72242         * conform/data/sys/mman.h-data: Likewise.
72243         * conform/data/sys/stat.h-data: Likewise.
72244         * conform/data/sys/types.h-data: Likewise.
72245         * conform/data/sys/wait.h-data: Likewise.
72246         * conform/data/time.h-data: Likewise.
72247         * conform/data/unistd.h-data: Likewise.
72248         * conform/data/utime.h-data: Likewise.
72250         * io/sys/stat.h: fchmod was always in POSIX.
72251         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72252         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72253         * rt/aio.h: Define __need_timespec before including <time.h>.
72254         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72255         struct.  Add forward declaration of pthread_attr_t and use it in
72256         sigevent.
72257         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72258         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72259         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72260         always remove CLK_TCK definition.
72262 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72264         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72266 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72268         * conform/run-conformtest.sh: New file.
72269         * conform/Makefile: Run run-conformtest for tests.
72270         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72271         support.
72273         * conform/data/uchar.h-data: New file.
72274         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72275         * conform/data/arpa/inet.h-data: Likewise.
72276         * conform/data/assert.h-data: Likewise.
72277         * conform/data/complex.h-data: Likewise.
72278         * conform/data/cpio.h-data: Likewise.
72279         * conform/data/ctype.h-data: Likewise.
72280         * conform/data/dirent.h-data: Likewise.
72281         * conform/data/dlfcn.h-data: Likewise.
72282         * conform/data/errno.h-data: Likewise.
72283         * conform/data/fcntl.h-data: Likewise.
72284         * conform/data/float.h-data: Likewise.
72285         * conform/data/fmtmsg.h-data: Likewise.
72286         * conform/data/fnmatch.h-data: Likewise.
72287         * conform/data/ftw.h-data: Likewise.
72288         * conform/data/glob.h-data: Likewise.
72289         * conform/data/grp.h-data: Likewise.
72290         * conform/data/iconv.h-data: Likewise.
72291         * conform/data/inttypes.h-data: Likewise.
72292         * conform/data/langinfo.h-data: Likewise.
72293         * conform/data/libgen.h-data: Likewise.
72294         * conform/data/limits.h-data: Likewise.
72295         * conform/data/locale.h-data: Likewise.
72296         * conform/data/math.h-data: Likewise.
72297         * conform/data/monetary.h-data: Likewise.
72298         * conform/data/mqueue.h-data: Likewise.
72299         * conform/data/ndbm.h-data: Likewise.
72300         * conform/data/net/if.h-data: Likewise.
72301         * conform/data/netdb.h-data: Likewise.
72302         * conform/data/netinet/in.h-data: Likewise.
72303         * conform/data/nl_types.h-data: Likewise.
72304         * conform/data/poll.h-data: Likewise.
72305         * conform/data/pthread.h-data: Likewise.
72306         * conform/data/pwd.h-data: Likewise.
72307         * conform/data/regex.h-data: Likewise.
72308         * conform/data/sched.h-data: Likewise.
72309         * conform/data/search.h-data: Likewise.
72310         * conform/data/semaphore.h-data: Likewise.
72311         * conform/data/setjmp.h-data: Likewise.
72312         * conform/data/signal.h-data: Likewise.
72313         * conform/data/spawn.h-data: Likewise.
72314         * conform/data/stdarg.h-data: Likewise.
72315         * conform/data/stdio.h-data: Likewise.
72316         * conform/data/stdlib.h-data: Likewise.
72317         * conform/data/string.h-data: Likewise.
72318         * conform/data/strings.h-data: Likewise.
72319         * conform/data/stropts.h-data: Likewise.
72320         * conform/data/sys/ipc.h-data: Likewise.
72321         * conform/data/sys/mman.h-data: Likewise.
72322         * conform/data/sys/msg.h-data: Likewise.
72323         * conform/data/sys/resource.h-data: Likewise.
72324         * conform/data/sys/select.h-data: Likewise.
72325         * conform/data/sys/sem.h-data: Likewise.
72326         * conform/data/sys/shm.h-data: Likewise.
72327         * conform/data/sys/socket.h-data: Likewise.
72328         * conform/data/sys/stat.h-data: Likewise.
72329         * conform/data/sys/statvfs.h-data: Likewise.
72330         * conform/data/sys/time.h-data: Likewise.
72331         * conform/data/sys/timeb.h-data: Likewise.
72332         * conform/data/sys/times.h-data: Likewise.
72333         * conform/data/sys/types.h-data: Likewise.
72334         * conform/data/sys/uio.h-data: Likewise.
72335         * conform/data/sys/un.h-data: Likewise.
72336         * conform/data/sys/utsname.h-data: Likewise.
72337         * conform/data/sys/wait.h-data: Likewise.
72338         * conform/data/syslog.h-data: Likewise.
72339         * conform/data/tar.h-data: Likewise.
72340         * conform/data/termios.h-data: Likewise.
72341         * conform/data/utime.h-data: Likewise.
72342         * conform/data/utmpx.h-data: Likewise.
72343         * conform/data/varargs.h-data: Likewise.
72344         * conform/data/wchar.h-data: Likewise.
72345         * conform/data/wctype.h-data: Likewise.
72346         * conform/data/wordexp.h-data: Likewise.
72348         * include/stropts.h: New file.
72349         * include/uchar.h: New file.
72350         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72351         * include/assert.h: Likewise.
72352         * include/ctype.h: Likewise.
72353         * include/dirent.h: Likewise.
72354         * include/dlfcn.h: Likewise.
72355         * include/fcntl.h: Likewise.
72356         * include/fnmatch.h: Likewise.
72357         * include/glob.h: Likewise.
72358         * include/grp.h: Likewise.
72359         * include/libio.h: Likewise.
72360         * include/locale.h: Likewise.
72361         * include/math.h: Likewise.
72362         * include/net/if.h: Likewise.
72363         * include/netdb.h: Likewise.
72364         * include/netinet/in.h: Likewise.
72365         * include/pthread.h: Likewise.
72366         * include/pwd.h: Likewise.
72367         * include/regex.h: Likewise.
72368         * include/sched.h: Likewise.
72369         * include/search.h: Likewise.
72370         * include/setjmp.h: Likewise.
72371         * include/signal.h: Likewise.
72372         * include/stdio.h: Likewise.
72373         * include/stdlib.h: Likewise.
72374         * include/string.h: Likewise.
72375         * include/sys/cdefs.h: Likewise.
72376         * include/sys/mman.h: Likewise.
72377         * include/sys/msg.h: Likewise.
72378         * include/sys/resource.h: Likewise.
72379         * include/sys/select.h: Likewise.
72380         * include/sys/socket.h: Likewise.
72381         * include/sys/stat.h: Likewise.
72382         * include/sys/statvfs.h: Likewise.
72383         * include/sys/time.h: Likewise.
72384         * include/sys/times.h: Likewise.
72385         * include/sys/uio.h: Likewise.
72386         * include/sys/utsname.h: Likewise.
72387         * include/sys/wait.h: Likewise.
72388         * include/termios.h: Likewise.
72389         * include/time.h: Likewise.
72390         * include/ulimit.h: Likewise.
72391         * include/unistd.h: Likewise.
72392         * include/utime.h: Likewise.
72393         * include/wchar.h: Likewise.
72394         * include/wctype.h: Likewise.
72395         * include/wordexp.h: Likewise.
72397         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72399         * time/time.h: TIME_UTC must be a macro.
72400         Make timespec_get available for ISO C11 only as well.
72402 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72404         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72405         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72407 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72409         * configure.in: Use -o not -a in test for unsupported multi-arch.
72411 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72413         * manual/texinfo.tex: Update to version 2012-01-19.16.
72415 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72417         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72419 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72421         [BZ #13738]
72422         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72423         * manual/fdl-1.3.texi: New file.
72424         * manual/fdl-1.1.texi: File removed.
72426         [BZ #13738]
72427         * manual/libc.texinfo (FDL_VERSION): New @set.
72428         Use it for mention of FDL in cover text.
72429         (Documentation License): Use it in @include file name.
72431 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72432             Roland McGrath  <roland@hack.frob.com>
72434         [BZ #5461]
72435         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72436         (not LONG_LONG_MAX and LONG_LONG_MIN.
72437         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72438         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72439         name.
72440         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72442 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72444         [BZ #2547]
72445         [BZ #11365]
72446         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72447         manipulate bits before adding and subtracting TWO23[sx].
72448         * math/libm-test.inc (nearbyint_test): Add more tests.
72450 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72452         [BZ #2548]
72453         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72454         bits before adding and subtracting TWO23[sx].
72455         * math/libm-test.inc (rint_test): Add more tests.
72456         (rint_test_tonearest): Likewise.
72457         (rint_test_towardzero): Likewise.
72458         (rint_test_downward): Likewise.
72459         (rint_test_upward: Likewise.
72461 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72463         [BZ #10110]
72464         * include/stdc-predef.h: New file.  Extracted from features.h.
72465         * include/features.h: Include stdc-predef.h.
72466         * Makefile (headers): Add stdc-predef.h.
72467         * CONFORMANCE (Compiler limitations): Update.
72469 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72471         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72473 2012-02-21  David S. Miller  <davem@davemloft.net>
72475         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72476         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72478 2012-02-20  David S. Miller  <davem@davemloft.net>
72480         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72481         using a normal save/restore sequence, rather than allocating a
72482         dummy stack frame just to store a frame pointer and restore.
72483         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72485 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72487         * manual/install.texi: Fix stray word in line-wrapped comment.
72489 2012-02-20  David S. Miller  <davem@davemloft.net>
72491         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72492         both binutils and gcc support GOTDATA.
72494         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72495         "rd %pc" in the PIC register setup sequences.
72497         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72498         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72499         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72500         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72501         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72502         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72503         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72504         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72505         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72506         (SYSCALL_ERROR_HANDLER): Likewise.
72507         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72508         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72509         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72510         (SYSCALL_ERROR_HANDLER): Likewise.
72512         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72513         (HAVE_GCC_GOTDATA): New.
72514         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72515         relocation support in both binutils and gcc.
72516         * sysdeps/sparc/elf/configure: Regenerate.
72518         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72519         * sysdeps/sparc/sparc32/elf/configure: Delete.
72520         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72521         * sysdeps/sparc/sparc64/elf/configure: Delete.
72522         * sysdeps/sparc/elf/configure.in: New file.
72523         * sysdeps/sparc/elf/configure: Generate.
72525         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72526         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72527         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72528         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72529         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72531 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72533         * manual/install.texi: Do not mention specific glibc version
72534         numbers.
72535         * manual/libc.texinfo (VERSION, UPDATED): Update.
72536         (@copying): Use @copyright{} and range of years.
72538 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72540         [BZ #13695]
72541         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72542         [crti.S not in sysdirs] (generated): Do not append.
72543         [crti.S not in sysdirs] (omit-deps): Likewise.
72544         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72545         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72546         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72547         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72548         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72549         Likewise.
72550         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72551         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72552         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72553         * csu/defs.awk: Remove file.
72554         * sysdeps/generic/initfini.c: Likewise.
72555         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72556         variable.
72557         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72558         Likewise.
72560 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72562         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72563         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72564         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72565         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72566         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72567         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72568         <bits/epoll.h>.
72569         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72570         (__EPOLL_PACKED): Define to empty if not defined by
72571         <bits/epoll.h>.
72572         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
72573         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72574         bits/epoll.h.
72576 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72578         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
72579         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
72580         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
72581         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
72582         <bits/timerfd.h>.
72583         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
72584         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72585         bits/timerfd.h.
72587 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72589         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
72590         in C locale.
72591         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72592         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
72593         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
72594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72596 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
72598         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72599         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72601 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
72603         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
72604         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
72605         defined.
72606         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
72607         Likewise.
72608         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
72609         entry for 2.16.
72611 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
72613         * math/w_acos.c: Use non-signaling floating-point comparisons.
72614         * math/w_acosf.c: Likewise.
72615         * math/w_acosh.c: Likewise.
72616         * math/w_acoshf.c: Likewise.
72617         * math/w_acoshl.c: Likewise.
72618         * math/w_acosl.c: Likewise.
72619         * math/w_asin.c: Likewise.
72620         * math/w_asinf.c: Likewise.
72621         * math/w_asinl.c: Likewise.
72622         * math/w_atanh.c: Likewise.
72623         * math/w_atanhf.c: Likewise.
72624         * math/w_atanhl.c: Likewise.
72625         * math/w_exp2.c: Likewise.
72626         * math/w_exp2f.c: Likewise.
72627         * math/w_exp2l.c: Likewise.
72628         * math/w_j0.c: Likewise.
72629         * math/w_j0f.c: Likewise.
72630         * math/w_j0l.c: Likewise.
72631         * math/w_j1.c: Likewise.
72632         * math/w_j1f.c: Likewise.
72633         * math/w_j1l.c: Likewise.
72634         * math/w_jn.c: Likewise.
72635         * math/w_jnf.c: Likewise.
72636         * math/w_log.c: Likewise.
72637         * math/w_log10.c: Likewise.
72638         * math/w_log10f.c: Likewise.
72639         * math/w_log10l.c: Likewise.
72640         * math/w_log2.c: Likewise.
72641         * math/w_log2f.c: Likewise.
72642         * math/w_log2l.c: Likewise.
72643         * math/w_logf.c: Likewise.
72644         * math/w_logl.c: Likewise.
72645         * math/w_sqrt.c: Likewise.
72646         * math/w_sqrtf.c: Likewise.
72647         * math/w_sqrtl.c: Likewise.
72648         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72649         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
72650         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72651         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72652         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72654 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72656         [BZ #9739]
72657         * manual/string.texi (strnlen): Use correct parameter name in
72658         equivalent expression.
72660 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72662         [BZ #11174]
72663         * manual/users.texi (seteuid): Consistently use neweuid for
72664         argument name.
72666 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
72668         [BZ #13704]
72669         * manual/nss.texi (Services in the NSS configuration): Correct
72670         list of services in example configuration file.
72672 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
72674         [BZ #11322]
72675         * manual/arith.texi: Remove statements about negative zero
72676         behaving identically to zero.
72678 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72680         [BZ #5993]
72681         * manual/install.texi: Do not document upgrading from libc5.
72683 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
72685         [BZ #4596]
72686         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
72688 2012-02-18  David S. Miller  <davem@davemloft.net>
72690         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
72691         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
72692         %o7 across the call.
72693         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
72694         instead.
72695         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
72696         SETUP_PIC_REG_LEAF.
72697         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72698         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
72699         * sysdeps/sparc/crtn.S: Likewise.
72701 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
72703         * aout/Makefile: Remove.
72705 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
72707         [BZ #13058]
72708         * manual/examples/argp-ex1.c (main): Format definition in GNU
72709         style.
72710         * manual/examples/argp-ex2.c (main): Likewise.
72711         * manual/examples/argp-ex3.c (main): Likewise.
72712         * manual/examples/argp-ex4.c (main): Likewise.
72713         * manual/examples/longopt.c (main): Use new-style prototype
72714         definition.
72715         * manual/examples/strncat.c (main): Specify return type and use
72716         (void) for arguments.
72717         * manual/examples/subopt.c (main): Use char **argv argument.
72719 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72721         [BZ #5077]
72722         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
72723         rounding modes.
72725 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
72727         [BZ #6907]
72728         * manual/string.texi (strchr): Change when strchrnul is
72729         recommended.
72731 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
72733         [BZ #174]
72734         * manual/locale.texi (setlocale): Document LOCPATH.
72736 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72738         [BZ #10210]
72739         * manual/process.texi (execle): Move @dots{} before last argument.
72741 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
72743         [BZ #12047]
72744         * manual/charset.texi (Generic Charset Conversion): Fix typo
72745         (LC_TYPE -> LC_CTYPE).
72747 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
72749         [BZ #5805]
72750         * manual/arith.texi (scalbn): Use @var{} on parameter names.
72751         (scalbnf): Likewise.
72752         (scalbnl): Likewise.
72753         (scalbln): Likewise.
72754         (scalblnf): Likewise.
72755         (scalblnl): Likewise.
72756         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
72757         (vwarnx): Likewise.
72758         (verr): Likewise.
72759         (verrx): Likewise.
72760         * manual/filesys.texi (telldir): Use braces around return type.
72761         * manual/llio.texi (mmap): Add space after comma.
72762         (mmap64): Likewise.
72763         * manual/math.texi (jn): Use @var{} on parameter names.
72764         (jnf): Likewise.
72765         (jnl): Likewise.
72766         (yn): Likewise.
72767         (ynf): Likewise.
72768         (ynl): Likewise.
72769         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72770         line.
72771         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72772         "...".
72773         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72774         (sched_get_priority_max): Likewise.
72775         * manual/signal.texi (sigvec): Add space after comma.
72776         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72777         names.
72778         (if_indextoname): Likewise.
72779         (if_freenameindex): Likewise.
72780         (sendto): Use ',' instead of '.' in prototype.
72781         * manual/startup.texi (syscall): Use @dots{} instead of literal
72782         "...".
72783         * manual/stdio.texi (__fpending): Separate initial words of
72784         paragraph from @deftypefun line.
72785         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72786         "...".
72787         (vsyslog): Use @var{} on parameter names.
72788         * manual/terminal.texi (stty): Use @var{} on parameter names.
72789         * manual/users.texi (getutmp): Use @var{} on parameter names.
72790         (getutmpx): Likewise.
72792 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72794         [BZ #6884]
72795         * manual/stdio.texi (fopen): Fix typos in description of
72796         ",ccs=STRING".
72798 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72800         [BZ #4026]
72801         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72802         get clock_id definition.
72804 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72806         [BZ #4822]
72807         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72808         (madvise): Cast every argument to void on its own.
72810 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72812         [BZ #9902]
72813         * manual/startup.texi (Exit Status): Fix typo.
72815 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72817         [BZ #10140]
72818         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72819         * manual/examples/argp-ex2.c: Likewise.
72820         * manual/examples/argp-ex3.c: Likewise.
72822 2012-02-16  Richard Henderson  <rth@redhat.com>
72824         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72825         * sysdeps/s390/s390-32/initfini.c: Remove.
72826         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72827         * sysdeps/s390/s390-64/initfini.c: Remove.
72829 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72831         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72832         compiler output for sysdeps/generic/initfini.c.
72833         * sysdeps/sh/elf/initfini.c: Remove file.
72835 2012-02-16  David S. Miller  <davem@davemloft.net>
72837         [BZ #11494]
72838         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72840         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72841         * sysdeps/sparc/crti.S: New file.
72842         * sysdeps/sparc/crtn.S: New file.
72843         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72844         * sysdeps/sparc/sparc64/Makefile: Likewise.
72846 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72848         [BZ #3335]
72849         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72851 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72853         [BZ #4822]
72854         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72856         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72857         (write, read, close): Likewise.
72858         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72860 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72862         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72863         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72864         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72865         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72866         <bits/signalfd.h>.
72867         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72868         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72869         bits/signalfd.h.
72871 2012-02-14  Marek Polacek  <polacek@redhat.com>
72873         * sysdeps/x86_64/crti.S: New file.
72874         * sysdeps/x86_64/crtn.S: New file.
72875         * sysdeps/x86_64/elf/initfini.c: Remove file.
72877 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72879         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72880         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72881         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72882         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72883         <bits/inotify.h>.
72884         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72885         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72886         bits/inotify.h.
72888 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72890         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72891         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72892         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72893         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72894         <bits/eventfd.h>.
72895         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72896         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72897         bits/eventfd.h.
72899 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72901         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72902         __feraiseexcept instead of feraiseexcept.
72904         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72905         nanosleep invocations.
72906         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72907         strings, and add error checking for a nanosleep invocations.
72909 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72911         Replace FSF snail mail address with URLs, as per GNU coding standards.
72912         Most of the snail mail addresses were wrong anyway, and omitting
72913         them makes the source code easier to maintain.  Almost all of the
72914         changes are to license notices and to locale LC_IDENTIFICATION
72915         addresses, except for this one:
72916         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72917         not its snail mail address.
72919 2012-02-09  Richard Henderson  <rth@twiddle.net>
72921         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72922         of kernel-features.h.
72924         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72926 2012-02-08  Marek Polacek  <polacek@redhat.com>
72928         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72929         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72930         * sysdeps/gnu/_G_config.h: Likewise.
72931         * sysdeps/generic/_G_config.h: Likewise.
72933 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72935         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72936         tests.
72937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72939         * sysdeps/powerpc/powerpc32/crti.S: New file.
72940         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72941         * sysdeps/powerpc/powerpc64/crti.S: New file.
72942         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72944         * Makeconfig (have-initfini): Don't set.
72945         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72946         * configure.in (nopic_initfini): Don't substitute.
72947         * config.h.in (HAVE_INITFINI): Don't #undef.
72948         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72949         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72951 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72953         Support crti.S and crtn.S provided directly by architectures.
72954         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72955         [crti.S in sysdirs] (omit-deps): Likewise.
72956         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72957         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72958         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72959         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72960         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72961         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72962         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72963         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72964         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72965         compiler output for sysdeps/generic/initfini.c.
72966         * sysdeps/i386/elf/Makefile: Remove file.
72967         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72969 2012-02-07  Marek Polacek  <polacek@redhat.com>
72971         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72972         * sysdeps/gnu/_G_config.h: Likewise.
72973         * sysdeps/mach/hurd/_G_config.h: Likewise.
72975 2012-02-07  Marek Polacek  <polacek@redhat.com>
72977         * math/Makefile (tests): Add tst-CMPLX2.
72978         * math/tst-CMPLX2.c: New file.
72980 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72982         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72984         * math/libm-test.inc (jn_test): Add missing L suffix.
72986 2012-02-06  Marek Polacek  <polacek@redhat.com>
72988         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72989         * sysdeps/i386/fpu/e_powf.S: Likewise.
72990         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72991         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72992         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72993         * sysdeps/i386/fpu/e_pow.S: Likewise.
72994         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72995         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72996         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72997         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72998         * sysdeps/i386/fpu/e_log2.S: Likewise.
72999         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73000         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73001         * sysdeps/i386/fpu/e_powl.S: Likewise.
73002         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73003         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73004         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73005         * sysdeps/i386/fpu/e_logl.S: Likewise.
73006         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73007         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73008         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73009         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73010         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73011         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73012         * sysdeps/i386/fpu/e_log.S: Likewise.
73013         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73014         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73015         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73016         * sysdeps/i386/fpu/e_logf.S: Likewise.
73017         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73018         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73019         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73020         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73021         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73022         * sysdeps/i386/fpu/e_log10.S: Likewise.
73023         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73024         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73025         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73026         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73027         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73028         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73029         * sysdeps/i386/asm-syntax.h: Likewise.
73030         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73031         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73032         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73033         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73034         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73035         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73036         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73037         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73038         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73039         * sysdeps/powerpc/sysdep.h: Likewise.
73040         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73041         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73043 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73045         [BZ #411]
73046         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73048 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73050         * sysdeps/i386/sysdep.h: Include <features.h>.
73051         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73052         version.
73054 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73056         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73057         Define.
73058         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73059         LOAD_PIC_REG_STR.
73061 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73063         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73064         (SETUP_PIC_REG): Use GET_PC_THUNK.
73065         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73066         macro.
73068 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73070         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73071         for non-PIC compilation.
73072         (SETUP_PIC_REG): Add .p2align directive.
73073         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73074         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73075         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73076         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73077         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73078         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73079         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73080         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73081         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73082         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73083         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73084         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73085         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73086         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73087         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73088         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73089         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73090         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73091         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73092         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73093         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73094         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73095         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73096         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73097         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73098         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73099         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73100         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73101         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73102         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73103         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73104         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73105         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73106         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73107         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73108         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73109         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73110         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73111         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73112         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73113         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73115 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73117         * math/tst-CMPLX.c: Include <stdio.h>.
73119 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73121         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73122         float.
73123         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73124         * sysdeps/sparc/bits/mathdef.h: Likewise.
73126 2012-01-31  Marek Polacek  <polacek@redhat.com>
73128         * libio/libio.h: Don't define _PARAMS.
73129         * locale/programs/config.h: Don't define PARAMS.
73130         * stdlib/strtol_l.c: Likewise.
73131         (__strtol_l): Remove PARAMS from the prototype.
73133 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73135         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73136         names.  Just use the correct names.  Remove unnecessary wrapper
73137         functions.
73138         * malloc/arena.c: Likewise.
73139         * malloc/hooks.c: Likewise.
73141         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73142         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73143         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73145 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73147         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73148         into tail calls.
73149         (update_get_addr): New function.
73150         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73151         GET_ADDR_MODULE parameter.
73153 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73155         * crypt/cert.c: Remove __STDC__ conditionals.
73156         * crypt/crypt-entry.c: Likewise.
73157         * crypt/crypt_util.c: Likewise.
73158         * libio/filedoalloc.c: Likewise.
73159         * libio/fileops.c: Likewise.
73160         * libio/genops.c: Likewise.
73161         * libio/iofclose.c: Likewise.
73162         * libio/iofdopen.c: Likewise.
73163         * libio/iofopen.c: Likewise.
73164         * libio/iofopen64.c: Likewise.
73165         * libio/iogetdelim.c: Likewise.
73166         * libio/iopopen.c: Likewise.
73167         * libio/obprintf.c: Likewise.
73168         * libio/oldfileops.c: Likewise.
73169         * libio/oldiofclose.c: Likewise.
73170         * libio/oldiofdopen.c: Likewise.
73171         * libio/oldiofopen.c: Likewise.
73172         * libio/oldiopopen.c: Likewise.
73173         * libio/wfiledoalloc.c: Likewise.
73174         * libio/wgenops.c: Likewise.
73175         * locale/programs/xmalloc.c: Likewise.
73176         * misc/syslog.c: Likewise.
73177         * stdio-common/xbug.c: Likewise.
73178         * string/memchr.c: Likewise.
73179         * string/memcmp.c: Likewise.
73180         * string/memrchr.c: Likewise.
73181         * string/rawmemchr.c: Likewise.
73182         * sysdeps/posix/getcwd.c: Likewise.
73183         * time/strftime_l.c: Likewise.
73185 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73187         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73188         * config.make.in (config-cflags-sse2avx): Define.
73189         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73190         Fix typo.
73192 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73194         * scripts/config.guess: Update from upstream config git repository.
73195         * scripts/config.sub: Likewise.
73197 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73199         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73200         (EM_NUM): Update.
73201         (R_TILEPRO_*, R_TILEGX_*): New macros.
73203         * scripts/firstversions.awk: Fix bug in version range handling.
73205         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73207         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73209         * include/sys/epoll.h: New file.
73210         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73211         libc_hidden_def.
73213 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73215         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73216         Avoid unnecessary __WORDSIZE == 64 test.
73217         (fmaxf): Use VEX format if possible.
73218         (fmax): Likewise.
73219         (fminf): Likewise.
73220         (fmin): Likewise.
73222         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73223         * math/math_private.h: Remove libc_fegetround* and
73224         libc_fesetround*.
73225         * sysdeps/i386/configure.in: Check for -msse2avx.
73226         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73227         also if SSE2AVX is defined.
73228         Remove libc_fegetround* and libc_fesetround*.
73229         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73230         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73231         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73232         of HAS_YMM_USABLE.
73233         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73234         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73235         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73236         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73237         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73239         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73241 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73243         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73244         size is not set.
73245         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73247 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73249         [BZ #13618]
73250         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73251         relocation.
73252         * Makeconfig (libm): Define.
73253         * elf/Makefile: Add rules to build and run tst-relsort1.
73254         * elf/tst-relsort1.c: New file.
73255         * elf/tst-relsort1mod1.c: New file.
73256         * elf/tst-relsort1mod2.c: New file.
73258 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73260         * math/s_ldexp.c: Remove __STDC__ conditionals.
73261         * math/s_ldexpf.c: Likewise.
73262         * math/s_ldexpl.c: Likewise.
73263         * math/s_nextafter.c: Likewise.
73264         * math/s_nexttowardf.c: Likewise.
73265         * math/s_significand.c: Likewise.
73266         * math/s_significandf.c: Likewise.
73267         * math/s_significandl.c: Likewise.
73268         * math/w_jnl.c: Likewise.
73269         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73270         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73271         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73272         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73273         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73274         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73275         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73276         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73277         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73278         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73279         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73280         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73281         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73282         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73283         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73284         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73285         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73286         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73287         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73288         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73289         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73290         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73291         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73292         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73293         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73294         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73295         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73296         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73297         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73298         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73299         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73300         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73301         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73302         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73303         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73304         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73305         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73306         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73307         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73308         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73309         * sysdeps/ieee754/k_standard.c: Likewise.
73310         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73311         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73312         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73313         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73314         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73315         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73316         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73317         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73318         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73319         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73320         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73321         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73322         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73323         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73324         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73325         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73326         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73327         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73328         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73329         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73330         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73331         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73332         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73333         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73334         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73335         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73336         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73337         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73338         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73339         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73340         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73341         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73342         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73343         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73344         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73345         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73346         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73347         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73348         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73349         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73350         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73351         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73352         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73353         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73354         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73355         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73356         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73357         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73358         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73359         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73360         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73361         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73362         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73363         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73364         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73365         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73366         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73367         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73368         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73369         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73370         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73371         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73372         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73373         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73374         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73375         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73376         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73377         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73378         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73379         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73380         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73381         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73382         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73383         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73384         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73385         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73386         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73387         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73388         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73389         * sysdeps/ieee754/s_matherr.c: Likewise.
73390         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73391         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73392         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73393         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73395 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73397         * crypt/md5.h: Remove __STDC__ conditionals.
73398         * libio/libioP.h: Likewise.
73399         * locale/programs/config.h: Likewise.
73400         * sysdeps/generic/sysdep.h: Likewise.
73401         * sysdeps/i386/asm-syntax.h: Likewise.
73402         * sysdeps/s390/asm-syntax.h: Likewise.
73403         * sysdeps/unix/sysdep.h: Likewise.
73404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73407 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73409         * libio/libio.h: Remove __STDC__ conditionals.
73410         * malloc/obstack.h: Likewise.
73411         * math/complex.h: Likewise.
73412         * math/math.h: Likewise.
73413         * sysdeps/generic/_G_config.h: Likewise.
73414         * sysdeps/gnu/_G_config.h: Likewise.
73415         * sysdeps/mach/hurd/_G_config.h: Likewise.
73416         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73417         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73418         * sysdeps/sparc/bits/mathdef.h: Likewise.
73420 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73422         [BZ #13583]
73423         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73424         Clean up HAS_* macros.
73425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73426         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73427         possible.
73428         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73429         HAS_AVX.
73430         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73431         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73432         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73433         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73434         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73436 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73438         * elf/tst-unique3.cc (gets): Remove declaration.
73439         * elf/tst-unique3lib.cc (gets): Likewise.
73440         * elf/tst-unique3lib2.cc (gets): Likewise.
73441         * elf/tst-unique4.cc (gets): Likewise.
73443 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73445         * include/stdio.h: Add C++ protection.  Add gets declarations and
73446         definitions.
73447         * debug/tst-chk1.c: Don't declare gets here.
73448         * stdio-common/tst-gets.c: Likewise.
73450 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73452         * posix/glob: Remove directory.
73454 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73456         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73458 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73460         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73461         of the non-standard EPFNOSUPPORT.
73463 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73465         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73466         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73467         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73469 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73471         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73473 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73475         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73476         transient errors.
73477         * nscd/grpcache.c (cache_addgr): Likewise.
73478         * nscd/hstcache.c (cache_addhst): Likewise.
73479         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73480         * nscd/pwdcache.c (cache_addpw): Likewise.
73481         * nscd/servicescache.c (cache_addserv): Likewise.
73483 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73485         * malloc/malloc.c: Various cleanups.
73486         * malloc/hooks.c: Likewise.
73488         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73489         * stdlib/bug-fmtmsg1.c: New file.
73491         * stdlib/fmtmsg.c (init): Add missing unlock.
73492         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73494 2012-01-12  Marek Polacek  <polacek@redhat.com>
73496         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73497         and _GNU_SOURCE.
73499 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73501         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73502         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73503         macro to ensure uniqueness of label name.
73504         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73505         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73507 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73509         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73511         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73512         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73513         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73514         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73516 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73518         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73520         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73521         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73522         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73524         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73526         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73527         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73528         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73529         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73531         * math/bits/math-finite.h: Add ldexp support.
73533 2012-01-10  Marek Polacek  <polacek@redhat.com>
73535         * locale/programs/localedef.h (show_archive_content): Add noreturn
73536         attribute.
73538 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73540         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73542 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73544         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73546         * io/Makefile (headers): Add bits/poll2.h.
73548 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73551         typo #include statement.
73553 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73555         * include/sys/cdefs.h: Define __attribute_alloc_size.
73556         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73557         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73558         * elf/pldd.c: Likewise.
73559         * iconv/iconv_charmap.c: Likewise.
73560         * iconv/iconvconfig.c: Likewise.
73561         * iconv/strtab.c: Likewise.
73562         * locale/programs/locale.c: Likewise.
73563         * locale/programs/localedef.h: Likewise.
73564         * locale/programs/simple-hash.c: Likewise.
73565         * nscd/nscd.h: Likewise.
73566         * nss/makedb.c: Likewise.
73567         * sysdeps/generic/ldconfig.h: Likewise.
73568         * locale/programs/localedef.c: Remove xmalloc prototype.
73569         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73571 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73573         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
73574         appropriate.
73576 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73578         * math/Makefile (tests): Add tst-CMPLX.
73579         * math/tst-CMPLX.c: New file.
73581         * math/complex.h (CMPLXL): Fix typo.
73583         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
73584         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
73585         GLIBC_2.16.
73586         * debug/tst-chk1.c: Add poll and ppoll tests.
73587         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
73588         * include/sys/poll.h: Add hidden proto for ppoll.
73589         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
73590         * sysdeps/mach/hurd/ppoll.c: Likewise.
73591         * io/ppoll.c: Likewise.
73592         * debug/poll_chk.c: New file.
73593         * debug/ppoll_chk.c: New file.
73594         * include/bits/poll2.h: New file.
73595         * io/bits/poll2.h: New file.
73597         [BZ #1350]
73598         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
73600         * configure.in: static is always set to yes.  Remove.
73601         * config.make.in: Don't set build-static.
73602         * Makeconfig: Remove use of build-static.
73603         * dlfcn/Makefile: Likewise.
73604         * elf/Makefile: Likewise.
73605         * math/Makefile: Likewise.
73606         * misc/Makefile: Likewise.
73607         * nptl/Makefile: Likewise.
73608         * sysdeps/mach/hurd/Makefile: Likewise.
73610         * configure.in: PWD_P is not used anymore.
73611         * config.make.in: Remove PWD_P entry.
73613         * configure.in: Remove last remnants of RANLIB.
73614         No need to check for signed size_t anymore.
73615         Don't set libc_commonpagesize and libc_relro_required here for Alpha
73616         and IA-64.
73617         Remove __builtin_expect test because we require at least gcc 3.4.
73618         * aclocal.m4: Likewise.
73620         * wcsmbs/mbrtoc16.c: Implement using towc function.
73621         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
73622         * wcsmbs/wcsmbsload.c: Likewise.
73623         * iconv/gconv_simple.c: Likewise.
73624         * iconv/gconv_int.h: Likewise.
73625         * iconv/gconv_builtin.h: Likewise.
73626         * iconv/iconv_prog.c: Remove CHAR16 handling.
73628         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
73630         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
73632         * configure.in: Remove --with-elf and --enable-bounded options.
73633         Dont set base_machine for ia64.  More non-ELF conditions removed.
73634         Remove testing and setting of leading underscore information.
73635         * config.make.in (build-bounded): Set to no.
73636         * config.h.in: Remove NO_UNDERSCORES entry.
73637         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
73638         them.
73639         * csu/start.c: Remove !NO_UNDERSCORE code.
73640         * locale/localeinfo.h: Likewise.
73641         * sysdeps/generic/machine-gmon.h: Likewise.
73642         * sysdeps/generic/sysdep.h: Likewise.
73643         * sysdeps/i386/sysdep.h: Likewise.
73644         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73645         * sysdeps/mach/sysdep.h: Likewise.
73646         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73647         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73648         * sysdeps/sh/sysdep.h: Likewise.
73649         * sysdeps/sparc/sparc32/alloca.S: Likewise.
73650         * sysdeps/unix/i386/sysdep.S: Likewise.
73651         * sysdeps/unix/sparc/start.c: Likewise.
73652         * sysdeps/unix/sparc/sysdep.S: Likewise.
73653         * sysdeps/unix/sparc/sysdep.h: Likewise.
73654         * sysdeps/unix/start.c: Likewise.
73655         * sysdeps/unix/x86_64/sysdep.S: Likewise.
73656         * sysdeps/x86_64/sysdep.h: Likewise.
73658 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
73660         [BZ #13553]
73661         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
73662         for non-gcc.
73663         * argp/argp-fmtstream.h: Use const instead __const.
73664         * argp/argp.h: Likewise.
73665         * assert/assert.h: Likewise.
73666         * bits/fenv.h: Likewise.
73667         * bits/sched.h: Likewise.
73668         * bits/sigset.h: Likewise.
73669         * bits/sigthread.h: Likewise.
73670         * catgets/nl_types.h: Likewise.
73671         * conform/data/pthread.h-data: Likewise.
73672         * crypt/crypt-private.h: Likewise.
73673         * crypt/crypt.h: Likewise.
73674         * crypt/crypt_util.c: Likewise.
73675         * ctype/ctype.h: Likewise.
73676         * debug/execinfo.h: Likewise.
73677         * debug/mbsnrtowcs_chk.c: Likewise.
73678         * debug/mbsrtowcs_chk.c: Likewise.
73679         * debug/wcsnrtombs_chk.c: Likewise.
73680         * debug/wcsrtombs_chk.c: Likewise.
73681         * debug/wcstombs_chk.c: Likewise.
73682         * dirent/dirent.h: Likewise.
73683         * dlfcn/dlfcn.h: Likewise.
73684         * elf/neededtest4.c: Likewise.
73685         * grp/grp.h: Likewise.
73686         * gshadow/gshadow.h: Likewise.
73687         * iconv/gconv.h: Likewise.
73688         * iconv/gconv_int.h: Likewise.
73689         * iconv/gconv_simple.c: Likewise.
73690         * iconv/iconv.h: Likewise.
73691         * iconv/loop.c: Likewise.
73692         * iconv/skeleton.c: Likewise.
73693         * include/aio.h: Likewise.
73694         * include/aliases.h: Likewise.
73695         * include/argz.h: Likewise.
73696         * include/arpa/inet.h: Likewise.
73697         * include/assert.h: Likewise.
73698         * include/dirent.h: Likewise.
73699         * include/dlfcn.h: Likewise.
73700         * include/execinfo.h: Likewise.
73701         * include/fcntl.h: Likewise.
73702         * include/fenv.h: Likewise.
73703         * include/glob.h: Likewise.
73704         * include/grp.h: Likewise.
73705         * include/libintl.h: Likewise.
73706         * include/mntent.h: Likewise.
73707         * include/netdb.h: Likewise.
73708         * include/pwd.h: Likewise.
73709         * include/rpc/netdb.h: Likewise.
73710         * include/sched.h: Likewise.
73711         * include/search.h: Likewise.
73712         * include/shadow.h: Likewise.
73713         * include/signal.h: Likewise.
73714         * include/stdio.h: Likewise.
73715         * include/stdlib.h: Likewise.
73716         * include/string.h: Likewise.
73717         * include/sys/socket.h: Likewise.
73718         * include/sys/stat.h: Likewise.
73719         * include/sys/statfs.h: Likewise.
73720         * include/sys/statvfs.h: Likewise.
73721         * include/sys/syslog.h: Likewise.
73722         * include/sys/time.h: Likewise.
73723         * include/sys/uio.h: Likewise.
73724         * include/time.h: Likewise.
73725         * include/unistd.h: Likewise.
73726         * include/utmp.h: Likewise.
73727         * include/wchar.h: Likewise.
73728         * include/wctype.h: Likewise.
73729         * inet/aliases.h: Likewise.
73730         * inet/arpa/inet.h: Likewise.
73731         * inet/netinet/ether.h: Likewise.
73732         * inet/netinet/in.h: Likewise.
73733         * intl/libintl.h: Likewise.
73734         * io/bits/fcntl2.h: Likewise.
73735         * io/fcntl.h: Likewise.
73736         * io/ftw.h: Likewise.
73737         * io/sys/poll.h: Likewise.
73738         * io/sys/stat.h: Likewise.
73739         * io/sys/statfs.h: Likewise.
73740         * io/sys/statvfs.h: Likewise.
73741         * io/utime.h: Likewise.
73742         * libio/bits/stdio.h: Likewise.
73743         * libio/bits/stdio2.h: Likewise.
73744         * libio/libio.h: Likewise.
73745         * libio/libioP.h: Likewise.
73746         * libio/stdio.h: Likewise.
73747         * locale/lc-ctype.c: Likewise.
73748         * locale/locale.h: Likewise.
73749         * login/utmp.h: Likewise.
73750         * malloc/arena.c: Likewise.
73751         * malloc/malloc.c: Likewise.
73752         * malloc/malloc.h: Likewise.
73753         * malloc/mcheck.c: Likewise.
73754         * malloc/mtrace.c: Likewise.
73755         * math/bits/mathcalls.h: Likewise.
73756         * math/fenv.h: Likewise.
73757         * math/math_private.h: Likewise.
73758         * misc/bits/error.h: Likewise.
73759         * misc/bits/syslog.h: Likewise.
73760         * misc/err.h: Likewise.
73761         * misc/error.h: Likewise.
73762         * misc/fstab.h: Likewise.
73763         * misc/mntent.h: Likewise.
73764         * misc/regexp.h: Likewise.
73765         * misc/search.h: Likewise.
73766         * misc/sgtty.h: Likewise.
73767         * misc/sys/mman.h: Likewise.
73768         * misc/sys/syslog.h: Likewise.
73769         * misc/sys/uio.h: Likewise.
73770         * misc/sys/xattr.h: Likewise.
73771         * misc/ttyent.h: Likewise.
73772         * nis/rpcsvc/ypclnt.h: Likewise.
73773         * nss/nss.h: Likewise.
73774         * posix/bits/unistd.h: Likewise.
73775         * posix/fnmatch.h: Likewise.
73776         * posix/glob.h: Likewise.
73777         * posix/sched.h: Likewise.
73778         * posix/spawn.h: Likewise.
73779         * posix/sys/wait.h: Likewise.
73780         * posix/unistd.h: Likewise.
73781         * posix/wordexp.h: Likewise.
73782         * pwd/pwd.h: Likewise.
73783         * resolv/netdb.h: Likewise.
73784         * resource/sys/resource.h: Likewise.
73785         * rt/aio.h: Likewise.
73786         * rt/bits/mqueue2.h: Likewise.
73787         * rt/mqueue.h: Likewise.
73788         * shadow/shadow.h: Likewise.
73789         * signal/signal.h: Likewise.
73790         * socket/send.c: Likewise.
73791         * socket/sendto.c: Likewise.
73792         * socket/sys/socket.h: Likewise.
73793         * stdio-common/printf.h: Likewise.
73794         * stdlib/bits/stdlib.h: Likewise.
73795         * stdlib/fmtmsg.h: Likewise.
73796         * stdlib/monetary.h: Likewise.
73797         * stdlib/stdlib.h: Likewise.
73798         * stdlib/ucontext.h: Likewise.
73799         * streams/stropts.h: Likewise.
73800         * string/argz.h: Likewise.
73801         * string/bits/string2.h: Likewise.
73802         * string/string.h: Likewise.
73803         * string/strings.h: Likewise.
73804         * sunrpc/rpc/auth.h: Likewise.
73805         * sunrpc/rpc/auth_des.h: Likewise.
73806         * sunrpc/rpc/clnt.h: Likewise.
73807         * sunrpc/rpc/netdb.h: Likewise.
73808         * sunrpc/rpc/pmap_clnt.h: Likewise.
73809         * sunrpc/rpc/xdr.h: Likewise.
73810         * sysdeps/generic/inttypes.h: Likewise.
73811         * sysdeps/generic/net/if.h: Likewise.
73812         * sysdeps/generic/sys/swap.h: Likewise.
73813         * sysdeps/gnu/net/if.h: Likewise.
73814         * sysdeps/gnu/utmpx.h: Likewise.
73815         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73816         * sysdeps/i386/i486/bits/string.h: Likewise.
73817         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73818         * sysdeps/s390/bits/string.h: Likewise.
73819         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73820         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73821         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73822         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73823         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73824         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73825         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73826         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73827         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73828         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73829         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73830         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73831         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73832         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73833         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73834         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73835         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73836         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73837         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73838         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73839         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73840         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73841         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73842         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73843         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73844         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73845         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73846         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73847         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73848         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73849         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73850         * sysvipc/sys/ipc.h: Likewise.
73851         * sysvipc/sys/msg.h: Likewise.
73852         * sysvipc/sys/sem.h: Likewise.
73853         * sysvipc/sys/shm.h: Likewise.
73854         * termios/termios.h: Likewise.
73855         * time/sys/time.h: Likewise.
73856         * time/time.h: Likewise.
73857         * wcsmbs/bits/wchar2.h: Likewise.
73858         * wcsmbs/uchar.h: Likewise.
73859         * wcsmbs/wchar.h: Likewise.
73860         * wctype/wctype.h: Likewise.
73862         [BZ #13551]
73863         * Makeconfig: Remove all but ELF support including AIX support.
73864         * Makerules: Likewise.
73865         * config.h.in: Likewise.
73866         * config.make.in: Likewise.
73867         * configure: Likewise.
73868         * configure.in: Likewise.
73869         * csu/Makefile: Likewise.
73870         * csu/version.c: Likewise.
73871         * debug/Makefile: Likewise.
73872         * dlfcn/Makefile: Likewise.
73873         * elf/Makefile: Likewise.
73874         * extra-lib.mk: Likewise.
73875         * iconv/Makefile: Likewise.
73876         * include/libc-symbols.h: Likewise.
73877         * include/shlib-compat.h: Likewise.
73878         * resolv/Makefile: Likewise.
73879         * resolv/res_libc.c: Likewise.
73880         * rt/Makefile: Likewise.
73881         * sysdeps/i386/asm-syntax.h: Likewise.
73882         * sysdeps/i386/sysdep.h: Likewise.
73883         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73884         * sysdeps/mach/sysdep.h: Likewise.
73885         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73886         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73887         * sysdeps/s390/asm-syntax.h: Likewise.
73888         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73889         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73890         * sysdeps/sh/sysdep.h: Likewise.
73891         * sysdeps/unix/sparc/sysdep.h: Likewise.
73892         * sysdeps/wordsize-32/divdi3.c: Likewise.
73893         * sysdeps/x86_64/sysdep.h: Likewise.
73895         * argp/Versions: Remove _argp_unlock_xxx.
73897         [BZ #13559]
73898         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73899         * abilist/libBrokenLocale.abilist: Likewise.
73900         * abilist/libanl.abilist: Likewise.
73901         * abilist/libc.abilist: Likewise.
73902         * abilist/libcrypt.abilist: Likewise.
73903         * abilist/libdl.abilist: Likewise.
73904         * abilist/libm.abilist: Likewise.
73905         * abilist/libnsl.abilist: Likewise.
73906         * abilist/libpthread.abilist: Likewise.
73907         * abilist/libresolv.abilist: Likewise.
73908         * abilist/librt.abilist: Likewise.
73909         * abilist/libthread_db.abilist: Likewise.
73910         * abilist/libutil.abilist: Likewise.
73911         * abilist/libnss_db.abilist: New file.
73913         * scripts/abilist.awk: Add support for indirect functions.
73915         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73917         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73919         * shlib-versions: Remove entries for ports architectures.
73921         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73922         files in ports.
73923         * elf/stackguard-macros.h: Remove support for IA-64.
73924         * elf/tst-auditmod1.c: Likewise.
73925         * sysdeps/generic/ldsodefs.h: Likewise.
73927         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73928         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73929         configure files.
73931         [BZ #13552]
73932         * configure.in: Remove --enable-omitfp support.
73933         * FAQ.in: Adjust.
73934         * config.make.in: Likewise.
73935         * Makeconfig: Likewise.
73936         * manual/install.texi: Likewise.
73938         In case anyone cares, the IA-64 architecture could move to ports.
73939         * sysdeps/ia64/*: Removed.
73940         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73941         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73943         [BZ #13555]
73944         * configure.in: Remove entries for unsupported architectures.
73946         [BZ #13533]
73947         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73948         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73949         routines.
73950         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73951         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73952         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73953         fall back to using wcrtomb.
73954         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73955         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73956         renaming.
73957         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73958         * wcsmbs/tst-c16c32-1.c: New file.
73960         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73961         local variable.
73963         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73965         * elf/tst-unique3.cc: Add explicit declaration of gets.
73966         * elf/tst-unique3lib.cc: Likewise.
73967         * elf/tst-unique3lib2.cc: Likewise.
73968         * elf/tst-unique4.cc: Likewise.
73970         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73972 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73974         [BZ #13566]
73975         * assert/assert.h (static_assert): Don't define for C++.
73976         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73977         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73979 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73981         * iconv/loop.c (single loop): Fix assertion in storing of
73982         remaining bytes.
73984         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73986 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73988         * posix/getconf.c: Update copyright year.
73989         * nss/getent.c: Likewise.
73990         * nss/makedb.c: Likewise.
73991         * iconv/iconvconfig.c: Likewise.
73992         * iconv/iconv_prog.c: Likewise.
73993         * elf/ldconfig.c: Likewise.
73994         * elf/pldd.c: Likewise.
73995         * elf/sotruss.ksh: Likewise.
73996         * catgets/gencat.c: Likewise.
73997         * csu/version.c: Likewise.
73998         * elf/ldd.bash.in: Likewise.
73999         * elf/sprof.c (print_version): Likewise.
74000         * locale/programs/locale.c: Likewise.
74001         * locale/programs/localedef.c: Likewise.
74002         * login/programs/pt_chown.c: Likewise.
74003         * nscd/nscd.c (print_version): Likewise.
74004         * debug/xtrace.sh: Likewise.
74005         * malloc/memusage.sh: Likewise.
74006         * malloc/mtrace.pl: Likewise.
74007         * debug/catchsegv.sh: Likewise.
74009 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74011         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74012         pure attribute.
74014 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74016         [BZ #13533]
74017         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74018         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74019         transformations.
74020         * iconv/gconv_int.h: Likewise.
74021         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74022         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74023         from libc for GLIBC_2.16.
74024         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74025         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74026         * wcsmbs/uchar.h: Really define mbstate_t.
74027         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74028         * wcsmbs/c16rtomb.c: New file.
74029         * wcsmbs/mbrtoc16.c: New file.
74030         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74031         for C/POSIX locale.
74032         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74033         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74035         * wcsmbs/wchar.h: Add missing __restrict.
74037 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74039         [BZ #13532]
74040         * time/Makefile (routines): Add timespec_get.
74041         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74042         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74043         timespec for ISO C11.
74044         * time/timespec_get.c: New file.
74045         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74046         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74048         [BZ #13531]
74049         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74050         * stdlib/stdlib.h: Declare aligned_alloc.
74051         * Versions.def: Add GLIBC_2.16 for libc.
74052         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74054         [BZ 13527]
74055         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74056         ISO C11.
74058         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74059         code.
74061         [BZ #13528]
74062         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74064         [BZ #13529]
74065         * assert/assert.h (static_assert): Define.
74067         * version.h: Update for 2.16 development version.
74069         [BZ #13526]
74070         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74071         _ISOC11_SOURCE.
74073         * version.h (RELEASE): Bump for 2.15 release.
74074         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74076         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74077         Patch by Marek Polacek <mpolacek@redhat.com>.
74079         * bits/byteswap.h: Protect long long constants with __extension__.
74080         * sysdeps/i386/bits/byteswap.h: Likewise.
74081         * sysdeps/ia64/bits/byteswap.h: Likewise.
74082         * sysdeps/s390/bits/byteswap.h: Likewise.
74083         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74085 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74087         [BZ #13540]
74088         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74089         destination buffer.
74090         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74092 2011-12-23  Marek Polacek  <polacek@redhat.com>
74094         * elf/dl-addr.c (determine_info): Add inline keyword.
74095         * elf/tst-auditmod4b.c (check_avx): Likewise.
74096         * elf/tst-auditmod6b.c (check_avx): Likewise.
74097         * elf/tst-auditmod6c.c (check_avx): Likewise.
74098         * elf/tst-auditmod7b.c (check_avx): Likewise.
74100 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74102         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74103         !__SSE_MATH__.
74105 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74107         [BZ #13540]
74108         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74109         processing for last bytes.
74111 2011-08-06  Bruno Haible  <bruno@clisp.org>
74113         [BZ #13061]
74114         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74115         U+0385, not to U+1FEE.
74117         [BZ #13062]
74118         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74119         entry for U+00A5 U+0301.
74121 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74123         [BZ #13166]
74124         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74125         buffer for the output is too small.
74127         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74128         optimization.
74130         [BZ #13185]
74131         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74132         SSE flags if possible.
74134 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74136         [BZ #13540]
74137         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74138         processing for last bytes.
74140 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74142         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74143         (syscall-list-default-options, syscall-list-default-condition)
74144         (syscall-list-includes): Define.
74145         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74146         list of ABIs and options and #if conditions for each ABI.  Do not
74147         handle common syscalls between ABIs specially.
74148         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74149         Remove.
74150         (syscall-list-variants, syscall-list-32bit-options)
74151         (syscall-list-32bit-condition, syscall-list-64bit-options)
74152         (syscall-list-64bit-condition): Define.
74153         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74154         (syscall-list-variants, syscall-list-32bit-options)
74155         (syscall-list-32bit-condition, syscall-list-64bit-options)
74156         (syscall-list-64bit-condition): Define.
74157         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74158         Remove.
74159         (syscall-list-variants, syscall-list-32bit-options)
74160         (syscall-list-32bit-condition, syscall-list-64bit-options)
74161         (syscall-list-64bit-condition): Define.
74162         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74163         Remove.
74164         (syscall-list-variants, syscall-list-32bit-options)
74165         (syscall-list-32bit-condition, syscall-list-64bit-options)
74166         (syscall-list-64bit-condition): Define.
74168 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74170         * locale/iso-639.def: Add brx entry.
74172         [BZ #13328]
74173         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74174         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74176         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74177         __feraiseexcept_renamed.
74179 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74181         [BZ #13538]
74182         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74183         EPOLLET with unsigned values.
74184         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74185         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74187         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74188         to large cancellation.
74189         * math/s_cacoshf.c: Likewise.
74190         * math/s_cacoshl.c: Likewise.
74192 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74194         [BZ #13305]
74195         [BZ #12786]
74196         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74197         * math/s_cacoshf.c: Likewise.
74198         * math/s_cacoshl.c: Likewise.
74200 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74202         [BZ #13439]
74203         * iconv/gconv.h: Define __GCONV_SWAP.
74204         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74205         * iconvdata/utf-16.c: Likewise.
74206         * iconvdata/utf-32.c: Likewise.
74208 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74210         [BZ #13524]
74211         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74212         numerator after shifting it by one limb.
74214 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74216         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74217         under [__USE_EXTERN_INLINES].
74219 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74221         [BZ #13446]
74222         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74224 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74226         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74227         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74228         optimized code.
74229         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74230         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74231         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74232         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74233         for strncasecmp/strncasecmp_l compilation.
74234         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74235         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74237 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74239         [BZ #13484]
74240         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74241         of __asm__.
74243 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74245         [BZ #13506]
74246         * time/tzfile.c (__tzfile_read): Check values from file header.
74248 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74250         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74251         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74252         * powerpc/powerpc32/dl-start.S: Likewise.
74253         * powerpc/powerpc32/elf/start.S: Likewise.
74254         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74255         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74256         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74257         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74258         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74259         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74260         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74261         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74262         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74263         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74264         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74265         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74266         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74267         * powerpc/powerpc32/memset.S: Likewise.
74268         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74269         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74270         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74271         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74272         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74273         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74274         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74275         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74276         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74277         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74278         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74279         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74280         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74282 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74284         * math/libm-test.inc: Added more nearbyint tests.
74285         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74286         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74287         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74288         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74290 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74292         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74293         FD_CLOEXEC.
74295 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74297         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74298         Add wcscpy-ssse3 wcscpy-c.
74299         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74300         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74301         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74302         * sysdeps/x86_64/wcschr.S: New file.
74303         * sysdeps/x86_64/wcsrchr.S: New file.
74304         * string/test-strcmp.c: Remove checking of wcscmp function for
74305         wrong alignments.
74306         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74307         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74308         wcsrchr-sse2 wcsrchr-c.
74309         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74310         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74311         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74312         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74313         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74314         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74315         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74316         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74317         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74318         * wcsmbc/wcschr.c (WCSCHR): New macro.
74320 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74322         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74323         * wcsmbs/test-wcsrchr.c: New file.
74324         * string/test-strrchr.c: Add wcsrchr support.
74325         (WIDE): New macro.
74326         * wcsmbs/test-wcscpy.c: New file.
74327         * string/test-strcpy.c: Add wcscpy support.
74328         (WIDE): New macro.
74330 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74332         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74333         the inner loop.
74335 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74337         [BZ #13472]
74338         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74340 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74342         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74343         Minor optimizations.
74345         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74346         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74347         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74349 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74351         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74352         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74353         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74354         for gcc to avoid warnings.
74355         * inet/Makefile (tests): Add tst-checks.
74356         * inet/tst-checks.c: New file.
74358         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74359         warning.
74361         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74362         __wmemcmp_sse2.
74364         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74365         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74367         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74369 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74371         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74372         problem.
74374         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74376 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74378         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74379         conditional on GCC version.
74380         (__arch_compare_and_exchange_val_8_acq)
74381         (__arch_compare_and_exchange_val_16_acq)
74382         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74383         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74384         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74386 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74388         * sysdeps/sh/backtrace.c: New file.
74390 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74392         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74393         parenthesis.
74395 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74397         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74398         falling back to utime.
74400 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74402         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74403         expectations for float.
74405 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74407         * locale/weight.h (findidx): Add parameter len.
74408         * locale/weightwc.h (findidx): Likewise.
74409         * posix/fnmatch_loop.c (FCT): Adjust caller.
74410         * posix/regcomp.c (build_equiv_class): Likewise.
74411         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74412         * posix/regexec.c (check_node_accept_bytes): Likewise.
74413         * string/strcoll_l.c (STRCOLL): Likewise.
74414         * string/strxfrm_l.c (STRXFRM): Likewise.
74416 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74418         * Makefile.in: Remove CVSOPT handling.
74419         * configure.in: Remove use of AC_REVISION.
74420         * iconvdata/Makefile (distribute): No need to filter out CVS.
74421         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74422         handling.
74424 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74427         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74428         [USE_AS_STRNCASECMP_L]: Likewise.
74429         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74430         NO_TLS_DIRECT_SEG_REFS.
74431         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74432         Fix argument offsets for non-PIC.
74433         [USE_AS_STRNCASECMP_L]: Likewise.
74434         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74435         NO_TLS_DIRECT_SEG_REFS.
74437 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74439         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74440         O_CLOEXEC.
74441         * locale/loadlocale.c (_nl_load_locale): Likewise.
74443 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74445         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74446         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74447         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74448         (SYSCALL_GETTIME): Set errno on error.
74450         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74451         count references to noai6ai_cached.
74453 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74455         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74457         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74458         FD_CLOEXEC for /proc/self/maps.
74460         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74461         FD_CLOEXEC for /proc/meminfo.
74463         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74464         gai.conf.
74466         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74467         FD_CLOEXEC for given file.
74469         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74471         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74472         FD_CLOEXEC for /etc/hosts.
74473         (_gethtent): Likewise.
74475         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74477         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74478         cancellation and set FD_CLOEXEC for /etc/netgroup.
74480         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74481         reading /etc/publickey.
74483         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74484         allow cancellation when reading /etc/group.
74486         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74487         cancellation.
74488         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74490         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74491         when using data file.
74493         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74495         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74496         (write_nis_obj): Use "c" and "e" in fopen.
74498         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74500         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74502         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74504         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74506         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74507         locale.alias.
74509         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74511         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74513         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74515         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74516         file parsing and set FD_CLOEXEC.
74518 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74520         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74522 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74524         * malloc/arena.c (arena_get2): Don't call reused_arena when
74525         _int_new_arena failed.
74527 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74529         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74530         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74531         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74532         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74533         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74534         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74535         to compile strcasecmp and strncasecmp.
74536         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74537         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74539         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74541 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74543         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74544         locale-defines.sym to gen-as-const-headers.
74545         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74546         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74547         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74548         to compile strcasecmp and strncasecmp.
74549         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74550         strcasecmp_l and strncasecmp_l.
74551         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74552         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74553         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74554         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74555         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74556         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74557         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74558         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74559         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74560         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74561         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74563 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74565         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74566         result of SYSDEP_GETTIME_CPU to retval.
74567         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74568         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74570         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74571         variable.
74573         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
74574         mantissa words.
74575         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
74577         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
74578         from unused variable.
74580         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
74581         DWARF definitions.
74582         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
74583         for assembling.
74585         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
74586         over namespaces.
74588         * sunrpc/rpc_prot.c (rejected): Fix case value.
74590         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
74591         unsigned long long int to avoid warnings in shift.
74593         * posix/regex_internal.c (re_string_reconstruct): Actually use result
74594         of use of trans.
74595         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
74596         variable tmp.
74598         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
74599         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
74600         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
74602         * nis/nis_table.c (nis_list): Use variable of correct type for
74603         result of __follow_path call.
74605 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74607         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
74608         of math functions ceil, trunc, floor, round, and sqrt, when
74609         avaliable on the platform.
74610         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
74611         name clash.
74612         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74613         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74614         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74616 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
74618         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
74619         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
74621 2011-11-11  Roland McGrath  <roland@hack.frob.com>
74623         * include/unistd.h: Fix __readlink return type.
74624         Reported by Chris Metcalf <cmetcalf@tilera.com>.
74626 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
74628         * stdlib/ucontext.h: Undo last change for makecontext.
74630 2011-11-11  Andreas Schwab  <schwab@redhat.com>
74632         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
74634         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
74635         * setjmp/setjmp.h: Mark functions as non-leaf.
74636         * setjmp/bits/setjmp2.h: Likewise.
74637         * stdlib/ucontext.h: Likewise.
74639 2011-11-10  Andreas Schwab  <schwab@redhat.com>
74641         * malloc/arena.c (_int_new_arena): Don't increment narenas.
74642         (reused_arena): Don't check arena limit.
74643         (arena_get2): Atomically check arena limit.
74645 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
74647         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
74648         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
74650         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
74651         instructions.
74653 2011-11-07  Andreas Schwab  <schwab@redhat.com>
74655         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
74656         handler when locking.
74658         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74659         Fix size of allocated buffer.
74661 2011-11-04  Andreas Schwab  <schwab@redhat.com>
74663         [BZ #10103]
74664         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
74665         declarations for long double functions.
74666         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
74668         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
74670 2011-11-03  Andreas Schwab  <schwab@redhat.com>
74672         * nscd/nscd.c (main): Don't start AVC thread until credentials are
74673         installed.
74675         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
74676         is disabled.
74678 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74680         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
74682 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74684         * include/alloca.h (stackinfo_alloca_round): Define.
74685         (extend_alloca): Use it.
74686         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
74687         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
74688         here.
74690         * scripts/check-local-headers.sh: Ignore libaudit.h.
74692         * nscd/Makefile (extra-objs): Make recursively expanded.
74694 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
74696         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
74697         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
74699         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
74700         * posix/tst-rfc3484-2.c: Likewise.
74701         * posix/tst-rfc3484-3.c: Likewise.
74703         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74704         process_vm_writev.
74705         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
74706         process_vm_writev.
74707         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
74708         process_vm_writev from libc using GLIBC_2.15 version.
74710         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
74712 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
74714         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
74715         stack usage.
74717 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
74719         [BZ #13367]
74720         * nss/getent.c (initgroups_keys): Show error message in case no group
74721         names are given.
74723         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
74724         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
74725         __bump_nl_timestamp.
74726         * nscd/connections (nscd_init): When host database is served open
74727         netlink socket and request notification about configuration changes.
74728         (main_loop_poll): Track netlink file descriptor and bump timestamp
74729         in case data becomes available.
74730         (main_loop_epoll): Likewise.
74731         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
74732         (database_pers_head): Add extra_data fileds.
74733         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
74734         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
74735         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
74736         Adjust caller.
74737         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
74738         in6ai data, call __free_in6ai.
74739         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
74740         Add -DHAVE_NETLINK.
74741         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
74742         interface information.  Reuse previous data if netlink timestamp
74743         is not changed.
74744         (__bump_nl_timestamp): New function.
74745         (__free_in6ai): New function.
74747 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
74749         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
74750         close_not_cancel_no_status here.
74751         (__check_pf): Reorganize code a bit to not call close twice if OOM.
74753 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74755         [BZ #13276]
74756         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
74757         return value.
74759         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74760         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74761         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74763 2011-07-03  Andreas Jaeger  <aj@suse.de>
74765         [BZ #10709]
74766         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74767         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74768         * math/libm-test.inc (sin_test): Add test case.
74770 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74772         [BZ #13337]
74773         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74774         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74776         * elf/chroot_canon.c (chroot_canon): Cleanups.
74778         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74780         [BZ #13335]
74781         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74782         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74784         * string/test-strchr.c: Make usable for strchrnul testing.
74785         * string/test-strchrnul.c: New file.
74786         * string/Makefile (strop-tests): Add strchrnul.
74788         * po/it.po: Update from translation team.
74789         * po/es.po: Likewise.
74791 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74793         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74794         the three constants needed as parameters.  Drop the others.
74795         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74796         __m128i_strloadu_tolower.
74797         Create and initialize variable zero and use it in all the places
74798         where _mm_setzero_si128 was used.
74800         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74801         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74802         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74803         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74804         anymore.
74805         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74806         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74807         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74808         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74809         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74810         __mpranred, __mptan.
74811         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74812         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74813         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74814         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74815         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74816         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74817         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74818         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74819         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74821 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74823         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74824         redefine if SHARED.
74825         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74827         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74828         wide char related routines to wcsmbs subdir.
74830 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74832         [BZ #13344]
74833         * misc/sys/cdefs.h (__THROWNL): Define.
74834         * posix/unistd.h: Use __THREADNL instead of __THREAD
74835         for memory synchronization functions.
74837 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74839         [BZ #13349]
74840         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74841         doesn't exist.
74842         * manual/stdio.texi (Obstack Streams): Node removed.
74844 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74846         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74847         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74848         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74850         * math/math_private.h (math_force_eval): Allow non-addressable
74851         arguments.
74852         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74854 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74856         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74857         file is not needed.
74859         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74860         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74861         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74862         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74863         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74864         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74865         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74866         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74867         Add AVX variants.
74868         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74869         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74870         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74871         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74872         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74873         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74874         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74875         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74876         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74877         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74878         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74879         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74880         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74881         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74882         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74883         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74884         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74885         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74886         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74888         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74889         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74891         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74892         place.  Use VEX encoding when compiling for AVX.
74894 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74896         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74897         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74899         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74901 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74903         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74904         useless if() expression.
74905         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74906         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74907         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74908         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74909         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74910         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74911         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74912         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74913         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74914         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74915         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74916         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74917         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74918         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74919         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74920         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74921         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74922         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74923         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74925         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74927 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74929         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74930         condition.
74931         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74933 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74935         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74936         .text section.  Avoid duplicate constants.
74937         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74938         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74939         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74940         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74941         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74942         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74943         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74944         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74945         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74946         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74947         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74948         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74949         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74950         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74951         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74952         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74953         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74954         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74955         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74956         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74957         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74958         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74959         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74960         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74961         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74962         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74963         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74964         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74965         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74966         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74967         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74968         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74969         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74970         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74971         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74972         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74973         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74974         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74975         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74976         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74977         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74978         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74979         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74980         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74981         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74983 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74985         * sysdeps/x86_64/dla.h: Move to ...
74986         * sysdeps/x86_64/fpu/dla.h: ...here.
74987         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74988         situations.  Use __builtin_fma only for gcc 4.6 and up.
74990         * config.make.in: Add have-mfma4 entry.
74991         * configure.in: Substitute libc_cv_cc_fma4.
74992         * math/Makefile (dbl-only-routines): Add sincostab.
74993         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74994         Use __sincostab not sincos.
74995         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74996         name is a macro.
74997         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74998         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74999         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75000         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75001         using __copysign.
75002         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75003         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75004         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75005         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75006         and __inv.
75007         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75008         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75009         __copysign.
75010         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75011         define aliases when function name is a macro.
75012         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75013         sysdeps/ieee754/dbl-64/sincos.tbl.
75014         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75015         fma4-enabled routines.
75016         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75017         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75018         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75019         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75020         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75021         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75022         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75023         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75024         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75025         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75026         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75027         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75028         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75029         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75030         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75031         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75032         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75033         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75034         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75035         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75036         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75037         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75038         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75039         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75040         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75041         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75042         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75043         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75044         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75045         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75047         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75048         rename.
75049         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75050         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75051         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75052         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75053         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75054         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75055         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75056         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75058 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75060         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75062 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75064         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75066         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75067         prediction.
75068         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75070         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75071         Remove unused variable magic_bits.
75072         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75074         * string/strnlen.c: Define and use STRNLEN macro.
75075         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75076         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75077         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75078         * wcsmbs/wcslen.c: Define and use WCSLEN.
75079         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75080         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75081         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75082         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75083         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75084         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75085         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75087 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75089         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75090         strnlen-sse2-no-bsf.
75091         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75092         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75093         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75094         Add strnlen support.
75095         (USE_AS_STRNLEN): New macro.
75096         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75097         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75098         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75099         * sysdeps/x86_64/wcslen.S: New file.
75101 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75103         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75104         XMM-moves are used for copying on small sizes.
75106 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75108         * wcsmbs/Makefile (strop-tests): Add wcschr.
75109         * wcsmbs/test-wcschr.c: New file.
75110         * string/test-strchr.c: Update.
75111         Add wcschr support.
75112         (WIDE): New macro.
75114 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75116         * wcsmbs/Makefile (strop-tests): Add wcslen.
75117         * wcsmbs/test-wcslen.c: New file.
75118         * string/test-strlen.c: Update.
75119         Add wcslen support.
75120         (WIDE): New macro.
75122 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75124         * po/it.po: Update from translation team.
75126 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75128         * sysdeps/x86_64/wcscmp.S: Update.
75129         Fix wrong comparison semantics.
75130         wcscmp shall use signed comparison not unsigned.
75131         Don't use substraction to avoid overflow bug.
75132         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75133         * wcsmbc/wcscmp.c: Likewise.
75134         * string/test-strcmp.c: Likewise.
75135         Add new tests to check cases with negative values.
75137 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75139         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75140         * sysdeps/x86_64/dla.h: ...here.  New file.
75141         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75142         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75143         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75144         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75145         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75146         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75147         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75148         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75149         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75151 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75153         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75154         __ynl_finite aliases.
75156 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75158         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75160         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75161         define DLA_FMA.
75162         [DLA_FMA] (EMULV): Use DLA_FMA.
75163         [DLA_FMA] (MUL12): Use EMULV.
75164         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75165         that are not needed.
75166         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75167         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75168         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75169         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75170         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75171         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75172         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75174 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75176         * math/s_nan.c: Undef __nan.
75177         * math/s_nanf.c: Undef __nanf.
75178         * math/s_nanl.c: Undef __nanl.
75179         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75180         "math_private.h".
75182 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75184         * math/s_catan.c: Add branch predictions.
75185         * math/s_catanf.c: Likewise.
75186         * math/s_catanh.c: Likewise.
75187         * math/s_catanhf.c: Likewise.
75188         * math/s_catanhl.c: Likewise.
75189         * math/s_catanl.c: Likewise.
75190         * math/s_cexp.c: Likewise.
75191         * math/s_cexpf.c: Likewise.
75192         * math/s_cexpl.c: Likewise.
75193         * math/s_clog.c: Likewise.
75194         * math/s_clog10.c: Likewise.
75195         * math/s_clog10f.c: Likewise.
75196         * math/s_clog10l.c: Likewise.
75197         * math/s_clogf.c: Likewise.
75198         * math/s_clogl.c: Likewise.
75199         * math/s_csqrt.c: Likewise.
75200         * math/s_csqrtf.c: Likewise.
75201         * math/s_csqrtl.c: Likewise.
75202         * math/s_ctanf.c: Likewise.
75203         * math/s_ctanh.c: Likewise.
75204         * math/s_ctanhf.c: Likewise.
75205         * math/s_ctanhl.c: Likewise.
75206         * math/s_ctanl.c: Likewise.
75208         * math/math_private.h: Define __nan, __nanf, __nanl.
75209         * math/s_cacosh.c: Include <math_private.h>.
75210         * math/s_cacoshl.c: Likewise.
75211         * math/s_casinh.c: Likewise.
75212         * math/s_casinhf.c: Likewise.
75213         * math/s_casinhl.c: Likewise.
75214         * math/s_ccos.c: Rely entire on ccosh.
75215         * math/s_ccosf.c: Rely entire on ccoshf.
75216         * math/s_ccosl.c: Rely entirely on ccoshl.
75217         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75218         Remove tests for FE_INVALID.
75219         * math/s_ccoshf.c: Likewise.
75220         * math/s_ccoshl.c: Likewise.
75221         * math/s_csin.c: Likewise.
75222         * math/s_csinf.c: Likewise.
75223         * math/s_csinh.c Likewise.
75224         * math/s_csinhf.c: Likewise.
75225         * math/s_csinhl.c: Likewise.
75226         * math/s_csinl.c: Likewise.
75227         * math/s_ctan.c: Likewise.
75228         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75229         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75230         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75232 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75235         compilation problems.
75237         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75238         __builtin_expect.
75240 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75242         * sysdeps/i386/configure.in: Test for -mfma4 option.
75243         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75244         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75245         COMMON_CPUID_INDEX_80000001.
75246         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75247         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75248         use it if FMA3 is not supported.
75249         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75251         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75252         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75254 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75256         [BZ #12892]
75257         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75258         it would create a cycle with a link time dependency.
75260 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75262         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75263         instruction.
75264         * string/Makefile (strop-tests): Add rawmemchr.
75265         * string/test-rawmemchr.c: New file.
75267         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75268         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75269         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75270         when compiling str{,n}casecmp and when AVX is available.  Hook up
75271         new optimized code in initializers.
75273 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75275         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75276         __feraiseexcept instead of feraiseexcept.
75278 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75280         * math/math_private.h: Define defaults for libc_fetestexcept and
75281         libc_feupdateenv.
75282         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75283         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75284         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75285         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75286         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75287         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75288         libc_fetestexcept and libc_feupdateenv.
75290         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75291         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75292         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75293         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75294         libc_feholdexcept_setround.
75296         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75297         Add s_nearbyint-c and s_nearbyintf-c.
75298         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75299         nearbyintf inlines.
75300         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75301         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75302         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75303         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75305         * math/math_private.h: Define defaults for libc_fegetround,
75306         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75307         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75308         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75309         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75310         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75311         standard functions.
75312         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75313         Remove comments and hacks for old compiler versions.
75314         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75315         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75316         libc_feholdexceptl.
75318 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75320         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75321         (__feraiseexcept_renamed): Add __NTH.
75322         (feraiseexcept): Add __NTH.  Rename local variables to fix
75323         namespace violations.
75325 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75327         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75329         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75331         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75332         recently added interfaces.
75333         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75335         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75336         about macro parameter expansion.
75338         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75339         __NO_MATH_INLINES is defined.  Cleanups.
75341         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75342         and __floorf is target has SSE4.1.
75343         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75344         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75345         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75346         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75348         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75349         name.
75350         (floorf): Likewise.
75352         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75354 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75356         * misc/sys/cdefs.h: Fix last change.
75358         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75359         database lookup.
75361 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75363         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75365         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75366         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75367         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75368         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75369         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75370         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75371         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75372         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75373         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75374         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75375         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75376         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75377         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75378         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75379         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75380         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75381         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75382         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75383         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75384         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75385         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75386         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75388         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75389         ceil, ceilf, floor, floorf.
75391         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75392         Perform IRELATIVE relocations last.
75394         * elf/do-rel.h: Add another parameter nrelative, replacing the
75395         local variable with the same name.  Change name of the function
75396         to end in Rel or Rela (uppercase).
75397         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75398         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75399         elf_dynamic_do_##reloc function.
75401 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75403         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75404         is sufficient, at least on modern CPUs.
75406         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75408         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75409         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75411         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75412         __expl_finite.
75413         * math/bits/math-finite.h: Add entries for exp.
75414         * math/e_expl.c: Add __*_finite alias.
75415         * sysdeps/i386/fpu/e_exp.S: Likewise.
75416         * sysdeps/i386/fpu/e_expf.S: Likewise.
75417         * sysdeps/i386/fpu/e_expl.c: Likewise.
75418         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75419         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75420         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75422         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75423         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75424         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75426         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75427         is sufficient, at least on modern CPUs.
75429         * ctype/ctype-info.c (__ctype_init): Define.
75430         * include/ctype.h (__ctype_init): Declare.
75431         (__ctype_b_loc): The variable is always initialized.
75432         (__ctype_toupper_loc): Likewise.
75433         (__ctype_tolower_loc): Likewise.
75434         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75435         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75437 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75439         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75441         * configure.in: Also look in $cxxmachine/include for C++ system
75442         headers.
75444 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75446         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75447         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75448         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75449         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75450         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75451         (USE_AS_WMEMCMP): New macro.
75452         Fixing indents.
75453         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75454         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75455         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75456         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75457         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75458         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75459         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75460         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75461         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75462         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75463         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75464         (USE_AS_WMEMCMP): New macro.
75465         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75466         * sysdeps/string/test-memcmp.c: Update.
75467         Fix simple_wmemcmp.
75468         Add new tests.
75469         * wcsmbs/wmemcmp.c: Update.
75470         (WMEMCMP): New macro.
75471         Fix overflow bug.
75473 2011-10-12  Andreas Jaeger  <aj@suse.de>
75475         [BZ #13268]
75476         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75478 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75480         * libio/iofwide.c (do_length): Avoid warning.
75482         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75484 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75486         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75488         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75489         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75490         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75491         * sysdeps/i386/i686/fpu/e_log.S: New file.
75492         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75493         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75495         * ctype/ctype.h: Add support for inlined isXXX functions when
75496         compiling C++ code.
75498 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75500         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75502         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75504 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75506         [BZ #13291]
75507         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75509 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75511         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75512         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75513         feraiseexcept.
75515         * sysdeps/x86_64/memrchr.S: Check for zero size.
75517         * string/stratcliff.c: Add memrchr tests.
75519 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75521         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75522         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75523         rawmemchr-sse2 rawmemchr-sse2-bsf.
75524         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75525         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75526         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75527         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75528         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75529         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75530         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75531         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75532         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75533         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75534         * string/memrchr.c (MEMRCHR): New macro.
75536 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75538         Add integration with gcc's -ffinite-math-only and optimize wrapper
75539         functions in libm.
75540         * Versions.def: Define GLIBC_2.15 version for libm.
75541         * math/Makefile (headers): Add bits/math-finite.h.
75542         * math/bits/math-finite.h: New file.
75543         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75544         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75545         * math/e_acoshl.c: Add __*_finite alias.
75546         * math/e_acosl.c: Likewise.
75547         * math/e_asinl.c: Likewise.
75548         * math/e_atan2l.c: Likewise.
75549         * math/e_atanhl.c: Likewise.
75550         * math/e_coshl.c: Likewise.
75551         * math/e_exp10.c: Likewise.
75552         * math/e_exp10f.c: Likewise.
75553         * math/e_exp10l.c: Likewise.
75554         * math/e_exp2l.c: Likewise.
75555         * math/e_fmodl.c: Likewise.
75556         * math/e_gammal_r.c: Likewise.
75557         * math/e_hypotl.c: Likewise.
75558         * math/e_j0l.c: Likewise.
75559         * math/e_j1l.c: Likewise.
75560         * math/e_jnl.c: Likewise.
75561         * math/e_lgammal_r.c: Likewise.
75562         * math/e_log10l.c: Likewise.
75563         * math/e_log2l.c: Likewise.
75564         * math/e_logl.c: Likewise.
75565         * math/e_powl.c: Likewise.
75566         * math/e_sinhl.c: Likewise.
75567         * math/e_sqrtl.c: Likewise.
75568         * math/e_scalb.c: Completely rewritten and optimized.
75569         * math/e_scalbf.c: Likewise.
75570         * math/e_scalbl.c: Likewise.
75571         * math/w_acos.c: Likewise.
75572         * math/w_acosf.c: Likewise.
75573         * math/w_acosl.c: Likewise.
75574         * math/w_acosh.c: Likewise.
75575         * math/w_acoshf.c: Likewise.
75576         * math/w_acoshl.c: Likewise.
75577         * math/w_asin.c: Likewise.
75578         * math/w_asinf.c: Likewise.
75579         * math/w_asinl.c: Likewise.
75580         * math/w_atan2.c: Likewise.
75581         * math/w_atan2f.c: Likewise.
75582         * math/w_atan2l.c: Likewise.
75583         * math/w_atanh.c: Likewise.
75584         * math/w_atanhf.c: Likewise.
75585         * math/w_atanhl.c: Likewise.
75586         * math/w_exp10.c: Likewise.
75587         * math/w_exp10f.c: Likewise.
75588         * math/w_exp10l.c: Likewise.
75589         * math/w_fmod.c: Likewise.
75590         * math/w_fmodf.c: Likewise.
75591         * math/w_fmodl.c: Likewise.
75592         * math/w_j0.c: Likewise.
75593         * math/w_j0f.c: Likewise.
75594         * math/w_j0l.c: Likewise.
75595         * math/w_j1.c: Likewise.
75596         * math/w_j1f.c: Likewise.
75597         * math/w_j1l.c: Likewise.
75598         * math/w_jn.c: Likewise.
75599         * math/w_jnf.c: Likewise.
75600         * math/w_log.c: Likewise.
75601         * math/w_logf.c: Likewise.
75602         * math/w_logl.c: Likewise.
75603         * math/w_log10.c: Likewise.
75604         * math/w_log10f.c: Likewise.
75605         * math/w_log10l.c: Likewise.
75606         * math/w_log2.c: Likewise.
75607         * math/w_log2f.c: Likewise.
75608         * math/w_log2l.c: Likewise.
75609         * math/w_pow.c: Likewise.
75610         * math/w_powf.c: Likewise.
75611         * math/w_powl.c: Likewise.
75612         * math/w_remainder.c: Likewise.
75613         * math/w_remainderf.c: Likewise.
75614         * math/w_remainderl.c: Likewise.
75615         * math/w_scalb.c: Likewise.
75616         * math/w_scalbf.c: Likewise.
75617         * math/w_scalbl.c: Likewise.
75618         * math/w_sqrt.c: Likewise.
75619         * math/w_sqrtf.c: Likewise.
75620         * math/w_sqrtl.c: Likewise.
75621         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
75622         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
75623         used.
75624         * math/math_private.h: Declare __kernel_standard_f.
75625         * math/w_cosh.c: Remove cruft and optimize a bit.
75626         * math/w_coshf.c: Likewise.
75627         * math/w_coshl.c: Likewise.
75628         * math/w_exp2.c: Likewise.
75629         * math/w_exp2f.c: Likewise.
75630         * math/w_exp2l.c: Likewise.
75631         * math/w_hypot.c: Likewise.
75632         * math/w_hypotf.c: Likewise.
75633         * math/w_hypotl.c: Likewise.
75634         * math/w_lgamma.c: Likewise.
75635         * math/w_lgamma_r.c: Likewise.
75636         * math/w_lgammaf.c: Likewise.
75637         * math/w_lgammaf_r.c: Likewise.
75638         * math/w_lgammal.c: Likewise.
75639         * math/w_lgammal_r.c: Likewise.
75640         * math/w_sinh.c: Likewise.
75641         * math/w_sinhf.c: Likewise.
75642         * math/w_sinhl.c: Likewise.
75643         * math/w_tgamma.c: Likewise.
75644         * math/w_tgammaf.c: Likewise.
75645         * math/w_tgammal.c: Likewise.
75646         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75647         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75648         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
75649         Minor optimizations.  Pretty printing.  Remove cruft.
75650         * sysdeps/i386/fpu/e_acosf.S: Likewise.
75651         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75652         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75653         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75654         * sysdeps/i386/fpu/e_acosl.c: Likewise.
75655         * sysdeps/i386/fpu/e_asin.S: Likewise.
75656         * sysdeps/i386/fpu/e_asinf.S: Likewise.
75657         * sysdeps/i386/fpu/e_atan2.S: Likewise.
75658         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
75659         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
75660         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75661         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75662         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75663         * sysdeps/i386/fpu/e_exp10.S: Likewise.
75664         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
75665         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
75666         * sysdeps/i386/fpu/e_exp2.S: Likewise.
75667         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
75668         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
75669         * sysdeps/i386/fpu/e_fmod.S: Likewise.
75670         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
75671         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
75672         * sysdeps/i386/fpu/e_hypot.S: Likewise.
75673         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
75674         * sysdeps/i386/fpu/e_log.S: Likewise.
75675         * sysdeps/i386/fpu/e_log10.S: Likewise.
75676         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75677         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75678         * sysdeps/i386/fpu/e_log2.S: Likewise.
75679         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75680         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75681         * sysdeps/i386/fpu/e_logf.S: Likewise.
75682         * sysdeps/i386/fpu/e_logl.S: Likewise.
75683         * sysdeps/i386/fpu/e_pow.S: Likewise.
75684         * sysdeps/i386/fpu/e_powf.S: Likewise.
75685         * sysdeps/i386/fpu/e_powl.S: Likewise.
75686         * sysdeps/i386/fpu/e_remainder.S: Likewise.
75687         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
75688         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
75689         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75690         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75691         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75692         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
75693         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
75694         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
75695         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75696         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75697         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75698         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75699         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75700         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75701         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
75702         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75703         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75704         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75705         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75706         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75707         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75708         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75709         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75710         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75711         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75712         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75713         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75714         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75715         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75716         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75717         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75718         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75719         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75720         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75721         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75722         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75723         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
75724         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75725         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75726         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75727         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75729         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75730         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75731         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75732         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75733         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75734         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75735         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75736         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75737         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75738         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75739         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75740         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75741         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75742         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75743         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75744         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
75745         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75746         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75747         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75748         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75749         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75750         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75751         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75752         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75753         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75754         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75755         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75756         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75757         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75758         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75759         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75760         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75761         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75762         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75763         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75764         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75765         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75766         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75767         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75768         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75769         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75770         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75771         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75772         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75773         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75774         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75775         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75776         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75777         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75778         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75779         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75780         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75781         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75782         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75783         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75784         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75785         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75786         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75787         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75788         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75789         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75790         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75791         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75792         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75793         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75794         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75795         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75796         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75797         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75798         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75799         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75800         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75801         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75802         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75803         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75804         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75805         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75806         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75807         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75808         (__isnanf): Likewise.
75809         (__isinf_ns): Likewise.
75810         (__isinf_nsf): Likewise.
75811         (__finite): Likewise.
75812         (__finitef): Likewise.
75813         (__ieee754_sqrt): Define as macro.
75814         (__ieee754_sqrtf): Define as macro.
75815         (__ieee754_sqrtl): Define as macro.
75816         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75817         inlined copy.
75818         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75819         __FINITE_MATH_ONLY__ consistent.
75820         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75822 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75824         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75825         of rawmemchr.
75827         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75829 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75831         * po/ja.po: Update from translation team.
75833 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75835         * locale/programs/locarchive.c (prepare_address_space): New function.
75836         (create_archive, enlarge_archive, open_archive): Use it.
75838         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75839         inside [SHARED], where it is used.
75841         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75843         * nss/getent.c (netgroup_keys): Remove unused variable.
75844         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75846 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75848         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75849         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75850         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75851         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75852         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75853         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75854         * math/Makefile (libm-calls): Add s_isinf_ns.
75855         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75856         * math/multc3.c: Likewise.
75857         * math/s_casin.c: Likewise.
75858         * math/s_casinf.c: Likewise.
75859         * math/s_casinl.c: Likewise.
75860         * math/s_ccos.c: Likewise.
75861         * math/s_ccosf.c: Likewise.
75862         * math/s_ccosl.c: Likewise.
75863         * math/s_ctan.c: Likewise.
75864         * math/s_ctanf.c: Likewise.
75865         * math/s_ctanh.c: Likewise.
75866         * math/s_ctanhf.c: Likewise.
75867         * math/s_ctanhl.c: Likewise.
75868         * math/s_ctanl.c: Likewise.
75869         * math/w_fmod.c: Likewise.
75870         * math/w_fmodf.c: Likewise.
75871         * math/w_fmodl.c: Likewise.
75872         * math/w_remainder.c: Likewise.
75873         * math/w_remainderf.c: Likewise.
75874         * math/w_remainderl.c: Likewise.
75875         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75876         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75877         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75878         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75879         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75880         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75881         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75882         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75884         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75885         of the number.
75886         * stdio-common/printf_fphex.c: Likewise.
75887         * stdio-common/printf_size.c: Likewise.
75889         * math/e_exp10.c: Include math_private.h using <...> not "...".
75890         * math/e_exp10f.c: Likewise.
75891         * math/e_exp10l.c: Likewise.
75892         * math/e_exp2l.c: Likewise.
75893         * math/e_j0l.c: Likewise.
75894         * math/e_j1l.c: Likewise.
75895         * math/e_jnl.c: Likewise.
75896         * math/e_lgammal_r.c: Likewise.
75897         * math/e_rem_pio2l.c: Likewise.
75898         * math/e_scalb.c: Likewise.
75899         * math/e_scalbf.c: Likewise.
75900         * math/e_scalbl.c: Likewise.
75901         * math/k_cosl.c: Likewise.
75902         * math/k_sinl.c: Likewise.
75903         * math/k_tanl.c: Likewise.
75904         * math/s_cacoshf.c: Likewise.
75905         * math/s_catan.c: Likewise.
75906         * math/s_catanf.c: Likewise.
75907         * math/s_catanh.c: Likewise.
75908         * math/s_catanhf.c: Likewise.
75909         * math/s_catanhl.c: Likewise.
75910         * math/s_catanl.c: Likewise.
75911         * math/s_ccosh.c: Likewise.
75912         * math/s_ccoshf.c: Likewise.
75913         * math/s_ccoshl.c: Likewise.
75914         * math/s_cexp.c: Likewise.
75915         * math/s_cexpf.c: Likewise.
75916         * math/s_cexpl.c: Likewise.
75917         * math/s_clog.c: Likewise.
75918         * math/s_clog10.c: Likewise.
75919         * math/s_clog10f.c: Likewise.
75920         * math/s_clog10l.c: Likewise.
75921         * math/s_clogf.c: Likewise.
75922         * math/s_clogl.c: Likewise.
75923         * math/s_csin.c: Likewise.
75924         * math/s_csinf.c: Likewise.
75925         * math/s_csinh.c: Likewise.
75926         * math/s_csinhf.c: Likewise.
75927         * math/s_csinhl.c: Likewise.
75928         * math/s_csinl.c: Likewise.
75929         * math/s_csqrt.c: Likewise.
75930         * math/s_csqrtf.c: Likewise.
75931         * math/s_csqrtl.c: Likewise.
75932         * math/s_ctan.c: Likewise.
75933         * math/s_ctanf.c: Likewise.
75934         * math/s_ctanh.c: Likewise.
75935         * math/s_ctanhf.c: Likewise.
75936         * math/s_ctanhl.c: Likewise.
75937         * math/s_ctanl.c: Likewise.
75938         * math/s_ldexp.c: Likewise.
75939         * math/s_ldexpf.c: Likewise.
75940         * math/s_ldexpl.c: Likewise.
75941         * math/s_significand.c: Likewise.
75942         * math/s_significandf.c: Likewise.
75943         * math/s_significandl.c: Likewise.
75944         * math/w_acos.c: Likewise.
75945         * math/w_acosf.c: Likewise.
75946         * math/w_acosh.c: Likewise.
75947         * math/w_acoshf.c: Likewise.
75948         * math/w_acoshl.c: Likewise.
75949         * math/w_acosl.c: Likewise.
75950         * math/w_asin.c: Likewise.
75951         * math/w_asinf.c: Likewise.
75952         * math/w_asinl.c: Likewise.
75953         * math/w_atan2.c: Likewise.
75954         * math/w_atan2f.c: Likewise.
75955         * math/w_atan2l.c: Likewise.
75956         * math/w_atanh.c: Likewise.
75957         * math/w_atanhf.c: Likewise.
75958         * math/w_atanhl.c: Likewise.
75959         * math/w_cosh.c: Likewise.
75960         * math/w_coshf.c: Likewise.
75961         * math/w_coshl.c: Likewise.
75962         * math/w_dremf.c: Likewise.
75963         * math/w_exp10.c: Likewise.
75964         * math/w_exp10f.c: Likewise.
75965         * math/w_exp10l.c: Likewise.
75966         * math/w_exp2.c: Likewise.
75967         * math/w_exp2f.c: Likewise.
75968         * math/w_fmod.c: Likewise.
75969         * math/w_fmodf.c: Likewise.
75970         * math/w_fmodl.c: Likewise.
75971         * math/w_hypot.c: Likewise.
75972         * math/w_hypotf.c: Likewise.
75973         * math/w_hypotl.c: Likewise.
75974         * math/w_j0.c: Likewise.
75975         * math/w_j0f.c: Likewise.
75976         * math/w_j0l.c: Likewise.
75977         * math/w_j1.c: Likewise.
75978         * math/w_j1f.c: Likewise.
75979         * math/w_j1l.c: Likewise.
75980         * math/w_jn.c: Likewise.
75981         * math/w_jnf.c: Likewise.
75982         * math/w_jnl.c: Likewise.
75983         * math/w_lgamma.c: Likewise.
75984         * math/w_lgamma_r.c: Likewise.
75985         * math/w_lgammaf.c: Likewise.
75986         * math/w_lgammaf_r.c: Likewise.
75987         * math/w_lgammal.c: Likewise.
75988         * math/w_lgammal_r.c: Likewise.
75989         * math/w_log.c: Likewise.
75990         * math/w_log10.c: Likewise.
75991         * math/w_log10f.c: Likewise.
75992         * math/w_log10l.c: Likewise.
75993         * math/w_log2.c: Likewise.
75994         * math/w_log2f.c: Likewise.
75995         * math/w_log2l.c: Likewise.
75996         * math/w_logf.c: Likewise.
75997         * math/w_logl.c: Likewise.
75998         * math/w_pow.c: Likewise.
75999         * math/w_powf.c: Likewise.
76000         * math/w_powl.c: Likewise.
76001         * math/w_remainder.c: Likewise.
76002         * math/w_remainderf.c: Likewise.
76003         * math/w_remainderl.c: Likewise.
76004         * math/w_scalb.c: Likewise.
76005         * math/w_scalbf.c: Likewise.
76006         * math/w_scalbl.c: Likewise.
76007         * math/w_sinh.c: Likewise.
76008         * math/w_sinhf.c: Likewise.
76009         * math/w_sinhl.c: Likewise.
76010         * math/w_sqrt.c: Likewise.
76011         * math/w_sqrtf.c: Likewise.
76012         * math/w_sqrtl.c: Likewise.
76013         * math/w_tgamma.c: Likewise.
76014         * math/w_tgammaf.c: Likewise.
76015         * math/w_tgammal.c: Likewise.
76017         * po/ja.po: Update from translation team.
76019 2011-09-29  Andreas Jaeger  <aj@suse.de>
76021         [BZ #13179]
76022         * sunrpc/netname.c (netname2host): Fix logic.
76024         [BZ #6779]
76025         [BZ #6783]
76026         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76027         correctly.
76028         * math/w_remainder.c (__remainder): Likewise.
76029         * math/w_remainderf.c (__remainderf): Likewise.
76030         * math/libm-test.inc (remainder_test): Add test cases.
76032 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76034         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76035         sdiv_qrnnd.
76037 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76039         * string/test-memcmp.c: Avoid unncessary #defines.
76040         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76042 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76044         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76045         Use new sse2 version for core i3 - i7 as it's faster
76046         than sse42 version.
76047         (bit_Prefer_PMINUB_for_stringop): New.
76048         * sysdeps/x86_64/rawmemchr.S: Update.
76049         Replace with faster SSE2 version.
76050         * sysdeps/x86_64/memrchr.S: New file.
76051         * sysdeps/x86_64/memchr.S: Update.
76052         Replace with faster SSE2 version.
76054 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76056         * elf/dl-load.c (lose): Add cast to avoid warning.
76058 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76060         * po/ca.po: Update from translation team.
76062         * inet/getnetgrent_r.c: Hook up nscd.
76063         * nscd/Makefile (routines): Add nscd_netgroup.
76064         (nscd-modules): Add netgroupcache.
76065         (CFLAGS-netgroupcache.c): Define.
76066         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76067         (cache_search): Add const to second parameter.
76068         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76069         INNETGR.
76070         (dbs): Add netgrdb entry.
76071         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76072         (verify_persistent_db): Handle netgrdb.
76073         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76074         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76075         GETFDNETGR.
76076         (netgroup_response_header): Define.
76077         (innetgroup_response_header): Define.
76078         (datahead): Add netgroup_response_header and innetgroup_response_header
76079         elements.
76080         * nscd/nscd.conf: Add entries for netgroup cache.
76081         * nscd/nscd.h (dbtype): Add netgrdb.
76082         (_PATH_NSCD_NETGROUP_DB): Define.
76083         (netgroup_iov_disabled): Declare.
76084         (xmalloc, xcalloc, xrealloc): Move declarations here.
76085         (cache_search): Adjust prototype.
76086         Add netgroup-related prototypes.
76087         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76088         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76089         (__nscd_innetgr): Declare.
76090         * nscd/selinux.c (perms): Use access_vector_t as element type and
76091         add netgroup-related initializers.
76092         * nscd/netgroupcache.c: New file.
76093         * nscd/nscd_netgroup.c: New file.
76094         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76095         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76096         For four parameters use innetgr.
76097         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76098         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76099         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76100         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76102         * nscd/connections.c (register_traced_file): Don't register file
76103         for disabled databases.
76105 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76107         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76109         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76110         from tree and freeing node.
76112 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76114         * nss/nsswitch.c (__nss_database_lookup): Handle
76115         nss_parse_service_list out of memory case.
76117 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76119         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76120         out of memory case.
76122 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76124         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76125         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76126         pass it down.
76127         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76128         elf_machine_rela, elf_machine_lazy_rel.
76129         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76130         (ELF_DYNAMIC_DO_REL): Likewise.
76131         (ELF_DYNAMIC_DO_RELA): Likewise.
76132         (ELF_DYNAMIC_RELOCATE): Likewise.
76133         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76134         to ELF_DYNAMIC_DO_REL.
76135         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76136         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76137         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76138         elf_machine_rela.
76139         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76140         skip_ifunc, don't call ifunc function if non-zero.
76141         (elf_machine_rela): Likewise.
76142         (elf_machine_lazy_rel): Likewise.
76143         (elf_machine_lazy_rela): Likewise.
76144         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76145         (elf_machine_lazy_rel): Likewise.
76146         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76147         Likewise.
76148         (elf_machine_lazy_rel): Likewise.
76149         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76150         Likewise.
76151         (elf_machine_lazy_rel): Likewise.
76152         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76153         (elf_machine_lazy_rel): Likewise.
76154         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76155         (elf_machine_lazy_rel): Likewise.
76156         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76157         (elf_machine_lazy_rel): Likewise.
76158         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76159         (elf_machine_lazy_rel): Likewise.
76160         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76161         (elf_machine_lazy_rel): Likewise.
76162         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76163         (elf_machine_lazy_rel): Likewise.
76165 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76167         * nss/nss_files/files-init.c (_nss_files_init): Use static
76168         initialization for all the *_traced_file variables.
76170 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76172         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76174 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76176         [BZ #13226]
76177         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76179 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76181         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76182         Reread the line before reparsing it.
76184 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76186         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76188 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76189             Maxim Kuvyrkov  <maxim@codesourcery.com>
76190             Joseph Myers  <joseph@codesourcery.com>
76192         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76193         if needed for __stack_chk_guard.
76195 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76197         * sysdeps/posix/spawni.c (script_execute): Always define it.
76198         It will be optimized away if unused.
76199         (maybe_script_execute): New function.
76200         (__spawni): Call it.
76202         * Makerules: Don't include tls.make.
76203         (config-tls): Always set to thread.
76204         * tls.make.c: File removed.
76206 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76208         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76209         * config.make.in (CPPFLAGS-config): New substituted variable.
76211 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76213         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76215         [BZ #13192]
76216         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76217         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76219 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76221         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76222         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76223         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76224         (CALL_FAIL): Likewise.
76225         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76226         (CALL_FAIL): Macro removed.
76227         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76229 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76231         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76232         for __FINITE_MATH_ONLY__ == 1.
76234 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76236         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76237         __ieee754_sqrt instead of sqrt.
76238         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76239         __ieee754_sqrtf instead of sqrtf.
76240         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76241         __floorf instead of floorf.
76242         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76243         __floorf, __truncf instead of floorf, truncf.
76245 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76247         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76249         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76250         __extern_always_inline.
76251         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76252         32-bit.
76254 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76256         * elf/rtld.c (dl_main): Also relocate in dependency order when
76257         doing symbol dependency testing.
76259 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76261         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76262         Always define `refsym'.
76264 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76266         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76267         (__FD_ELT): Renamed from __FDELT.
76268         * misc/bits/select2.h (__FD_ELT): Likewise.
76269         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76270         __FD_MASK instead of __FDELT, __FDMASK.
76271         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76272         Likewise.
76273         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76274         Likewise.
76276         * elf/Makefile (gen-ldd): Fix pattern.
76278         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76279         (init_tls): Likewise.
76281 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76283         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76285 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76287         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76288         `struct cmsghdr *' instead of `void *'.
76289         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76290         Likewise.
76292 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76294         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76295         if non-absolute.
76296         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76297         ldd_rewrite_script.
76299 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76301         * configure.in: Remove --with-tls option.
76302         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76303         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76304         out in case it is missing.
76305         * sysdeps/ia64/elf/configure.in: Likewise.
76306         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76307         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76308         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76309         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76310         * sysdeps/sh/elf/configure.in: Likewise.
76311         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76312         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76313         * sysdeps/x86_64/elf/configure.in: Likewise.
76314         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76315         * sysdeps/mach/hurd/tls.h: Likewise.
76317         [BZ #13067]
76318         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76320         [BZ #13090]
76321         * configure.in: Fix use of AC_INIT.
76323         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76325 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76327         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76328         __set_errno.
76329         * malloc/hooks.c: Likewise.
76331         [BZ #11929]
76332         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76333         variables statically.
76334         (narenas): Initialize.
76335         (list_lock): Initialize.
76336         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76337         initializtion of main_arena and list_lock.  Small cleanups.
76338         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76339         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76340         Add initializers to main_arena and mp_.
76341         (malloc_state): Remove pagesize member.  Change all users to use
76342         GLRO(dl_pagesize).
76344         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76345         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76346         is always initialized.
76348         * malloc/malloc.c: Removed unused configurations and dead code.
76349         * malloc/arena.c: Likewise.
76350         * malloc/hooks.c: Likewise.
76351         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76353         * include/tls.h: Removed.  USE___THREAD must always be defined.
76354         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76355         * elf/dl-libc.c: Likewise.
76356         * elf/dl-tsd.c: Likewise.
76357         * include/errno.h: Likewise.
76358         * include/netdb.h: Likewise.
76359         * include/resolv.h: Likewise.
76360         * inet/herrno-loc.c: Likewise.
76361         * inet/herrno.c: Likewise.
76362         * malloc/arena.c: Likewise.
76363         * malloc/hooks.c: Likewise.
76364         * malloc/malloc.c: Likewise.
76365         * resolv/res-state.c: Likewise.
76366         * resolv/res_libc.c: Likewise.
76367         * sysdeps/i386/dl-machine.h: Likewise.
76368         * sysdeps/ia64/dl-machine.h: Likewise.
76369         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76370         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76371         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76372         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76373         * sysdeps/sh/dl-machine.h: Likewise.
76374         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76375         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76376         * sysdeps/unix/i386/sysdep.S: Likewise.
76377         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76378         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76380         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76383         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76384         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76385         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76387         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76388         * sysdeps/x86_64/dl-machine.h: Likewise.
76389         * tls.make.c: Likewise.
76391         * configure.in: Remove --with-__thread option.  Make tests for
76392         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76393         tls_model attribute fail if no support is available.  Remove
76394         USE_IN_LIBIO.
76395         * Makeconfig: Adjust for dropped configure option.  All features are
76396         now mandatory.
76397         * Makerules: Likewise.
76398         * Versions.def: Likewise.
76399         * argp/argp-fmtstream.c: Likewise.
76400         * argp/argp-fmtstream.h: Likewise.
76401         * argp/argp-help.c: Likewise.
76402         * assert/assert.c: Likewise.
76403         * config.h.in: Likewise.
76404         * config.make.in: Likewise.
76405         * configure: Likewise.
76406         * configure.in: Likewise.
76407         * csu/Versions: Likewise.
76408         * csu/init.c: Likewise.
76409         * elf/tst-audit2.c: Likewise.
76410         * elf/tst-tls10.c: Likewise.
76411         * elf/tst-tls10.h: Likewise.
76412         * elf/tst-tls11.c: Likewise.
76413         * elf/tst-tls12.c: Likewise.
76414         * elf/tst-tls14.c: Likewise.
76415         * elf/tst-tlsmod11.c: Likewise.
76416         * elf/tst-tlsmod12.c: Likewise.
76417         * elf/tst-tlsmod13.c: Likewise.
76418         * elf/tst-tlsmod13a.c: Likewise.
76419         * elf/tst-tlsmod14a.c: Likewise.
76420         * elf/tst-tlsmod15b.c: Likewise.
76421         * elf/tst-tlsmod16a.c: Likewise.
76422         * elf/tst-tlsmod16b.c: Likewise.
76423         * elf/tst-tlsmod7.c: Likewise.
76424         * elf/tst-tlsmod8.c: Likewise.
76425         * elf/tst-tlsmod9.c: Likewise.
76426         * gmon/gmon.c: Likewise.
76427         * grp/fgetgrent_r.c: Likewise.
76428         * grp/putgrent.c: Likewise.
76429         * hurd/fopenport.c: Likewise.
76430         * include/libc-symbols.h: Likewise.
76431         * include/tls.h: Likewise.
76432         * intl/gettextP.h: Likewise.
76433         * intl/loadinfo.h: Likewise.
76434         * locale/global-locale.c: Likewise.
76435         * locale/localeinfo.h: Likewise.
76436         * mach/devstream.c: Likewise.
76437         * malloc/arena.c: Likewise.
76438         * malloc/set-freeres.c: Likewise.
76439         * misc/err.c: Likewise.
76440         * misc/getttyent.c: Likewise.
76441         * misc/mntent_r.c: Likewise.
76442         * posix/getopt.c: Likewise.
76443         * posix/wordexp.c: Likewise.
76444         * pwd/fgetpwent_r.c: Likewise.
76445         * resolv/Versions: Likewise.
76446         * resolv/res_hconf.c: Likewise.
76447         * shadow/fgetspent_r.c: Likewise.
76448         * shadow/putspent.c: Likewise.
76449         * stdio-common/printf_fphex.c: Likewise.
76450         * stdio-common/tmpfile.c: Likewise.
76451         * stdlib/abort.c: Likewise.
76452         * stdlib/fmtmsg.c: Likewise.
76453         * sunrpc/auth_unix.c: Likewise.
76454         * sunrpc/clnt_perr.c: Likewise.
76455         * sunrpc/clnt_tcp.c: Likewise.
76456         * sunrpc/clnt_udp.c: Likewise.
76457         * sunrpc/clnt_unix.c: Likewise.
76458         * sunrpc/openchild.c: Likewise.
76459         * sunrpc/svc_simple.c: Likewise.
76460         * sunrpc/svc_tcp.c: Likewise.
76461         * sunrpc/svc_udp.c: Likewise.
76462         * sunrpc/svc_unix.c: Likewise.
76463         * sunrpc/xdr.c: Likewise.
76464         * sunrpc/xdr_array.c: Likewise.
76465         * sunrpc/xdr_rec.c: Likewise.
76466         * sunrpc/xdr_ref.c: Likewise.
76467         * sunrpc/xdr_stdio.c: Likewise.
76469 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76471         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76473 2011-07-03  Andreas Jaeger  <aj@suse.de>
76475         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76476         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76477         regenerate with gen-libm-tests.pl.
76479 2010-05-12  Petr Baudis  <pasky@suse.cz>
76481         [BZ #11589]
76482         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76483         around j0() zero points by switching to j1().
76484         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76485         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76486         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76487         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76489 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76491         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76492         instead of 0.
76493         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76494         instead of 0.
76495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76496         Patch in part by Pavel Roskin <proski@gnu.org>.
76498         [BZ #13138]
76499         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76500         realloc.
76501         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76502         Free memory block if necessary.
76504         [BZ #12847]
76505         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76506         be NULL.  Don't lock in this case.
76508 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76510         * elf/elf.h (ELFOSABI_GNU): New macro.
76511         (ELFOSABI_LINUX): Define to that.
76513 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76515         * string/strncat.c (strncat): Undef the symbol in case it has been
76516         defined in bits/string.h.
76518 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76520         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76522         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76523         link map.
76525 2011-08-17  Andreas Jaeger  <aj@suse.de>
76527         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76529 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76530             Ian Lance Taylor  <iant@google.com>
76532         * math/libm-test.inc (lround_test): New testcase.
76533         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76535 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76537         * Makefile: Remove support for automatic cvs check-ins.
76538         * Makerules: Likewise.
76539         * config.make.in: Likewise.
76540         * configure.in: Likewise.
76541         * intl/Makefile: Likewise.
76542         * locale/Makefile: Likewise.
76543         * po/Makefile: Likewise.
76544         * posix/Makefile: Likewise.
76545         * sysdeps/gnu/Makefile: Likewise.
76546         * sysdeps/mach/hurd/Makefile: Likewise.
76547         * sysdeps/sparc/sparc32/Makefile: Likewise.
76549         [BZ #13118]
76550         * posix/Makefile (bug-regex32-ENV): Define.
76551         Patch by John Stanley <jpsinthemix@verizon.net>.
76553         * misc/Makefile (headers): Add bits/select2.h.
76554         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76555         * misc/bits/select2.h: New file.
76556         * include/bits/select2.h: New file.
76557         * debug/Makefile (routines): Add fdelt_chk.
76558         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76559         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76560         FD_ISSET.
76561         * debug/fdelt_chk.c: New file.
76563         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76564         * wcsmbs/test-wmemcmp.c: Likewise.
76565         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76566         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76568 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76570         * string/Makefile (strop-tests): Add memcmp.
76571         * string/test-wmemcmp.c: New file.
76572         * string/test-memcmp.c: Add wmemcmp support.
76574 2011-09-08  Roland McGrath  <roland@hack.frob.com>
76576         [BZ #13153]
76577         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
76578         2011-07-19 change.
76580         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
76581         garbage value in a __mach_port_mod_refs call in the cases of the
76582         task-self and thread-self ports.
76584 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76586         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
76588 2011-09-08  Andreas Schwab  <schwab@redhat.com>
76590         * elf/dl-load.c (lose): Check for non-null L.
76592 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76594         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
76596         * elf/dl-libc.c (dlerror_run): Pass back error code from
76597         dl_catch_error.
76599         [BZ #13123]
76600         * elf/dl-load.c (lose): Free l_origin if it is valid.
76602         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
76603         names.
76604         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
76605         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76606         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76607         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76608         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
76609         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
76611 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76613         * sysdeps/powerpc/fpu/e_hypot.c: New file.
76614         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
76615         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
76616         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
76617         * sysdeps/powerpc/fpu/k_cosf.c: New file.
76618         * sysdeps/powerpc/fpu/k_sinf.c: New file.
76619         * sysdeps/powerpc/fpu/s_cosf.c: New file.
76620         * sysdeps/powerpc/fpu/s_sinf.c: New file.
76621         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
76622         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
76624 2011-08-15  Alan Modra  <amodra@gmail.com>
76626         [BZ #13092]
76627         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
76628         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
76629         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
76630         ppc_mcount to static-only-routines.
76631         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
76632         __mcount_internal.
76633         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
76634         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
76636 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
76638         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
76639         for finite and infinity parameters.
76641 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76643         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
76644         and add nop instructions for throughput optimization.
76645         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76647 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
76649         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
76650         aligned copy for power7 with vector-scalar instructions.
76651         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
76653 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
76655         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
76656         AVX check.
76658 2011-09-07  Andreas Schwab  <schwab@redhat.com>
76660         [BZ #13144]
76661         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
76662         last change.
76664 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
76666         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76667         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
76668         syscall wrapper around clock_gettime in __vdso_clock_gettime.
76669         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
76670         clock_gettime.
76672 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76674         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
76675         Forgot to demangle the pointer.
76677         * sysdeps/i386/sysdep.h: Define atom_text_section.
76678         * sysdeps/x86_64/sysdep.h: Likewise.
76679         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
76680         section with atom_text_section.
76681         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
76682         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
76683         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
76684         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76685         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
76687         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
76688         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
76689         already be defined.  Change to take two parameters and don't assign
76690         result to variable.  Adjust all users.
76691         Define INTERNAL_GETTIME if not already defined.
76692         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
76693         call.
76694         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
76695         HAVE_CLOCK_GETTIME_VSYSCALL.
76696         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
76698         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
76699         gettimeofday vsyscall, just use time.
76701 2011-09-06  Andreas Schwab  <schwab@redhat.com>
76703         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
76704         <errno.h>.
76706 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
76708         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
76709         syscall on x86-64.
76710         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
76711         syscall.
76712         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
76713         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
76714         syscall if possible.
76716 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76718         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
76719         e_ident.  Don't pass to find_mapsXX.
76720         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
76722 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76725         strchr-sse2-no-bsf strrchr-sse2-no-bsf
76726         * sysdeps/x86_64/multiarch/strchr.S: Update.
76727         Check bit_slow_BSF bit.
76728         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76729         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
76730         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
76732 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76734         [BZ #13134]
76735         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
76736         before glibc 2.15.
76737         (tryshell): Define.
76738         (__spawni): Change last parameter to be flag.  Test
76739         SPAWN_XFLAGS_USE_PATH flag to use path or not.
76740         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
76741         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
76742         * posix/spawni.c: Likewise.
76743         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
76744         * posix/spawnp.c: Likewise.  Change normal version to use
76745         SPAWN_XFLAGS_USE_PATH.
76746         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
76747         SPAWN_XFLAGS_TRY_SHELL.
76749         [BZ #13150]
76750         * posix/glob.h: Remove gcc 1.x support.
76752         [BZ #13068]
76753         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
76755 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76757         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76758         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76759         strrchr-sse2-bsf
76760         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76761         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76762         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76763         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76764         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76765         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76767 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76769         * sysdeps/x86_64/wcscmp.S: New file.
76771         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76772         wcscmp-c wcscmp-sse2
76773         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76774         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76775         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76776         * wcsmbs/wcscmp.c: Allow renaming.
76778 2011-09-05  David S. Miller  <davem@davemloft.net>
76780         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76781         stack slot, rather than the struct return pointer slot.
76782         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76783         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76785         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76787 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76789         * po/ja.po: Update from translation team.
76791         [BZ #13144]
76792         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76793         kernel in 64-bit binaries.
76795 2011-09-01  David S. Miller  <davem@davemloft.net>
76797         * elf/elf.h (HWCAP_SPARC_*): Move to..
76798         * sysdeps/sparc/sysdep.h: this new file and add new values.
76799         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76800         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76801         _DL_HWCAP_COUNT to 24.
76802         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76803         entries.
76804         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76805         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76806         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76807         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76808         instead of magic constants.
76809         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76811 2011-08-31  David S. Miller  <davem@davemloft.net>
76813         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76814         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76815         Reimplement to do errno handling inline.
76816         (SYSCALL_ERROR_HANDLER): New macro.
76817         (__SYSCALL_STRING): Do not do errno handling in asm.
76818         (__CLONE_SYSCALL_STRING): Delete.
76819         (__INTERNAL_SYSCALL_STRING): Delete.
76820         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76821         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76822         (PSEUDO): Reimplement to do errno handling inline.
76823         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76824         (SYSCALL_ERROR_HANDLER): New macro.
76825         (__SYSCALL_STRING): Do not do errno handling in asm.
76826         (__CLONE_SYSCALL_STRING): Delete.
76827         (__INTERNAL_SYSCALL_STRING): Delete.
76828         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76829         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76830         i386.
76831         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76832         (inline_syscall*): Add 'err' argument.
76833         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76834         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76835         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76836         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76838         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76839         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76841 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76843         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76845 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76847         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76848         directive.
76850 2011-08-24  David S. Miller  <davem@davemloft.net>
76852         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76854 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76856         * elf/Makefile: Add rules to build and run unload8 test.
76857         * elf/unload8.c: New file.
76858         * elf/unload8mod1.c: New file.
76859         * elf/unload8mod1x.c: New file.
76860         * elf/unload8mod2.c: New file.
76861         * elf/unload8mod3.c: New file.
76863         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76864         it wasn't used.
76866 2011-08-23  David S. Miller  <davem@davemloft.net>
76868         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76869         subtract stack bias.
76870         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76871         %sp not %fp in calculations.
76872         (_JMPBUF_UNWINDS_ADJ): Likewise.
76874         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76875         (aio_suspend): Call it to force an exception region around the
76876         AIO_MISC_WAIT() invocation.
76878 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76880         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76881         backslash.
76883 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76885         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76886         protection macro.
76887         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76888         and <dl-machine.h>.
76889         (Elf64_FuncDesc): Remove.
76891 2011-08-22  David S. Miller  <davem@davemloft.net>
76893         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76894         sigaltstack check, add missing cfi directives.
76895         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76896         missing cfi directives, and sigaltstack handling.
76898 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76900         [BZ #11724]
76901         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76902         object is seen twice.
76903         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76905         * elf/Makefile (distribute): Add tst-initorder2.c.
76906         (tests): Add tst-initorder2.
76907         (modules-names): Add tst-initorder2a tst-initorder2b
76908         tst-initorder2c tst-initorder2d.  Add rules to build them.
76909         ($(objpfx)tst-initorder2.out): New rule.
76910         * elf/tst-initorder2.c: New file.
76911         * elf/tst-initorder2.exp: New file.
76913 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76915         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76917         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76918         dependencies back to end of function.
76920         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76921         $(elfobjdir)/ld.so.
76923 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76925         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76926         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76927         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76928         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76929         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76930         of __vdso_gettimeofday.
76931         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76932         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76933         attribute_hidden.
76934         (_libc_vdso_platform_setup): Remove initialization of
76935         __vdso_gettimeofday and __vdso_time.
76937 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76939         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76940         and fgetc_unlocked.
76941         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76942         getc_unlocked.
76944         * elf/dl-open.c (add_to_global): Report additions to the global scope
76945         for LD_DEBUG=scopes.
76946         (dl_open_worker): Also print scope of newly loaded dependencies.
76947         (_dl_show_scope): Indicate if there is no scope.
76949         [BZ #13114]
76950         * stdio-common/Makefile (tests): Add bug24.
76951         * stdio-common/bug24.c: New file.
76953 2011-08-19  Andreas Jaeger  <aj@suse.de>
76955         [BZ #13114]
76956         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76957         non-existant file when using close-on-exec mode.
76959 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76961         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76962         the very first instruction.
76964         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76965         the CFI state in the end.
76966         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76967         inclusion of dl-trampoline.h.
76968         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76970 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76972         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76973         expectations for long double.
76975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76976         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76978 2011-08-14  David S. Miller  <davem@davemloft.net>
76980         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76981         artificual limit depends upon the system page size.
76983 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76985         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76986         * resolv/Makefile: Define CFLAGS-libresolv.
76988 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76990         * nss/makedb.c (compute_tables): Make variables used in nested
76991         function static.
76993 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76995         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76996         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76997         if buffer was too small.
76999         * elf/pldd.c (main): Attach to all threads in the process.
77000         Rewrite /proc handling to use *at functions.
77002 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77004         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77005         specifies first scope to show.
77006         (dl_open_worker): Update callers.  Move printing scope of new
77007         object to before the relocation.
77008         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77009         * sysdeps/generic/ldsodefs.h: Update declaration.
77011         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77012         string for the scope number.
77014 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77016         * nscd/servicescache.c (cache_addserv): Make sure written is always
77017         initialized.
77019 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77021         * sysdeps/i386/i486/bits/atomic.h
77022         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77023         statement expression, so as to suppress "set but not used" warning.
77024         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77026         * string/strncat.c (STRNCAT): Use prototype definition.
77028         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77029         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77030         -Iprograms here.
77031         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77032         (localedef-modules): Add localedef.
77033         (locale-modules): Add locale.
77035         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77036         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77037         to avoid a warning.
77039 2011-08-14  David S. Miller  <davem@davemloft.net>
77041         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77042         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77044 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77046         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77047         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77048         * elf/rtld.c (dl_main): Set l_name of vDSO.
77049         Call _dl_show_scope when DL_DEBUG_SCOPES.
77050         (process_dl_debug): Recognize scopes flag and also set it for all.
77051         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77052         Declare _dl_show_scope.
77054         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77055         (do_dlopen): Pass caller_dlopen to dl_open.
77056         (__libc_dlopen_mode): Initialize caller_dlopen.
77058         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77059         of libc.  Make tolower call locale-independent.  Optimize a bit by
77060         using isdigit instead of isalnum.
77061         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77063 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77065         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77066         was a dependency or dynamically loaded.
77068 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77070         * intl/l10nflist.c: Allow architecture-specific pop function.
77071         * sysdeps/x86_64/l10nflist.c: New file.
77073         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77074         classification.
77076 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77078         * include/dirent.h: Add libc_hidden_proto for scandirat and
77079         scandirat64.  Don't declare __scandirat64.
77080         * dirent/scandirat.c: Add libc_hidden_def.
77081         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77082         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77084 2011-08-10  David S. Miller  <davem@davemloft.net>
77086         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77087         enum.
77088         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77089         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77090         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77092 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77094         * Versions.def [libc]: Add GLIBC_2.15.
77095         * dirent/Makefile (routines): Add scandirat and scandirat64.
77096         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77097         GLIBC_2.15.
77098         * dirent/dirent.h: Declare scandirat and scandirat64.
77099         * dirent/scandirat.c: New file.
77100         * dirent/scandirat64.c: New file.
77101         * sysdeps/wordsize-64/scandirat.c: New file.
77102         * sysdeps/wordsize-64/scandirat64.c: New file.
77103         * dirent/opendir.c: Define opendirat.
77104         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77105         using scandirat.
77106         * dirent/scandir64.c: Adjust for scandir.c change.
77107         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77108         __scandirat64, and __scandir_cancel_handler.
77109         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77110         additional parameter and use openat instead of open (outside of ld.so).
77111         Add new __opendir as wrapper around __opendirat.
77112         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77113         here without requiring old scandirat implementation.
77115 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77117         * dirent/scandir.c (cancel_handler): Renamed to
77118         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77119         defined.  Adjust users.
77120         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77121         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77123 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77125         * string/test-string.h (IMPL): Use __STRING to expand name and then
77126         stringify it.
77128         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77129         of cleanups.
77131 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77133         * string/Makefile: Update.
77134         (strop-tests): Append strncat.
77135         * string/test-wcscmp.c: New file.
77136         New comprehensive test for wcscmp.
77137         * string/test-strcmp.c: Update.
77138         (WIDE): New define.
77140 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77142         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77143         line.
77145 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77147         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77148         encoding to ACE if AI_IDN.
77150 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77152         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77153         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77155 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77157         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77158         Fix overflow bug in strncat.
77159         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77161         * string/test-strncat.c: Update.
77162         Add new tests for checking overflow bugs.
77164 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77166         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77167         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77168         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77169         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77170         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77171         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77172         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77173         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77174         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77176         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77177         (USE_AS_STRCAT): Define.
77178         Add strcat and strncat support.
77179         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77181 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77183         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77184         __n bigger than INT_MAX+1.
77185         (__strncmp_g): Likewise.
77187 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77189         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77190         * libio/stido.h: Likewise.
77192         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77193         (AF_NFC): Define.
77194         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77195         (AF_NFC): Define.
77197         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77198         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77199         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77200         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77201         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77203         [BZ #13021]
77204         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77205         installed.
77207         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77208         typo.
77209         (_dl_x86_64_save_sse): Likewise.
77211 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77213         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77214         OSXSAVE.
77215         (_dl_x86_64_save_sse): Likewise.
77217         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77219         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77221 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77223         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77224         change.
77225         (_dl_x86_64_save_sse): Use correct AVX check.
77227 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77229         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77230         bug in strncpy/strncat.
77231         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77233 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77235         * string/tester.c (test_strcat): Add tests for different alignments
77236         of source and destination.
77237         (test_strncat): Likewise.
77239 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77241         [BZ #12852]
77242         * posix/glob.c (glob): Check passed in values before using them in
77243         expressions to avoid some overflows.
77244         (glob_in_dir): Likewise.
77246         [BZ #13007]
77247         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77248         check for AVX enablement so that we don't crash with old kernels and
77249         new hardware.
77250         * elf/tst-audit4.c: Add same checks here.
77251         * elf/tst-audit6.c: Likewise.
77253         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77255 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77257         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77259 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77261         * po/cs.po: Update from translation team.
77262         * po/bg.po: Likewise.
77264 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77266         * misc/sys/cdefs.h: Add support for const attribute.
77267         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77268         to gnu_dev_{major,minor,makedev} functions.
77270 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77272         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77274 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77276         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77277         strlen results.
77279 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77281         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77282         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77283         register in order to avoid conflicts with the soft frame pointer
77284         being held in r11 when necessary.
77285         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77286         (INTERNAL_VSYSCALL_NCS): Likewise.
77288 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77290         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77291         * elf/dl-fini.c (_dl_fini): Adjust caller.
77292         * elf/dl-close.c (_dl_close_worker): Likewise.
77293         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77295 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77297         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77298         "aux_cache->nlibs < 0".
77300         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77301         in the reload-count case.
77303 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77306         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77307         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77308         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77309         * sysdeps/x86_64/multiarch/strcat.S: New file.
77310         * sysdeps/x86_64/multiarch/strncat.S: New file.
77311         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77312         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77313         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77314         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77315         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77316         (USE_AS_STRCAT): Define.
77317         Add strcat and strncat support.
77318         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77319         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77320         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77321         * string/strncat.c: Update.
77322         (USE_AS_STRNCAT): Define.
77323         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77324         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77325         and i7.
77326         * sysdeps/x86_64/multiarch/init-arch.h
77327         (bit_Prefer_PMINUB_for_stringop): New.
77328         (index_Prefer_PMINUB_for_stringop): Likewise.
77329         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77330         bit_Prefer_PMINUB_for_stringop.
77332 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77334         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77335         buffer64.
77336         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77337         of casting of buffer.
77338         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77339         buffer32 and buffer64.
77340         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77341         writes instead of casting of buffer.
77342         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77343         buffer32.
77344         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77345         casting of buffer.
77347 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77349         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77351 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77353         * nscd/nscd.c (termination_handler): Don't do anything for a database
77354         if it has not yet been initialized.
77356 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77358         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77360 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77362         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77364 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77366         * po/nl.po: Update from translation team.
77367         * po/sv.po: Likewise.
77369 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77371         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77372         now disallowed by GCC.
77374         * configure.in (use-default-link): Default to yes if a test -shared
77375         link meets our qualifications.
77376         * configure: Regenerated.
77378         * config.make.in (output-format): New variable.
77379         * configure.in: Check for ld --print-output-format support.
77380         * configure: Regenerated.
77381         * Makerules ($(common-objpfx)format.lds)
77382         [$(output-format) != unknown]: Just use $(output-format),
77383         instead of the linker-script munging.
77385 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77387         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77388         of $(common-objpfx)shlib.lds.
77389         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77391         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77392         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77394         * configure.in (-z relro check): Adjust test code to add a large
77395         writable data section after it.
77396         * configure: Regenerated.
77398 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77400         * configure.in (-z relro check): Fix test code to make the variable
77401         truly const.
77402         * configure: Regenerated.
77404 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77406         * nscd/nscd.h (struct traced_file): Define.
77407         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77408         elements.  Add traced_files.
77409         (inotify_fd): Declare.
77410         (register_traced_file): Declare.
77411         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77412         (inotify_fd): Export.
77413         (resolv_conf_descr): Remove.
77414         (nscd_init): Move inotify descriptor creation to main.
77415         Don't register files for notification here.
77416         (register_traced_file): New function.
77417         (invalidate_cache): Don't use reset_res to determine whether to call
77418         res_init, go through the list of registered files.
77419         (main_loop_poll): The inotify descriptors are now stored in the
77420         structures for the traced files.
77421         (main_loop_epoll): Likewise.
77422         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77423         to __nss_disable_nscd.
77424         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77425         for a database anymore.  Check the records for all the registered
77426         files instead.
77427         * nss/Makefile (libnss_files-routines): Add files-init.
77428         (libnss_db-routines): Add db-init.
77429         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77430         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77431         * nss/nss_db/db-init.c: New file.
77432         * nss/nss_files/files-init.c: New file.
77433         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77434         __nss_lookup_function.
77435         (__nss_lookup_function): Call nss_load_library.
77436         (nss_load_all_libraries): New function.
77437         (__nss_disable_nscd): Take parameter with callback function for files
77438         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77439         used for the cached services.
77440         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77441         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77442         options for features to all the files in nscd.
77444         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77446 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77448         * csu/elf-init.c (__libc_csu_init): Comment typo.
77450 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77452         * po/pl.po: Update from translation team.
77453         * po/ja.po: Likewise.
77454         * po/ru.po: Likewise.
77455         * po/ko.po: Likewise.
77456         * po/fr.po: Likewise.
77458 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77460         * configure.in (.ctors/.dtors header and trailer check):
77461         Use an empirical test on a built program.
77462         * configure: Regenerated.
77464         * configure.in (-z relro check): Use an empirical test on a built DSO.
77465         Detect, but do not require, on ia64.
77466         * configure: Regenerated.
77468         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77469         Update tests that use readelf to use $READELF instead.
77470         * configure: Regenerated.
77472 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77474         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77475         if the result is not used.
77477 2011-07-05  Andreas Jaeger  <aj@suse.de>
77479         [BZ#9696]
77480         * stdlib/tst-strtod.c: Add testcase.
77482 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77484         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77485         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77486         The latter has a higher limit.  Take additional parameter to pass to
77487         the new function.
77488         (__pathconf): Pass file to __statfs_link_max.
77489         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77490         __statfs_link_max.
77491         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77492         __statfs_link_max.
77494         [BZ #12868]
77495         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77496         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77497         Handle Lustre.
77498         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77499         (__statfs_filesize_max): Likewise.
77500         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77502 2011-07-05  Andreas Jaeger  <aj@suse.de>
77504         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77506 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77508         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77509         `status' variable.
77510         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77511         Likewise.
77513 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77515         * Makefile (strop-tests): Add strncat.
77516         * string/test-strncat.c: New file.
77518 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77520         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77522 2011-06-21  Andreas Jaeger  <aj@suse.de>
77524         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77525         Copy rule from iconvdata/Makefile.
77527 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77529         [BZ #12922]
77530         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77531         but no long options are defined, just return 'W'.
77533 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77535         [BZ #9696]
77536         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77538 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77540         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77541         netgroups to read.
77542         (innetgr): Likewise.
77544 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77546         * config.make.in (install_root): Default to $(DESTDIR).
77548 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77550         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77552 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77554         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77556         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77557         containing directory rather than embedding absolute directory names.
77559         * scripts/check-local-headers.sh: Rewritten using awk.
77560         Match by word, not by line.  Print error messages for matches.
77561         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77563         * Makerules [shlib-lds-flags empty]:
77564         ($(common-objpfx)libc_pic.opts): New target.
77565         ($(common-objpfx)libc_pic.os.clean): New target.
77566         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77568         * config.make.in (OBJCOPY): New variable.
77569         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77570         * configure: Regenerated.
77572         * config.make.in (use-default-link): New variable.
77573         * configure.in (use_default_link): Grok --with-default-link to set it.
77574         * configure: Regenerated.
77575         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
77576         (shlib-lds, shlib-lds-flags): Define to empty.
77578         * Makerules (shlib-lds): New variable.
77579         (shlib-lds-flags): New variable.
77580         (build-shlib, build-moduile, build-module-asneeded): Use it.
77581         ($(common-objpfx)libc.so): Use $(shlib-lds).
77582         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
77583         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
77585         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
77586         DT_FLAGS/DT_FLAGS_1 with zero flags.
77588         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
77589         linker script munging.
77591 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
77593         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
77594         as 128-bit value.
77595         * crypt/sha512.c (sha512_process_block): Perform total addition using
77596         128-bit if possible.
77597         (__sha512_finish_ctx): Likewise.
77598         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
77599         as 64-bit value.
77600         * crypt/sha256.c (SWAP64): Define.
77601         (sha256_process_block): Perform total addition using 64-bit if
77602         possible.
77603         (__sha256_finish_ctx): Likewise.
77605 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
77607         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
77608         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77609         * nscd/hstcache.c (cache_addhst): Likewise.
77610         * nscd/grpcache.c (cache_addgr): Likewise.
77611         * nscd/aicache.c (addhstaiX): Likewise.
77612         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
77614 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
77616         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
77617         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77618         * nscd/hstcache.c (cache_addhst): Likewise.
77619         * nscd/grpcache.c (cache_addgr): Likewise.
77620         * nscd/aicache.c (addhstaiX): Likewise.
77622 2011-07-01  Andreas Schwab  <schwab@redhat.com>
77624         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
77625         domain only when needed.
77627 2011-06-30  Andreas Schwab  <schwab@redhat.com>
77629         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
77630         is always restored.
77632 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
77634         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
77635         are re-adding the entry.
77636         * nscd/servicescache.c (cache_addserv): Likewise.
77638 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
77640         * sysdeps/generic/dl-irel.h: fix protection against multiple
77641         inclusions.
77642         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
77644 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
77646         [BZ #12935]
77647         * malloc/memusage.sh: Fix quoting in message.
77648         * debug/xtrace.sh: Likewise.
77650         * configure.in: Remove support for --experimental-malloc option, make
77651         it the default.
77652         * config.make.in: Likewise.
77653         * malloc/Makefile: Likewise.
77655 2011-06-27  Andreas Schwab  <schwab@redhat.com>
77657         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
77658         two-byte characters.
77660 2011-06-27  Roland McGrath  <roland@hack.frob.com>
77662         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
77663         AC_CACHE_CHECK invocation.
77664         * configure: Regenerated.
77666         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
77668 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
77670         [BZ #12350]
77671         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
77672         bit from old_res_options.
77674         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
77676         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
77677         value type for setfct.
77679 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
77681         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77682         __gettimeofday instead of gettimeofday.
77684 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
77686         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
77688 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
77690         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
77692         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
77693         info.
77695 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77698         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77699         strcpy-sse2-unaligned strncpy-sse2-unaligned
77700         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
77701         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
77702         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
77703         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
77704         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
77705         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
77706         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
77707         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
77708         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
77709         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
77710         (STRCPY): Support SSE2 and SSSE3 versions.
77712 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
77714         [BZ #12874]
77715         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
77716         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
77717         kernels which artificially limit size of requests.
77719 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
77721         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77722         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
77723         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
77724         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
77725         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
77726         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
77727         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
77728         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
77729         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
77730         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
77731         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
77732         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
77733         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
77734         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
77735         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
77736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77737         Enable unaligned load optimization for Intel Core i3, i5 and i7
77738         processors.
77739         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
77740         Define.
77741         (index_Fast_Unaligned_Load): Define.
77742         (HAS_FAST_UNALIGNED_LOAD): Define.
77744 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
77746         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
77748 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77750         [BZ #12907]
77751         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
77752         until it is clear that the information is realy needed.
77753         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
77755 2011-06-22  Andreas Schwab  <schwab@redhat.com>
77757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77759 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77761         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77762         /sys/devices/system/cpu/online if it is usable.
77764         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77765         reading the information from the /proc filesystem to once a second.
77767 2011-06-21  Andreas Jaeger  <aj@suse.de>
77769         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77770         NULL after inclusion of kernel headers.
77772 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77774         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77775         calls to internal_setent.
77777         [BZ #12885]
77778         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77779         addresses using gethostbyname4_r ignore IPv4 addresses.
77781         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77782         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77784         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77786 2011-06-20  David S. Miller  <davem@davemloft.net>
77788         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77789         inclusions.
77790         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77792         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77793         (elf_irel): Use it.
77794         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77795         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77796         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77797         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77798         * sysdeps/x86_64/dl-irel.h: Likewise.
77800         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77801         * elf/dl-sym.c: Likewise.
77803 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77805         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77806         need to dereference resplen2.
77808 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77810         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77812 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77814         * Makeconfig: Define vardbdir and inst_vardbdir.
77815         * nss/Makefile: Add rules to install db-Makefile.
77817         * nss/nss_db/db-XXX.c: Cleanup.
77819         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77820         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77821         GLIBC_PRIVATE.
77822         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77823         * nss/makedb.c: Implement -g option to specify that value strings
77824         are generated and should not be added to table iterated over for
77825         get*ent calls.
77826         * nss/nss_db/db-initgroups.c: New file.
77828         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77829         interface.
77831         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77832         (internal_getgrouplist): Adjust to name change.
77833         Update use_initgroups_entry if this is not the first call.
77834         * nss/databases.def: Add initgroups entry.
77836         * nss/makedb.c (compute_tables): Check result of multiple hash table
77837         sizes to minimize maximum chain length.
77839 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77841         * Versions.def: Add entry for libnss_db.
77842         * shlib-versions: Likewise.
77843         * nss/Makefile: Add rules to build libnss_db.
77844         * nss/Versions: Add libnss_db information.  Organize libnss_files
77845         entries better.
77846         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77847         makedb progra.  Some minor improvements to generate smaller files.
77848         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77849         here from...
77850         * nss/makedb.c: ...here.
77851         Improve database format to be smaller and require less memory at
77852         runtime.
77853         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77854         db anymore.
77855         * nss/nss_db/db-netgrp.c: Likewise.
77856         * nss/nss_db/db-open.c: Likewise.
77857         * nss/nss_files/flies-XXX.x: Adjust comments.
77858         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77859         * nss/nss_files/files-grp.c: Likewise.
77860         * nss/nss_files/files-hosts.c: Likewise.
77861         * nss/nss_files/files-network.c: Likewise.
77862         * nss/nss_files/files-proto.c: Likewise.
77863         * nss/nss_files/files-pwd.c: Likewise.
77864         * nss/nss_files/files-rpc.c: Likewise.
77865         * nss/nss_files/files-service.c: Likewise.
77866         * nss/nss_files/files-sgrp.c: Likewise.
77867         * nss/nss_files/files-spwd.c: Likewise.
77868         * nss/nss_db/db-alias.c: Removed.
77869         * nss/nss_db/dummy-db.h: Removed.
77871 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77873         * nss/makedb.c: Rewritten to not use database library.
77874         * nss/Makefile: Update to build new makedb program.
77876 2011-06-14  Andreas Jaeger  <aj@suse.de>
77878         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77879         memset declaration.
77881 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77884         tmpbuf.
77886 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77888         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77889         * elf/Makefile ($(objpfx)ld.so): Likewise.
77891         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77892         Don't list ld.so twice in dependencies.
77894         * posix/bug-regex31.c: Include <stdlib.h>.
77896         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77898         * nis/nss_compat/compat-spwd.c
77899         (getspent_next_nss_netgr): Remove unused variable.
77900         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77902         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77903         nonmembers" output to use the right array.
77905         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77907         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77909         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77910         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77911         * catgets/gencat.c (read_input_file): Likewise.
77912         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77914         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77915         variable definition inside #if's controlling its use.
77917         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77919         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77921         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77923         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77924         unreachable code.
77926         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77928         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77929         * configure: Regenerated.
77931         * Makerules: Revert last change.
77932         * elf/Makefile: Likewise.
77934 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77936         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77937         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77938         (reloc-link): Likewise.
77940 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77942         * elf/Makefile: Add rules to build pldd.
77943         * elf/pldd.c: New file.
77944         * elf/pldd-xx.c: New file.
77946 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77948         * version.h: Update for 2.15 development version.
77950 2011-06-07  David S. Miller  <davem@davemloft.net>
77952         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77953         ifuncs.
77954         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77955         elf_machine_lazy_rel): Likewise.
77956         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77957         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77958         elf_machine_lazy_rel): Likewise.
77959         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77960         dl_hwcap via passed in argument.
77961         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77962         Likewise.
77964 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77966         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77968 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77970         [BZ #12849]
77971         * manual/fdl-1.1.texi: New file, verbatim from:
77972         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77973         * manual/lgpl-2.1.texi: New file, verbatim from:
77974         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77975         * manual/Makefile (licenses): New variable, list those new file names.
77976         (texis): Use it.
77977         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77979         * manual/fdl.texi: File removed.
77980         * manual/lesser.texi: File removed.
77981         * manual/libc.texinfo (Copying, Documentation License):
77982         Use new @include file names, put @appendix directive before @include.
77984 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77986         [BZ #12841]
77987         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77988         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77989         (mq_open): Add __NTH.
77991 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77994         Assume Intel Core i3/i5/i7 processor if AVX is available.
77996 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77998         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77999         typo.
78001 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78003         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78004         memory.  Use alloca_account.  Fix memory leak when retrying.
78006 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78008         * version.h (RELEASE): Bump for 2.14 release.
78009         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78011         * config.make.in (RANLIB): Remove entry.
78013 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78015         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78016         (libc.pot): Work around missing support for .ksh extension in xgettext.
78018         [BZ #12684]
78019         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78020         if both request failed.
78021         (send_dg): In case of server errors clear resplen or *resplen2.
78023         [BZ #12454]
78024         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78025         when there are multiple maps.
78026         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78027         (_dl_fini): Remove test here.
78029         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78031 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78033         [BZ #12350]
78034         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78035         bit from old_res_options.
78036         (gaih_inet): Likewise.
78038         [BZ #11099]
78039         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78040         as signed.
78042         * resolv/res_init.c (res_setoptions): Make the code more compact.
78044         [BZ #11558]
78045         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78046         set RES_USEVC.
78048         [BZ #11634]
78049         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78051         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78053         [BZ #11781]
78054         * malloc/malloc.h: Declare malloc hook variables as volatile.
78056         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78057         in last patch.
78059         [BZ #11799]
78060         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78061         raise in the comment.
78062         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78063         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78064         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78066 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78068         [BZ #12811]
78069         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78070         grow the buffers more if it already has to be sufficient.
78071         (build_wcs_upper_buffer): Likewise.
78072         * posix/regexec.c (check_matching): Likewise.
78073         (clean_state_log_if_needed): Likewise.
78074         (extend_buffers): Don't enlarge buffers beyond size of the input
78075         buffer.
78076         Patches mostly by Emil Wojak <emil@wojak.eu>.
78077         * posix/bug-regex32.c: New file.
78078         * posix/Makefile (tests): Add bug-regex32.
78080         * locale/findlocale.c (_nl_find_locale): Return right away if
78081         _nl_explode_name failed.
78082         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78084         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78086         * debug/xtrace.sh: Unify messages.
78087         * malloc/memusage.sh: Likewise.
78089         [BZ #12813]
78090         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78091         time symbol from vDSO.  Substitute with vsyscall if not available.
78092         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78093         __vdso_time.
78095         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78096         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78097         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78098         Add sendmmsg and internal_sendmmsg.
78099         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78100         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78101         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78103         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78104         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78105         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78107 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78109         [BZ #12813]
78110         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78111         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78112         available.
78113         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78114         __vdso_getcpu.
78116         [BZ #12814]
78117         * iconvdata/Makefile (tests): Add bug-iconv9.
78118         * iconvdata/bug-iconv9.c: New file.
78120 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78122         [BZ #12814]
78123         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78125 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78127         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78128         (struct user_regs_struct): Change intcs field back to cs.
78130 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78132         * po/ja.po: Update from translation team.
78134 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78136         [BZ #12795]
78137         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78138         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78140 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78142         * stdlib/longlong.h: Update from GCC.
78144 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78146         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78147         parameter name.
78148         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78149         Add parameter name.
78150         (__sysconf): Pass it down.
78152 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78154         [BZ #12671]
78155         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78156         some situations.
78157         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78158         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78159         add in in __libc_use_alloca calls.  Adjust callers.
78160         (glob): Use malloc in some situations.
78162         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78163         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78164         pltexit.
78166 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78168         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78169         and CLOCK_BOOTTIME_ALARM.
78171         [BZ #12782]
78172         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78173         is returned.
78175         * string/_strerror.c (__strerror_r): Print negative errors as signed
78176         numbers.
78178         [BZ #12777]
78179         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78180         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78181         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78183         * configure.in: Fix typo in redirection and correct removal of test
78184         files in two cases.
78186         [BZ #12788]
78187         * locale/setlocale.c (new_composite_name): Fix test to check for
78188         identical name of all categories.
78190         [BZ #12792]
78191         * libio/filedoalloc.c (local_isatty): New function.
78192         (_IO_file_doallocate): Use local_isatty.
78193         * stdio-common/perror.c (perror): In case a new stream is used
78194         forward the stream error.
78195         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78196         error flag.
78198 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78200         [BZ #11884]
78201         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78202         alloca.
78203         * include/alloca.h (extend_alloca_account): Define.
78205         [BZ #11857]
78206         * posix/regex.h: Fix comments with documentation of user-accessible
78207         fields after compilation and describe correct free'ing of pattern
78208         after re_compile_pattern.
78209         Patch by Reuben Thomas <rrt@sc3d.org>.
78211 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78213         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78214         and -mno-altivec to prevent the compiler from using Altivec and/or
78215         VSX instructions when the corresponding registers are not available.
78217 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78219         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78221 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78223         * libio/freopen.c (freopen): Use __dup2, not dup2.
78224         * libio/freopen64.c (freopen64): Likewise.
78226 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78228         [BZ #12775]
78229         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78230         * math/Makefile (tests): Add test-powl.
78231         (CFLAGS-test-powl.c): Define.
78232         * math/test-powl.c: New file.
78234 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78236         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78238 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78240         [BZ #11837]
78241         * iconvdata/gb18030.c: Update to GB18020-2005.
78243 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78245         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78246         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78247         Patch by Aharon Robbins <arnold@skeeve.com>.
78249         [BZ #11892]
78250         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78251         on the stack.
78253         [BZ #11895]
78254         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78255         through underflows.
78257         [BZ #12766]
78258         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78259         point to strings before performing equality test for error_one_per_line
78260         mode.
78262         [BZ #11697]
78263         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78265         [BZ #11820]
78266         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78267         (struct user_fpregs_struct): Avoid __uint*_t types.
78269         [BZ #6420]
78270         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78271         symbol info.  Use it instead of calling _dl_addr locally.
78272         (lock_and_info): New function.
78273         (tr_freehook): Call lock_and_info and pass symbol info as additional
78274         parameter to tr_where.
78275         (tr_mallochook): Likewise.
78276         (tr_reallochook): Likewise.
78277         (tr_memalignhook): Likewise.
78279         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78280         used and couldn't be at all thread-safe.
78282 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78284         * libio/freopen.c (freopen): Don't close old file descriptor
78285         before the new one is opened.  Instead dup the new file descriptor
78286         to the old one after the new stream is created.
78287         * libio/freopen64.c (freopen64): Likewise.
78288         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78289         * libio/fileops.c (_IO_new_file_close_it): Handle new
78290         _IO_FLAGS2_NOCLOSE flag.
78291         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78292         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78293         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78294         _IO_FLAGS2_NOCLOSE flag.
78295         * include/unistd.h: Add hidden_proto for dup3.
78296         Define __have_dup3.
78297         * io/dup3.c: Define hidden symbol.
78298         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78300         [BZ #7101]
78301         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78302         when an incomplete long option is used.
78303         * posix/tst-getopt_long1.c: New file.
78304         * posix/Makefile (tests): Add tst-getopt_long1.
78306         [BZ #10138]
78307         * scripts/config.guess: Update from autoconf-2.68.
78308         * scripts/config.sub: Likewise.
78310         [BZ #10157]
78311         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78312         tests into ...
78313         (has_cpuclock): ...this.  New function.
78314         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78315         macro here based on has_cpuclock code.
78317         [BZ #10149]
78318         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78319         First byte (not low byte) is now always NUL.
78320         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78322         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78323         Use non-cancelable interfaces.
78325         [BZ #9809]
78326         * locale/iso-639.def: Add entry for Sorani.
78328         [BZ #11901]
78329         * include/stdlib.h: Move include protection to the right place.
78330         Define abort_msg_s.  Declare __abort_msg with it.
78331         * stdlib/abort.c (__abort_msg): Adjust type.
78332         * assert/assert.c (__assert_fail_base): New function.  Majority
78333         of code from __assert_fail.  Allocate memory for __abort_msg with
78334         mmap.
78335         (__assert_fail): Now call __assert_fail_base.
78336         * assert/assert-perr.c: Remove bulk of implementation.  Use
78337         __assert_fail_base.
78338         * include/assert.hL Declare __assert_fail_base.
78339         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78340         mmap.
78341         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78343 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78345         [BZ #11952]
78346         [BZ #12453]
78347         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78348         until all modules are registered in the DTV.
78349         * elf/Makefile: Add rules to build and run tst-tls19.
78350         * elf/tst-tls19.c: New file.
78351         * elf/tst-tls19mod1.c: New file.
78352         * elf/tst-tls19mod2.c: New file.
78353         * elf/tst-tls19mod3.c: New file.
78354         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78356         [BZ #12083]
78357         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78358         correctly.
78360         [BZ #12601]
78361         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78362         two-byte sequence errors.
78363         * iconvdata/Makefile (tests): Add bug-iconv8.
78364         * iconvdata/bug-iconv8.c: New file.
78366         [BZ #12626]
78367         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78368         buf2 definition.
78370         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78372         [BZ #12432]
78373         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78374         (dummy_getcfa): New function.
78375         (init): Get _Unwind_GetCFA address, use dummy if not found.
78376         (backtrace_helper): In recursion check, also check whether CFA changes.
78377         (__backtrace): Completely initialize arg.
78379         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78380         storing incomplete byte sequence in state object.  Avoid testing for
78381         guaranteed too small input if we know there is enough data available.
78383 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78385         * Makeconfig (+link-pie): Indent.
78386         * Rules (binaries-pie): Define if $(have-fpie) and
78387         $(build-shared).
78388         (binaries-shared): Also filter out $(binaries-pie).
78389         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78390         * nscd/Makefile (others-pie): Add nscd.
78391         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78392         ($(objpfx)nscd): Remove command override.
78393         * login/Makefile (others-pie): Add pt_chown.
78394         ($(objpfx)pt_chown): Remove command override.
78395         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78396         remove command overrides.
78398 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78400         * libio/tst_putwc.c: Fix error messages.
78402         [BZ #12724]
78403         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78404         currently writing and seek to current position when not.
78405         * libio/Makefile (tests): Add bug-fclose1.
78406         * libio/bug-fclose1.c: New file.
78408 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78410         [BZ #12511]
78411         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78412         don't set DF_1_NODELETE here.
78413         (do_lookup_x): When entering new entry test for copy relocation
78414         and if necessary set DF_1_NODELETE flag.
78415         * elf/tst-unique4.cc: New file.
78416         * elf/tst-unique4.h: New file.
78417         * elf/tst-unique4lib.cc: New file.
78418         * elf/Makefile: Add rules to build and run tst-unique4.
78419         Patch by Piotr Bury <pbury@goahead.com>.
78421 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78423         [BZ #12052]
78424         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78426         [BZ #12625]
78427         * misc/mntent_r.c (addmntent): Flush the stream after the output
78429         [BZ #12393]
78430         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78431         (is_trusted_path_normalize): Skip initial colon.  Append slash
78432         to empty buffer.  Duplicate is_trusted_path code but allow
78433         constructed patch to be prefix.
78434         (is_dst): Allow $ORIGIN followed by /.
78435         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78436         Correct testing of result of is_trusted_path_normalize
78437         (decompose_rpath): Fix warning.
78439 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78441         [BZ #11257]
78442         * grp/initgroups.c (internal_getgrouplist): When we found the service
78443         list through the initgroups entry in nsswitch.conf do not always
78444         continue on a successful lookup.  Don't always use the
78445         __nss_group_database value if it is set.
78446         * nss/nsswitch.conf (initgroups): Change action for successful db
78447         lookup to continue for compatibility.
78449 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78451         [BZ #11532]
78452         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78453         and CP774 modules.
78454         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78455         and CP774 modules.
78456         * iconvdata/tst-tables.sh: Likewise.
78457         * iconvdata/cp770.c: New file.
78458         * iconvdata/cp771.c: New file.
78459         * iconvdata/cp772.c: New file.
78460         * iconvdata/cp773.c: New file.
78461         * iconvdata/cp774.c: New file.
78462         * iconvdata/testdata/CP770: New file.
78463         * iconvdata/testdata/CP770..UTF8: New file.
78464         * iconvdata/testdata/CP771: New file.
78465         * iconvdata/testdata/CP771..UTF8: New file.
78466         * iconvdata/testdata/CP772: New file.
78467         * iconvdata/testdata/CP772..UTF8: New file.
78468         * iconvdata/testdata/CP773: New file.
78469         * iconvdata/testdata/CP773..UTF8: New file.
78470         * iconvdata/testdata/CP774: New file.
78471         * iconvdata/testdata/CP774..UTF8: New file.
78473         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78474         END CHARMAP line.
78475         * iconvdata/gen-8bit-gap.sh: Likewise.
78476         * iconvdata/gen-8bit.sh: Likewise.
78478         * locale/iso-639.def: Add ary entry.
78480         [BZ #11258]
78481         * locale/C-translit.h.in: Add U20A1 transliteration.
78483         [BZ #12178]
78484         * locale/iso-639.def: Add wae entry.
78485         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78487         [BZ #12545]
78488         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78489         for n.
78491         [BZ #12711]
78492         * locale/C-translit.h.in: Add entry for U20B9.
78493         Patch by pravin.d.s@gmail.com.
78495 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78497         [BZ #12713]
78498         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78499         ENAMETOOLONG use generic getcwd.
78500         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78501         in rtld.  Use *stat64.
78502         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78503         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78504         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78505         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78506         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78507         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78508         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78509         __fstatat64 macros.
78510         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78511         * dirent/rewinddir.c: Add libc_hidden_def.
78512         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78513         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78515         * include/dirent.h (__alloc_dir): Add flags parameter.
78516         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78517         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78518         __alloc_dir.
78519         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78520         from fdopendir if O_CLOEXEC is already set.
78522 2011-03-15  Alan Modra  <amodra@gmail.com>
78524         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78525         l_tls_firstbyte_offset non-zero.  Save padding offset in
78526         l_tls_firstbyte_offset for later use.
78527         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78528         freeing static tls block.
78530 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78532         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78533         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78534         being defined by the kernel headers.
78536 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78538         [BZ #12734]
78539         * resolv/resolv.h: Define RES_NOTLDQUERY.
78540         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78541         no-tld-query and set RES_NOTLDQUERY.
78542         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78543         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78544         modern BIND to search name as TLD unless forbidden.
78546 2011-05-07  Petr Baudis  <pasky@suse.cz>
78547             Ulrich Drepper  <drepper@gmail.com>
78549         [BZ #12393]
78550         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78551         (is_trusted_path): ...to here.
78552         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78553         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78554         using is_trusted_path_normalize() in setuid scripts.
78556 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78558         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78559         __BEGIN/__END_DECLS.
78561 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78563         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78564         NSS_STATUS_NOTFOUND if no record was found.
78566 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78568         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78569         (headers-not-in-tirpc): Remove rpc/netdb.h
78570         * resolv/netdb.h: Revert last change.
78572 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78574         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
78575         circular dependency between libgcc.a and libc.a.
78577 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78579         * resolv/netdb.h: Don't include <rpc/netdb.h>.
78580         * nis/Makefile: Don't install rpcsvc/*.
78581         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
78582         instead of <rpc/types.h>.
78583         (MAXHOSTNAMELEN): Define.
78585 2011-05-03  Andreas Schwab  <schwab@redhat.com>
78587         * elf/ldconfig.c (add_dir): Don't crash on empty path.
78589 2011-04-28  Maciej Babinski  <mbabinski@google.com>
78591         [BZ #12714]
78592         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
78593         gethostbyname4_r when IPv6 results are possible.
78595 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
78597         [BZ #12723]
78598         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
78599         _PC_PIPE_BUF handling.
78601 2011-04-30  Bruno Haible  <bruno@clisp.org>
78603         [BZ #12717]
78604         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
78605         * resolv/netdb.h (getnameinfo): Change type of flags parameter
78606         to 'int'.
78607         * inet/getnameinfo.c (getnameinfo): Likewise.
78609 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
78611         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
78612         to groups setting in database lookup.
78613         * nss/nsswitch.conf: Add initgroups entry.
78615 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
78617         [BZ #12685]
78618         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
78619         mode string.
78620         Patch by Eric Blake <eblake@redhat.com>.
78622 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
78624         * sunrpc/Makefile (need-export-routines): Add svc_run.
78625         (routines): Remove svc_run.
78626         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
78627         * sunrpc/clnt_perr.c (clnt_perrno): Export.
78628         * sunrpc/svc_run.c (svc_run): Likewise.
78629         * sunrpc/svc_udp.c (svcudp_create): Likewise.
78631 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
78633         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
78634         problem in reallocation in last patch.
78636 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
78638         * sunrpc/Makefile: Move inclusion of Rules.
78640 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78642         * nss/nss_files/files-initgroups.c: New file.
78643         * nss/Makefile (libnss_files-routines): Add files-initgroups.
78644         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
78645         _nss_files_initgroups_dyn.
78647 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
78649         * elf/elf.h (R_ARM_IRELATIVE): Define.
78651 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
78653         * po/ru.po: Update from translation team.
78655 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78657         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
78658         dependencies.
78660 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
78662         [BZ #12653]
78663         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
78664         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
78665         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78666         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
78667         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
78669 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
78671         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
78672         differing bytes.
78673         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
78674         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
78675         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78677 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
78679         [BZ #12420]
78680         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
78681         storing it.
78682         * stdlib/bug-getcontext.c: New file.
78683         * stdlib/Makefile: Add rules to build and run bug-getcontext.
78685 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78687         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
78688         instructions into .machine "z9-109".
78689         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
78690         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
78692 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78694         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
78695         between environment variables and auxiliary vector.
78697 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
78699         * Makefile: Add rules to build linkobj/libc.so.
78700         * include/libc-symbols.h: Define libc_hidden_nolink.
78701         * include/rpc/auth.h: Mark functions which are to be hidden.
78702         * include/rpc/auth_des.h: Likewise.
78703         * include/rpc/auth_unix.h: Likewise.
78704         * include/rpc/clnt.h: Likewise.
78705         * include/rpc/des_crypt.h: Likewise.
78706         * include/rpc/key_prot.h: Likewise.
78707         * include/rpc/pmap_clnt.h: Likewise.
78708         * include/rpc/pmap_prot.h: Likewise.
78709         * include/rpc/pmap_rmt.h: Likewise.
78710         * include/rpc/rpc_msg.h: Likewise.
78711         * include/rpc/svc.h: Likewise.
78712         * include/rpc/svc_auth.h: Likewise.
78713         * include/rpc/xdr.h: Likewise.
78714         * nis/Makefile: Link all DSOs against linkobj/libc.so.
78715         * nss/Makefile: Likewise.
78716         * sunrpc/Makefile: Don't install headers.  Build library with normal
78717         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
78718         * sunrpc/auth_des.c: Hide exported symbols by default, export some
78719         for the compat linking library.  Remove use of INTDEF/INTUSE.
78720         * sunrpc/auth_none.c: Likewise.
78721         * sunrpc/auth_unix.c: Likewise.
78722         * sunrpc/authdes_prot.c: Likewise.
78723         * sunrpc/authuxprot.c: Likewise.
78724         * sunrpc/clnt_gen.c: Likewise.
78725         * sunrpc/clnt_perr.c: Likewise.
78726         * sunrpc/clnt_raw.c: Likewise.
78727         * sunrpc/clnt_simp.c: Likewise.
78728         * sunrpc/clnt_tcp.c: Likewise.
78729         * sunrpc/clnt_udp.c: Likewise.
78730         * sunrpc/clnt_unix.c: Likewise.
78731         * sunrpc/des_crypt.c: Likewise.
78732         * sunrpc/des_soft.c: Likewise.
78733         * sunrpc/get_myaddr.c: Likewise.
78734         * sunrpc/key_call.c: Likewise.
78735         * sunrpc/key_prot.c: Likewise.
78736         * sunrpc/netname.c: Likewise.
78737         * sunrpc/pm_getmaps.c: Likewise.
78738         * sunrpc/pm_getport.c: Likewise.
78739         * sunrpc/pmap_clnt.c: Likewise.
78740         * sunrpc/pmap_prot.c: Likewise.
78741         * sunrpc/pmap_prot2.c: Likewise.
78742         * sunrpc/pmap_rmt.c: Likewise.
78743         * sunrpc/publickey.c: Likewise.
78744         * sunrpc/rpc_cmsg.c: Likewise.
78745         * sunrpc/rpc_common.c: Likewise.
78746         * sunrpc/rpc_dtable.c: Likewise.
78747         * sunrpc/rpc_prot.c: Likewise.
78748         * sunrpc/rpc_thread.c: Likewise.
78749         * sunrpc/rtime.c: Likewise.
78750         * sunrpc/svc.c: Likewise.
78751         * sunrpc/svc_auth.c: Likewise.
78752         * sunrpc/svc_authux.c: Likewise.
78753         * sunrpc/svc_raw.c: Likewise.
78754         * sunrpc/svc_run.c: Likewise.
78755         * sunrpc/svc_simple.c: Likewise.
78756         * sunrpc/svc_tcp.c: Likewise.
78757         * sunrpc/svc_udp.c: Likewise.
78758         * sunrpc/svc_unix.c: Likewise.
78759         * sunrpc/svcauth_des.c: Likewise.
78760         * sunrpc/xcrypt.c: Likewise.
78761         * sunrpc/xdr.c: Likewise.
78762         * sunrpc/xdr_array.c: Likewise.
78763         * sunrpc/xdr_float.c: Likewise.
78764         * sunrpc/xdr_intXX_t.c: Likewise.
78765         * sunrpc/xdr_mem.c: Likewise.
78766         * sunrpc/xdr_rec.c: Likewise.
78767         * sunrpc/xdr_ref.c: Likewise.
78768         * sunrpc/xdr_sizeof.c: Likewise.
78769         * sunrpc/xdr_stdio.c: Likewise.
78771 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78773         [BZ #12650]
78774         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78775         * sysdeps/ia64/dl-tls.h: Likewise.
78776         * sysdeps/powerpc/dl-tls.h: Likewise.
78777         * sysdeps/s390/dl-tls.h: Likewise.
78778         * sysdeps/sh/dl-tls.h: Likewise.
78779         * sysdeps/sparc/dl-tls.h: Likewise.
78780         * sysdeps/x86_64/dl-tls.h: Likewise.
78781         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78783 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78785         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78786         rpath element also skip the following colon.
78787         (expand_dynamic_string_token): Add is_path parameter and pass
78788         down to DL_DST_REQUIRED and _dl_dst_substitute.
78789         (decompose_rpath): Call expand_dynamic_string_token with
78790         non-zero is_path.  Ignore empty rpaths.
78791         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78792         with zero is_path.
78794 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78797         Make cancelable.
78799 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78801         [BZ #12655]
78802         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78803         Patch by Filipe David Manana <fdmanana@apache.org>.
78805 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78807         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78808         Maintain aligned stack.
78809         (CHECK_RSP): Remove unused macro.
78811 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78813         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78814         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78816 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78818         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78820         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78822 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78824         [BZ #12518]
78825         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78826         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78827         * sysdeps/x86_64/memmove.c: New file.
78828         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78829         (memcpy): Renamed to ...
78830         (__new_memcpy): This.
78831         (memcpy): Provide GLIBC_2_14 memcpy.
78832         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78833         (memcpy): Provide GLIBC_2_2_5 memcpy.
78835 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78837         [BZ #12631]
78838         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78840 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78842         * misc/syncfs.c: New file.
78843         * misc/Makefile (routines): Add syncfs.
78844         * posix/unistd.h: Declare syncfs.
78845         * sysdeps/unix/syscalls.list: Add syncfs.
78847 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78849         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78850         open_by_handle_at.
78851         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78852         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78853         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78854         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78856         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78857         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78859 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78861         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78862         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78863         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78864         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78865         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78866         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78867         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78869         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78870         sync_file_range.c with -fexceptions.
78871         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78872         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78873         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78874         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78875         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78876         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78877         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78878         sync_file_range as cancellation point
78879         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78880         now a wrapper around __call_sync_file_range with cancellation handling.
78881         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78882         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78883         function name to __call_sync_file_range.
78884         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78885         Add call_sync_file_range.
78887 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78890         bits/timex.h.
78892 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78894         * iconv/iconv.h: Fix typo in comment.
78895         * io/fcntl.h: Likewise.
78896         * libio/stdio.h: Likewise.
78897         * posix/spawn.h: Likewise.
78898         * posix/unistd.h: Likewise.
78899         * stdlib/stdlib.h: Likewise.
78900         * time/time.h: Likewise.
78901         * wcsmbs/wchar.h: Likewise.
78903         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78904         open_by_handle): Add.
78905         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78906         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78907         Augment a few comments.
78908         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78909         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78910         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78911         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78912         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78913         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78914         open_by_handle.
78916         * io/fcntl.h (AT_EMPTY_PATH): Define.
78918 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78920         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78921         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78922         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78923         to...
78924         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78925         * Versions.def: Add GLIBC_2.14.
78926         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78927         Export.
78929 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78931         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78932         round counter.
78933         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78935 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78937         [BZ #12597]
78938         * string/test-strncmp.c (do_page_test): New function.
78939         (check2): Likewise.
78940         (test_main): Call check2.
78941         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78943 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78945         [BZ #12587]
78946         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78947         Handle cache information in CPU leaf 4.
78948         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78950 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78952         [BZ #12583]
78953         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78954         character representation.
78955         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78957 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78959         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78960         END(__isnan) to END(__isnanf) to match function entry point/label
78961         EALIGN(__isnanf,...).
78963 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78965         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78967 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78969         [BZ #12510]
78970         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78971         copy from the symbol referenced in the relocation to initialize the
78972         used variable.
78973         Patch by Piotr Bury <pbury@goahead.com>.
78974         * elf/Makefile: Add rules to build and tst-unique3.
78975         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78976         * elf/tst-unique3.cc: New file.
78977         * elf/tst-unique3.h: New file.
78978         * elf/tst-unique3lib.cc: New file.
78979         * elf/tst-unique3lib2.cc: New file.
78981         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78983 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78985         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78986         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78987         to _start.
78989 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78991         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78992         to-be-loaded object along a path to loader is ld.so.
78994 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78995             Ulrich Drepper  <drepper@gmail.com>
78997         * sysdeps/x86_64/memset.S: After aligning destination, code
78998         branches to different locations depending on the value of
78999         misalignment, when multiarch is enabled. Fix this.
79001 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79003         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79004         Set _x86_64_preferred_memory_instruction for AMD processsors.
79005         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79006         Set bit_Prefer_SSE_for_memop for AMD processors.
79008 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79010         * libio/fmemopen.c (fmemopen): Optimize a bit.
79012 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79014         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79016 2011-03-03  Roland McGrath  <roland@redhat.com>
79018         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79020 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79022         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79023         __bzero_ultra1 instead of __memset_ultra1.
79025 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79026             Ulrich Drepper  <drepper@gmail.com>
79028         [BZ #12509]
79029         * include/link.h (struct link_map): Add l_orig_initfini.
79030         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79031         returning unsuccessfully.
79032         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79033         close of a file loaded at startup, restore the original l_initfini
79034         list.
79035         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79036         list, store the pointer.
79037         * elf/Makefile ($(objpfx)noload-mem): New rule.
79038         (noload-ENV): Define.
79039         (tests): Add $(objpfx)noload-mem.
79040         * elf/noload.c: Include <memcheck.h>.
79041         (main): Call mtrace.  Close all opened handles.
79043 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79045         [BZ #12454]
79046         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79047         dependencies are missing.
79049 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79051         Fix __if_freereq crash: Unlike the generic version which uses free,
79052         Hurd needs munmap.
79053         * sysdeps/mach/hurd/ifreq.h: New file.
79055 2011-01-27  Petr Baudis  <pasky@suse.cz>
79056             Ulrich Drepper  <drepper@gmail.com>
79058         [BZ 12445]#
79059         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79060         to extend_alloca().
79061         * stdio-common/bug23.c: New file.
79062         * stdio-common/Makefile (tests): Add bug23.
79064 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79065             Ulrich Drepper  <drepper@gmail.com>
79067         [BZ #12489]
79068         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79069         before performing relro protection.  At old place add assertion
79070         to make sure nothing changed.
79072 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79073             Glauber de Oliveira Costa  <glommer@gmail.com>
79075         * elf/elf.h: Add new ARM TLS relocs.
79077 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79080         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79081         cast from r3.
79082         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79083         'tests' variable.
79084         * sysdeps/wordsize-64/tst-writev.c: New file.
79086 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79088         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79089         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79090         insns in _dl_start to prevent a TOC reference before relocs are
79091         resolved.
79093 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79095         [BZ #12469]
79096         * Makeconfig: Remove RANLIB definition.
79097         * Makerules: Don't use RANLIB.
79098         * aclocal.m4: Remove ranlib test.
79099         * configure.in: No need to check for ranlib.
79100         * elf/rtld-Rules: Don't use RANLIB.
79102 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79104         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79105         protection macro.
79106         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79107         inclusion protection macro.
79109         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79110         SIGRTMIN and SIGRTMAX and print information in that case only when
79111         SIGRTMIN is defined.
79113 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79115         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79116         arginfo fn returning -1.
79118         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79119         and thousands string is zero terminated.
79121 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79124         sysdeps/unix/sysv/linux/bits/socket.h.
79126 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79128         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79129         (__CPU_COUNT): Remove old macros.
79130         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79131         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79132         (__CPU_ALLOC, __CPU_FREE): Add macros.
79133         (__sched_cpualloc, __sched_cpufree): Add declarations.
79135 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79137         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79138         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79139         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79140         (readdhstai): Return value of addhstaiX call.
79141         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79142         (addgrbyX): Return value returned by cache_addgr.
79143         (readdgrbyname): Return value returned by addgrbyX.
79144         (readdgrbygid): Likewise.
79145         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79146         (addpwbyX): Return value returned by cache_addpw.
79147         (readdpwbyname): Return value returned by addhstbyX.
79148         (readdpwbyuid): Likewise.
79149         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79150         (addservbyX): Return value returned by cache_addserv.
79151         (readdservbyname): Return value returned by addservbyX:
79152         (readdservbyport): Likewise.
79153         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79154         (addhstbyX): Return value returned by cache_addhst.
79155         (readdhstbyname): Return value returned by addhstbyX.
79156         (readdhstbyaddr): Likewise.
79157         (readdhstbynamev6): Likewise.
79158         (readdhstbyaddrv6): Likewise.
79159         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79160         (readdinitgroups): Return value returned by addinitgroupsX.
79161         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79162         (prune_cache): Keep track of timeout value of re-added entries.
79163         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79164         * nscd/nscd.h: Adjust prototypes of readd* functions.
79166 2011-02-04  Roland McGrath  <roland@redhat.com>
79168         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79169         (nis_stats): Likewise.
79170         * nis/nis_modify.c (nis_modify): Likewise.
79171         * nis/nis_remove.c (nis_remove): Likewise.
79172         * nis/nis_add.c (nis_add): Likewise.
79174         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79176         * posix/fnmatch_loop.c: Add some consts.
79178         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79180 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79182         [BZ #12460]
79183         * config.make.in (config-cflags-novzeroupper): Define.
79184         * configure.in: Substitute libc_cv_cc_novzeroupper.
79185         * elf/Makefile (AVX-CFLAGS): Define.
79186         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79187         (CFLAGS-tst-auditmod4a.c): Likewise.
79188         (CFLAGS-tst-auditmod4b.c): Likewise.
79189         (CFLAGS-tst-auditmod6b.c): Likewise.
79190         (CFLAGS-tst-auditmod6c.c): Likewise.
79191         (CFLAGS-tst-auditmod7b.c): Likewise.
79192         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79194 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79196         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79197         function to the callback.
79198         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79200 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79202         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79203         of errno.
79205 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79207         [BZ #11724]
79208         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79209         of constructors.
79210         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79211         of destructors.
79212         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79214         [BZ #11724]
79215         * elf/Makefile: Add rules to build and run new test.
79216         * elf/tst-initorder.c: New file.
79217         * elf/tst-initorder.exp: New file.
79218         * elf/tst-initordera1.c: New file.
79219         * elf/tst-initordera2.c: New file.
79220         * elf/tst-initordera3.c: New file.
79221         * elf/tst-initordera4.c: New file.
79222         * elf/tst-initorderb1.c: New file.
79223         * elf/tst-initorderb2.c: New file.
79224         * elf/tst-order-a1.c: New file.
79225         * elf/tst-order-a2.c: New file.
79226         * elf/tst-order-a3.c: New file.
79227         * elf/tst-order-a4.c: New file.
79228         * elf/tst-order-b1.c: New file.
79229         * elf/tst-order-b2.c: New file.
79230         * elf/tst-order-main.c: New file.
79231         New test case by George Gensure <werkt0@gmail.com>.
79233 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79235         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79236         decoding ACE if AI_CANONIDN.
79238 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79240         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79242 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79244         * version.h (RELEASE): Bump for 2.13 release.
79245         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79247         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79249         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79250         MADV_NOHUGEPAGE.
79251         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79252         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79253         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79254         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79255         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79256         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79258         * posix/getconf.c: Update copyright year.
79259         * catgets/gencat.c: Likewise.
79260         * csu/version.c: Likewise.
79261         * debug/catchsegv.sh: Likewise.
79262         * debug/xtrace.sh: Likewise.
79263         * elf/ldconfig.c: Likewise.
79264         * elf/ldd.bash.in: Likewise.
79265         * elf/sprof.c (print_version): Likewise.
79266         * iconv/iconv_prog.c: Likewise.
79267         * iconv/iconvconfig.c: Likewise.
79268         * locale/programs/locale.c: Likewise.
79269         * locale/programs/localedef.c: Likewise.
79270         * malloc/memusage.sh: Likewise.
79271         * malloc/mtrace.pl: Likewise.
79272         * nscd/nscd.c (print_version): Likewise.
79273         * nss/getent.c: Likewise.
79275         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79276         PF_CAIF, and PF_ALG.
79277         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79279 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79281         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79282         (modules-names): Use them.
79283         (ifunc-test-modules, ifunc-pie-tests): Define.
79284         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79285         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79286         (test-extras): Likewise.
79287         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79288         $(compile-command.c).
79289         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79290         (all-built-dso): Define.
79291         (check-textrel.out, check-execstack.out): Depend on it.
79293         * configure.in: Don't override --enable-multi-arch.
79295 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79297         [BZ #6812]
79298         * nscd/hstcache.c (tryagain): Define.
79299         (cache_addhst): Return tryagain not notfound for temporary errors.
79300         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79301         failed.
79303 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79305         [BZ #10563]
79306         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79307         to make the syscall.
79308         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79310         [BZ #12378]
79311         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79312         and fall back to matching as normal character if the string ends before
79313         the matching ']' is found.  This is what POSIX requires.
79314         * posix/testfnm.c: Adjust test result.
79315         * posix/globtest.sh: Adjust test result.  Add new test.
79316         * posix/tst-fnmatch.input: Likewise.
79317         * posix/tst-fnmatch2.c: Add new test.
79319 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79321         * elf/Makefile (check-execstack): Revert last change.  Depend on
79322         check-execstack.h.
79323         (check-execstack.h): New target.
79324         (generated): Add check-execstack.h.
79325         * elf/check-execstack.c: Include "check-execstack.h".
79326         (main): Revert last change.
79327         (handle_file): Return zero if GNU_STACK is absent and
79328         DEFAULT_STACK_PERMS doesn't include PF_X.
79330 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79332         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79333         in child fails because the descriptor is already closed.
79334         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79335         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79336         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79338         [BZ #12397]
79339         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79340         syscall.
79342         [BZ #10484]
79343         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79344         temporary buffer used to handle multi lookups locally.
79345         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79347 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79349         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79350         loader is ld.so.
79352 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79354         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79355         alignment for SSE2.
79357 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79359         [BZ #12394]
79360         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79361         characters.  When rounding increased number of integer digits recompute
79362         number of groups.
79363         * stdio-common/tst-grouping.c: New file.
79364         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79366 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79368         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79369         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79371         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79372         void.
79373         * bits/select.h: Likewise.
79375 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79377         * po/ja.po: Update from translation team.
79379 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79381         [BZ #11155]
79382         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79383         implementation just like for lxstat, fxstatat, et al.
79385 2010-12-27  Jim Meyering  <meyering@redhat.com>
79387         [BZ #12348]
79388         * posix/regexec.c (build_trtable): Return failure indication upon
79389         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79391 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79393         [BZ #12201]
79394         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79395         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79396         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79397         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79399         [BZ #12207]
79400         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79402         [BZ #12204]
79403         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79404         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79406 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79408         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79409         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79410         script has SORT_BY_INIT_PRIORITY.
79411         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79412         NO_CTORS_DTORS_SECTIONS is defined.
79413         * elf/soinit.c: Likewise.
79414         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79415         NO_CTORS_DTORS_SECTIONS is defined.
79416         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79417         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79418         * sysdeps/sh/init-first.c: Likewise.
79419         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79421 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79423         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79424         always use the slow path.
79426 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79428         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79429         similar rule which adds the sysdep directories to the header search in
79430         order to pick up the correct platform stackinfo.h.
79431         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79432         perform test if it is, otherwise return successfully without testing.
79433         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79434         DEFAULT_STACK_PERMS define in stackinfo.h.
79435         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79436         defined in stackinfo.h.
79437         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79438         DEFAULT_STACK_PERMS defined in stackinfo.h.
79439         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79440         * sysdeps/ia64/stackinfo.h: Likewise.
79441         * sysdeps/s390/stackinfo.h: Likewise.
79442         * sysdeps/sh/stackinfo.h: Likewise.
79443         * sysdeps/sparc/stackinfo.h: Likewise.
79444         * sysdeps/x86_64/stackinfo.h: Likewise.
79445         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79446         PF_X for powerpc64.  Retain PF_X for powerpc32.
79448 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79450         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79451         accurately.
79452         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79453         GETDENTS_64BIT_ALIGNED.
79455 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79457         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79459 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79461         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79462         _GNU_SOURCE.
79464         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79465         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79466         Remove __restrict.
79467         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79468         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79470 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79472         [BZ #11655]
79473         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79474         are initialized.
79476 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79478         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79480 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79482         * po/it.po: Update from translation team.
79484 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79486         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79487         unused codes.
79489 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79491         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79493 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79495         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79496         specially.
79497         (gaih_getanswer_slice): Likewise.
79499 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79501         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79503 2010-05-31  Petr Baudis  <pasky@suse.cz>
79505         [BZ #11149]
79506         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79507         silently even in the chroot mode.
79509 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79511         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79512         last patch a bit.  Pretty printing
79514 2010-05-31  Petr Baudis <pasky@suse.cz>
79516         [BZ #10085]
79517         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79518         initialization of skip_initgroups_dyn.
79520 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79522         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79523         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79525 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79527         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79529 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79531         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79532         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79533         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79534         ($(objpfx)tst-fnmatch-mem): New rule.
79535         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79536         * posix/tst-fnmatch.c (main): Call mtrace.
79538 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79541         Support Intel processor model 6 and model 0x2c.
79543 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79545         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79546           signed comparison.
79548 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79550         [BZ #12205]
79551         * string/test-strncasecmp.c (check_result): New function.
79552         (do_one_test): Use it.
79553         (check1): New function.
79554         (test_main): Use it.
79555         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79556         Support strcasecmp and strncasecmp.
79558 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79560         [BZ #12194]
79561         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79562         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79564 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79566         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79567         IFUNC support.
79568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79569         memset-x86-64.
79570         * sysdeps/x86_64/multiarch/bzero.S: New file.
79571         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79572         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
79573         * sysdeps/x86_64/multiarch/memset.S: New file.
79574         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
79575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79576         Set bit_Prefer_SSE_for_memop for Intel processors.
79577         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
79578         Define.
79579         (index_Prefer_SSE_for_memop): Define.
79580         (HAS_PREFER_SSE_FOR_MEMOP): Define.
79582 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
79584         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
79585         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
79587 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
79589         [BZ #12191]
79590         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79591         (__x86_64_raw_data_cache_size_half): Likewise.
79592         (__x86_64_raw_shared_cache_size): Likewise.
79593         (__x86_64_raw_shared_cache_size_half): Likewise.
79595         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
79596         (__x86_64_raw_data_cache_size_half): Likewise.
79597         (__x86_64_raw_shared_cache_size): Likewise.
79598         (__x86_64_raw_shared_cache_size_half): Likewise.
79599         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
79600         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
79601         and __x86_64_raw_shared_cache_size_half.  Round
79602         __x86_64_data_cache_size_half, __x86_64_data_cache_size
79603         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
79604         to multiple of 256 bytes.
79606 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
79608         [BZ #12167]
79609         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
79610         of inacessible symlinks.  Verify result of symlink before returning it.
79611         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
79612         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
79614 2010-10-28  Erich Ritz  <erichritz@gmail.com>
79616         * math/math.h (isinf): Fix typo in comment.
79618 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
79620         * po/da.po: Update from translation team.
79622 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
79624         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
79625         is added to the list.
79627 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79628             Ulrich Drepper  <drepper@gmail.com>
79630         * elf/dl-object.c (_dl_new_object): Don't append the new object to
79631         the global list here.  Move code to...
79632         (_dl_add_to_namespace_list): ...here.  New function.
79633         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
79634         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
79635         * elf/dl-load.c (lose): Don't remove the element from the list.
79636         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
79637         (_dl_map_object): Likewise.
79639 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
79641         [BZ #12159]
79642         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
79643         into all bytes of SSE register.
79644         Patch by Richard Li <richardpku@gmail.com>.
79646 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
79648         [BZ #12140]
79649         * malloc/malloc.c (_int_free): Fill correct number of bytes when
79650         perturbing.
79652 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
79654         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
79655         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
79656         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
79657         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
79658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
79659         submachine.
79660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
79662 2010-10-22  Andreas Schwab  <schwab@redhat.com>
79664         * include/dlfcn.h (__RTLD_SECURE): Define.
79665         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
79666         mode & __RTLD_SECURE instead.
79667         (open_path): Rename preloaded parameter to secure.
79668         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
79669         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
79670         * elf/dl-deps.c (openaux): Likewise.
79671         * elf/rtld.c (struct map_args): Remove is_preloaded.
79672         (map_doit): Don't use it.
79673         (dl_main): Likewise.
79674         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
79675         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
79677 2010-09-09  Andreas Schwab  <schwab@redhat.com>
79679         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
79680         (sysd-rules-targets): Remove duplicates.
79681         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
79682         rtld-%.$o dependency.
79684 2010-10-18  Andreas Schwab  <schwab@redhat.com>
79686         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
79687         _dl_map_object do it.
79689 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
79691         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
79692         fast fma builtins, define the macros in the C99 standard.
79693         (FP_FAST_FMAF): Likewise.
79694         (FP_FAST_FMAL): Likewise.
79695         * sysdeps/x86_64/bits/mathdef.h: Likewise.
79697         * bits/mathdef.h: Update copyright year.
79698         * sysdeps/powerpc/bits/mathdef.h: Likewise.
79700 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
79702         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
79703         builtins, define the macros in the C99 standard.
79704         (FP_FAST_FMAF): Likewise.
79705         (FP_FAST_FMAL): Likewise.
79706         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
79707         multiply/add.
79708         (FP_FAST_FMAF): Likewise.
79710 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
79712         [BZ #3268]
79713         * math/libm-test.inc (fma_test): Some new testcases.
79714         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
79715         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
79716         y and infinite z.  Do multiplication by C already in long double.
79717         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
79718         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
79719         y and infinite z.  Do bitwise or of inexact bit into u.d.
79720         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
79721         * sysdeps/i386/fpu/s_fmaf.S: Removed.
79722         * sysdeps/i386/fpu/s_fma.S: Removed.
79723         * sysdeps/i386/fpu/s_fmal.S: Removed.
79725 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
79727         [BZ #3268]
79728         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
79729         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
79730         computation is not scheduled after fetestexcept.  Fix value
79731         of minimum denormal long double.
79733 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
79735         [BZ #3268]
79736         * math/libm-test.inc (fma_test): Add some more tests.
79737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
79738         correctly.
79740 2010-10-15  Andreas Schwab  <schwab@redhat.com>
79742         * scripts/data/localplt-s390-linux-gnu.data: New file.
79743         * scripts/data/localplt-s390x-linux-gnu.data: New file.
79745 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
79747         [BZ #3268]
79748         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
79749         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
79750         instead of dbl-64.
79751         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
79752         inlines.
79753         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
79754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
79755         if one of x and y is very large and the other is subnormal.
79756         * sysdeps/s390/fpu/s_fmaf.c: New file.
79757         * sysdeps/s390/fpu/s_fma.c: New file.
79758         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79759         * sysdeps/powerpc/fpu/s_fma.S: New file.
79760         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79761         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79762         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79764 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79766         [BZ #3268]
79767         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79768         fma tests.
79769         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79770         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79771         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79772         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79773         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79774         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79775         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79777 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79779         [BZ #12078]
79780         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79781         * posix/bug-regex31.input: Add test case.
79783 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79785         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79786         * posix/bug-regex31.input: New file.
79788         [BZ #12078]
79789         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79790         (parse_sub_exp): Fix last change, use postorder.
79792         * posix/bug-regex31.c: New file.
79793         * posix/Makefile: Add rules to build and run bug-regex31.
79795         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79797         [BZ #12078]
79798         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79800         [BZ #12108]
79801         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79802         to have entries in sys_siglist.
79804         [BZ #12093]
79805         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79806         be NULL.
79808 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79810         [BZ #3268]
79811         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79812         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79813         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79814         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79815         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79816         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79817         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79818         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79819         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79820         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79821         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79822         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79823         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79824         * math/ftestexcept.c (fetestexcept): Likewise.
79825         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79826         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79827         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79828         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79829         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79830         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79831         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79833 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79835         [BZ #12107]
79836         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79837         newline.
79839 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79841         * string/bug-strstr1.c: New file.
79842         * string/Makefile: Add rules to build and run bug-strstr1.
79844 2010-10-05  Eric Blake  <eblake@redhat.com>
79846         [BZ #12092]
79847         * string/str-two-way.h (two_way_long_needle): Always clear memory
79848         when skipping input due to the shift table.
79850 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79852         [BZ #12005]
79853         * malloc/mcheck.c: Handle large requests.
79855         [BZ #12077]
79856         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79857         for strncmp and strncasecmp.
79858         * string/stratcliff.c: Add tests for strcmp and strncmp.
79859         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79861 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79863         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79864         __set_fpscr.
79866 2010-09-30  Andreas Jaeger  <aj@suse.de>
79868         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79869         (CGROUP_SUPER_MAGIC): Define.
79870         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79871         Handle btrfs and cgroup file systems.
79872         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79873         Likewise.
79875 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79877         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79878         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79880 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79882         [BZ #12067]
79883         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79884         trying to locate the ELF header.
79886 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79888         [BZ #11611]
79889         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79890         Mask out sign-bit copies when constructing f_fsid.
79892 2010-09-24  Petr Baudis <pasky@suse.cz>
79894         * debug/stack_chk_fail_local.c: Add missing licence exception.
79895         * debug/warning-nop.c: Likewise.
79897 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79899         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79900         implementing getdents64 using getdents syscall, set d_type if
79901         __ASSUME_GETDENTS32_D_TYPE.
79903 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79905         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79906         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79908 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79910         [BZ #12037]
79911         * posix/unistd.h: Undo change of feature selection for ftruncate from
79912         2010-01-11.
79914 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79916         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79917         detection.
79919 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79921         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79922         fanotify_mark.
79923         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79925 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79927         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79928         variables after CHECK_SP call.
79929         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79931 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79932             Ulrich Drepper  <drepper@redhat.com>
79934         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79935         re-relocationg ld.so.
79936         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79937         _dl_init_paths call.
79938         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79939         here anymore.
79941 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79943         * resolv/res_init.c (__res_vinit): Count the default server we added.
79945 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79946             Ulrich Drepper  <drepper@redhat.com>
79948         [BZ #11968]
79949         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79950         (____longjmp_chk): Use %ebx for saving value across system call.
79951         Add unwind info.
79953 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79955         * manual/Makefile: Don't mix pattern rules with normal rules.
79957 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79959         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79960         operation.
79961         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79962         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79963         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79964         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79965         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79966         Likewise.
79968 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79970         [BZ #11979]
79971         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79972         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79974 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79976         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79977         * sysdeps/x86_64/addmul_1.S: Likewise.
79978         * sysdeps/x86_64/lshift.S: Likewise.
79979         * sysdeps/x86_64/mul_1.S: Likewise.
79980         * sysdeps/x86_64/rshift.S: Likewise.
79981         * sysdeps/x86_64/sub_n.S: Likewise.
79982         * sysdeps/x86_64/submul_1.S: Likewise.
79984 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79986         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79987         Define __sched_param instead of SCHED_* and sched_param when
79988         <bits/sched.h> is included with __need_schedparam defined.
79989         * bits/sched.h [__need_schedparam]
79990         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79991         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79992         (__defined_schedparam): Define to 1.
79993         (__sched_param): New structure, identical to sched_param.
79994         (__need_schedparam): Undefine.
79996 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79998         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79999         (epoll_create1): Declare.
80001         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80003 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80005         [BZ #7066]
80006         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80007         shifting retval into place.
80009 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80011         * nis/rpcsvc/nis.h: Update copyright notice.
80012         * nis/rpcsvc/nis.x: Likewise.
80013         * nis/rpcsvc/nis_callback.h: Likewise.
80014         * nis/rpcsvc/nis_callback.x: Likewise.
80015         * nis/rpcsvc/nis_object.x: Likewise.
80016         * nis/rpcsvc/nis_tags.h: Likewise.
80017         * nis/rpcsvc/yp.h: Likewise.
80018         * nis/rpcsvc/yp.x: Likewise.
80019         * nis/rpcsvc/ypupd.h: Likewise.
80020         * nis/yp_xdr.c: Likewise.
80021         * nis/ypupdate_xdr.c: Likewise.
80023         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80024         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80025         (pmap_getport): Use __libc_rpc_getport.
80026         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80027         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80028         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80030 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80033         fanotify_mark.
80035 2010-08-27  Roland McGrath  <roland@redhat.com>
80037         * sysdeps/i386/i686/multiarch/Makefile
80038         (CFLAGS-varshift.c): New variable.
80040 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80042         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80043         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80045         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80047         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80049 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80051         * sysdeps/x86_64/strlen.S: Unroll the loop.
80052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80053         strlen-sse2 strlen-sse2-bsf.
80054         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80055         __strlen_no_bsf if bit_Slow_BSF is set.
80056         (__strlen_sse42): Removed.
80057         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80058         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80060 2010-08-25  Roland McGrath  <roland@redhat.com>
80062         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80063         * sysdeps/x86_64/multiarch/varshift.c: New file.
80064         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80065         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80066         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80067         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80069 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80072         strlen-sse2 strlen-sse2-bsf.
80073         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80074         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80075         (__strlen_sse2): Removed.
80076         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80077         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80078         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80079         bit_Slow_BSF for Atom.
80080         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80081         (index_Slow_BSF): Define.
80082         (HAS_SLOW_BSF): Define.
80084 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80086         [BZ #10851]
80087         * resolv/res_init.c (__res_vinit): When no server address at all
80088         is given default to loopback.
80090 2010-08-24  Roland McGrath  <roland@redhat.com>
80092         * configure.in: Remove config-name.h generation.
80093         * configure: Regenerated.
80094         * config-name.in: File removed.
80095         * scripts/config-uname.sh: New file.
80096         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80097         ($(objdir)config-name.h): New target.
80099         * sunrpc/rpc_parse.h: Avoid nested comment.
80101 2010-08-24  Richard Henderson  <rth@redhat.com>
80102             Ulrich Drepper  <drepper@redhat.com>
80103             H.J. Lu  <hongjiu.lu@intel.com>
80105         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80107         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80108         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80109         _mm_alignr_epi8 with _mm_loadu_si128.
80110         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80111         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80112         (__m128i_shift_right): Removed.
80113         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80114         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80115         * sysdeps/x86_64/multiarch/varshift.h: New file.
80116         * sysdeps/x86_64/multiarch/varshift.S: New file.
80118 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80120         * configure.in: Move assembler checks to before sysdep dir checking.
80122 2010-08-20  Petr Baudis  <pasky@suse.cz>
80124         * LICENSES: Sync the sunrpc license.
80126 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80128         * sunrpc/auth_des.c: Update copyright notice once again.
80129         * sunrpc/auth_none.c: Likewise.
80130         * sunrpc/auth_unix.c: Likewise.
80131         * sunrpc/authdes_prot.c: Likewise.
80132         * sunrpc/authuxprot.c: Likewise.
80133         * sunrpc/bindrsvprt.c: Likewise.
80134         * sunrpc/clnt_gen.c: Likewise.
80135         * sunrpc/clnt_perr.c: Likewise.
80136         * sunrpc/clnt_raw.c: Likewise.
80137         * sunrpc/clnt_simp.c: Likewise.
80138         * sunrpc/clnt_tcp.c: Likewise.
80139         * sunrpc/clnt_udp.c: Likewise.
80140         * sunrpc/clnt_unix.c: Likewise.
80141         * sunrpc/des_crypt.c: Likewise.
80142         * sunrpc/des_soft.c: Likewise.
80143         * sunrpc/get_myaddr.c: Likewise.
80144         * sunrpc/getrpcport.c: Likewise.
80145         * sunrpc/key_call.c: Likewise.
80146         * sunrpc/key_prot.c: Likewise.
80147         * sunrpc/openchild.c: Likewise.
80148         * sunrpc/pm_getmaps.c: Likewise.
80149         * sunrpc/pm_getport.c: Likewise.
80150         * sunrpc/pmap_clnt.c: Likewise.
80151         * sunrpc/pmap_prot.c: Likewise.
80152         * sunrpc/pmap_prot2.c: Likewise.
80153         * sunrpc/pmap_rmt.c: Likewise.
80154         * sunrpc/rpc/auth.h: Likewise.
80155         * sunrpc/rpc/auth_unix.h: Likewise.
80156         * sunrpc/rpc/clnt.h: Likewise.
80157         * sunrpc/rpc/des_crypt.h: Likewise.
80158         * sunrpc/rpc/key_prot.h: Likewise.
80159         * sunrpc/rpc/netdb.h: Likewise.
80160         * sunrpc/rpc/pmap_clnt.h: Likewise.
80161         * sunrpc/rpc/pmap_prot.h: Likewise.
80162         * sunrpc/rpc/pmap_rmt.h: Likewise.
80163         * sunrpc/rpc/rpc.h: Likewise.
80164         * sunrpc/rpc/rpc_des.h: Likewise.
80165         * sunrpc/rpc/rpc_msg.h: Likewise.
80166         * sunrpc/rpc/svc.h: Likewise.
80167         * sunrpc/rpc/svc_auth.h: Likewise.
80168         * sunrpc/rpc/types.h: Likewise.
80169         * sunrpc/rpc/xdr.h: Likewise.
80170         * sunrpc/rpc_clntout.c: Likewise.
80171         * sunrpc/rpc_cmsg.c: Likewise.
80172         * sunrpc/rpc_common.c: Likewise.
80173         * sunrpc/rpc_cout.c: Likewise.
80174         * sunrpc/rpc_dtable.c: Likewise.
80175         * sunrpc/rpc_hout.c: Likewise.
80176         * sunrpc/rpc_main.c: Likewise.
80177         * sunrpc/rpc_parse.c: Likewise.
80178         * sunrpc/rpc_parse.h: Likewise.
80179         * sunrpc/rpc_prot.c: Likewise.
80180         * sunrpc/rpc_sample.c: Likewise.
80181         * sunrpc/rpc_scan.c: Likewise.
80182         * sunrpc/rpc_scan.h: Likewise.
80183         * sunrpc/rpc_svcout.c: Likewise.
80184         * sunrpc/rpc_tblout.c: Likewise.
80185         * sunrpc/rpc_util.c: Likewise.
80186         * sunrpc/rpc_util.h: Likewise.
80187         * sunrpc/rpcinfo.c: Likewise.
80188         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80189         * sunrpc/rpcsvc/key_prot.x: Likewise.
80190         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80191         * sunrpc/rpcsvc/mount.x: Likewise.
80192         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80193         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80194         * sunrpc/rpcsvc/rex.x: Likewise.
80195         * sunrpc/rpcsvc/rstat.x: Likewise.
80196         * sunrpc/rpcsvc/rusers.x: Likewise.
80197         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80198         * sunrpc/rpcsvc/spray.x: Likewise.
80199         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80200         * sunrpc/rtime.c: Likewise.
80201         * sunrpc/svc.c: Likewise.
80202         * sunrpc/svc_auth.c: Likewise.
80203         * sunrpc/svc_authux.c: Likewise.
80204         * sunrpc/svc_raw.c: Likewise.
80205         * sunrpc/svc_run.c: Likewise.
80206         * sunrpc/svc_simple.c: Likewise.
80207         * sunrpc/svc_tcp.c: Likewise.
80208         * sunrpc/svc_udp.c: Likewise.
80209         * sunrpc/svc_unix.c: Likewise.
80210         * sunrpc/svcauth_des.c: Likewise.
80211         * sunrpc/xcrypt.c: Likewise.
80212         * sunrpc/xdr.c: Likewise.
80213         * sunrpc/xdr_array.c: Likewise.
80214         * sunrpc/xdr_float.c: Likewise.
80215         * sunrpc/xdr_mem.c: Likewise.
80216         * sunrpc/xdr_rec.c: Likewise.
80217         * sunrpc/xdr_ref.c: Likewise.
80218         * sunrpc/xdr_sizeof.c: Likewise.
80219         * sunrpc/xdr_stdio.c: Likewise.
80221         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80222         handling.
80224 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80226         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80228 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80230         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80231         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80232         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80233         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80234         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80235         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80236         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80237         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80238         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80239         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80240         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80241         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80242         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80243         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80245 2010-07-26  Anton Blanchard  <anton@samba.org>
80247         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80248         * malloc/arena.c (heap_trim): Likewise.
80250 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80252         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80253         here.  Not...
80254         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80255         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80257 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80259         * sysdeps/i386/elf/Makefile: New file.
80261 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80263         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80264         from fanotify_init.
80265         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80266         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80268 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80270         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80271         of strncasecmp_l.
80272         * sysdeps/multiarch/strcmp.S: Likewise.
80274 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80276         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80277         strncase_l-nonascii.
80278         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80279         Add strncase_l-ssse3.
80280         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80281         * sysdeps/x86_64/strcmp.S: Likewise.
80282         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80283         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80284         * sysdeps/x86_64/strncase.S: New file.
80285         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80286         * sysdeps/x86_64/strncase_l.S: New file.
80287         * string/Makefile (strop-tests): Add strncasecmp.
80288         * string/test-strncasecmp.c: New file.
80290         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80291         warning.
80293         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80294         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80296 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80298         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80300 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80302         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80303         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80304         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80306 2010-05-01  Alan Modra  <amodra@gmail.com>
80308         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80309         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80310         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80311         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80312         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80313         tidying.  Don't tail-call __sigjmp_save for static lib.
80314         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80315         save location.
80316         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80317         (CALL_MCOUNT): Add eh info, and nop after bl.
80318         (TAIL_CALL_SYSCALL_ERROR): New macro.
80319         (PSEUDO_RET): Use it.
80320         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80321         Correct save location of integer regs and cr.
80322         (_dl_profile_resolve): Correct cr save location.  Delete nops
80323         after bl when SHARED.  Reduce cfi size a little by better
80324         placement of cfi directives.
80325         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80326         make a stack frame.  Instead use parm save area as a temp.
80327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80328         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80330         Don't make a stack frame for parent, use parm save area.
80331         Increase child stack frame to 112 bytes.  Don't save unused reg,
80332         and adjust reg usage.  Set up cfi on error recovery and
80333         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80335         (__makecontext): Add dummy nop after jump to exit.
80336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80337         Use correct parm save area and cr save, reduce stack frame.
80338         Correct cfi for possible PSEUDO_RET frame setup.
80339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80340         Branch to local label emitted by PSEUDO_RET rather than
80341         __syscall_error.
80343 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80345         [BZ #11904]
80346         * locale/programs/locale.c (print_assignment): New function.
80347         (show_locale_vars): Use it.
80349 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80351         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80352         field.
80353         (struct statfs64): Likewise.
80354         (_STATFS_F_FLAGS): Define.
80355         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80356         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80357         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80358         (ST_VALID): Define locally.
80359         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80360         __statvfs_getflags, use the provided value.
80361         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80362         __ASSUME_STATFS_F_FLAGS.
80364         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80366         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80367         Add sys/fanotify.h.
80368         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80369         fanotify_mask for GLIBC_2.13.
80370         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80371         fanotify_init and fanotify_mark.
80372         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80373         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80375         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80376         Add prlimit.
80377         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80378         prlimit64 for GLIBC_2.13.
80379         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80380         prlimit64.
80381         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80382         syscall.
80383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80384         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80385         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80386         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80387         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80388         add prlimit alias.
80389         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80391         [BZ #11903]
80392         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80393         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80395         * nss/Makefile: Add rules to build and run tst-nss-test1.
80396         * shlib-versions: Add entry for libnss_test1.
80397         * nss/nss_test1.c: New file.
80398         * nss/tst-nss-test1.c: New file.
80400         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80401         (__nss_configure_lookup): Set appropriate entry in
80402         __nss_configure_lookup to true.
80403         * nss/nsswitch.h: Define enum with indeces of databases in
80404         databases and __nss_database_custom arrays.  Declare
80405         __nss_database_custom.
80406         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80407         to avoid using nscd when custom rules are installed.
80408         * nss/getXXbyYY_r.c: Likewise.
80409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80411         * nss/nss_files/files-parse.c: Whitespace fixes.
80413 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80415         [BZ #11883]
80416         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80417         * posix/fnmatch_loop.c: Likewise.
80419 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80421         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80422         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80423         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80424         * Versions.def [GLIBC_2.13]: Add.
80426 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80428         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80429         Also fail if tpwd after pwuid call is NULL.
80431 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80433         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80434         when converting to ms.
80436 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80438         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80439         EOPNOTSUPP errors with ENOTTY.
80440         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80441         EOPNOTSUPP errors with ENOTTY.
80443 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80445         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80446         Add strcasecmp_l-ssse3.
80447         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80448         strcasecmp.
80449         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80450         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80451         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80453 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80455         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80457         * string/Makefile (strop-tests): Add strcasecmp.
80458         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80459         strcasecmp_l-nonascii.
80460         (gen-as-const-headers): Add locale-defines.sym.
80461         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80462         * sysdeps/x86_64/strcasecmp.S: New file.
80463         * sysdeps/x86_64/strcasecmp_l.S: New file.
80464         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80465         * sysdeps/x86_64/locale-defines.sym: New file.
80466         * string/test-strcasecmp.c: New file.
80468         * string/test-strcasestr.c: Test both ends of the range of characters.
80469         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80471 2010-07-29  Roland McGrath  <roland@redhat.com>
80473         [BZ #11856]
80474         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80476 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80478         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80479         for ld.so.
80481 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80483         * manual/memory.texi (Malloc Tunable Parameters): Document
80484         M_PERTURB.
80486 2010-07-26  Roland McGrath  <roland@redhat.com>
80488         [BZ #11840]
80489         * configure.in (-fgnu89-inline check): Set and substitute
80490         gnu89_inline, not libc_cv_gnu89_inline.
80491         * configure: Regenerated.
80492         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80494 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80496         * string/test-strnlen.c: New file.
80497         * string/Makefile (strop-tests): Add strnlen.
80498         * string/tester.c (test_strnlen): Add a few more test cases.
80499         * string/tst-strlen.c: Better error reporting.
80501         * sysdeps/x86_64/strnlen.S: New file.
80503 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80505         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80506         lower-latency instructions.
80508 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80510         * string/test-strcasestr.c: New file.
80511         * string/test-strstr.c: New file.
80512         * string/Makefile (strop-tests): Add strstr and strcasestr.
80513         * string/str-two-way.h: Don't undefine MAX.
80514         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80516 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80518         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80519         strcasestr-nonascii.
80520         (CFLAGS-strcasestr-nonascii.c): Define.
80521         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80522         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80523         Remove unused attribute.
80525 2010-07-20  Roland McGrath  <roland@redhat.com>
80527         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80528         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80529         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80530         like LD_HWCAP_MASK can disable hwcaps.
80532 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80534         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80536 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80538         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80539         call in strcasestr.
80540         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80541         __strcasestr_sse42_nonascii.
80542         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80543         strcasestr-nonascii.c.
80544         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80546 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80548         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80549         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80550         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80551         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80553 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80555         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80556         fcntl.
80558 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80560         [BZ #11577]
80561         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80562         dl_signal_cerror.
80564 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80566         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80567         _PC_PIPE_BUF using F_GETPIPE_SZ.
80569 2010-07-05  Roland McGrath  <roland@redhat.com>
80571         * manual/arith.texi (Rounding Functions): Fix rint description
80572         implicit in round description.
80574 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
80576         * elf/Makefile: Fix linking for a few tests to make recent linker
80577         happy.
80579 2010-06-30  Andreas Schwab  <schwab@redhat.com>
80581         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
80582         $(common-objpfx)libc_nonshared.a.
80584 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
80586         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
80587         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
80588         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80589         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80590         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
80591         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
80592         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80593         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
80595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
80596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
80597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
80598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
80599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
80600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
80601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
80602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
80603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
80604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
80605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
80606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
80607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
80608         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
80609         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
80610         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
80611         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
80612         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
80613         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
80614         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
80615         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
80616         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
80617         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
80618         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
80619         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
80620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
80621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
80622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
80623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
80624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
80625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
80626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
80627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
80628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
80629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
80630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
80631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
80632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
80633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
80635 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
80637         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
80638         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
80639         * string/memmove.c (memmove): Renamed to ...
80640         (MEMMOVE): ...this.  Default to memmove.
80641         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
80642         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
80643         (END_CHK): Define.
80644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80645         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
80646         mempcpy-ssse3-back memmove-ssse3-back.
80647         * sysdeps/x86_64/multiarch/bcopy.S: New file .
80648         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
80649         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
80650         * sysdeps/x86_64/multiarch/memcpy.S: New file.
80651         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
80652         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
80653         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
80654         * sysdeps/x86_64/multiarch/memmove.c: New file.
80655         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
80656         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
80657         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
80658         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
80659         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
80660         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
80661         Define.
80662         (index_Fast_Copy_Backward): Define.
80663         (HAS_ARCH_FEATURE): Define.
80664         (HAS_FAST_REP_STRING): Define.
80665         (HAS_FAST_COPY_BACKWARD): Define.
80667 2010-06-21  Andreas Schwab  <schwab@redhat.com>
80669         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80670         Restore proper fallback handling.
80672 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
80674         [BZ #11701]
80675         * posix/group_member.c (__group_member): Correct checking loop.
80677         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
80678         OOM in getpwuid_r correctly.  Return error number when the caller
80679         should return, otherwise -1.
80680         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
80681         call returning > 0 value.
80682         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
80684 2010-06-07  Andreas Schwab  <schwab@redhat.com>
80686         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
80687         libc_nonshared.a from targets in modules-names.
80689 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
80691         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
80692         requires it.
80694 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
80696         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
80697         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
80698         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
80699         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
80701 2010-06-02  Andreas Schwab  <schwab@redhat.com>
80703         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
80705 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
80707         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
80708         and F_GETPIPE_SZ.
80709         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80710         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80713         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80714         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80716 2010-06-14  Roland McGrath  <roland@redhat.com>
80718         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
80720 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
80722         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
80723         __REDIRECT followed by __THROW.
80724         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
80725         * posix/getopt.h (getopt): Likewise.
80727 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80729         * hurd/lookup-at.c (__file_name_lookup_at): Accept
80730         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
80731         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
80732         in AT_FLAGS.
80733         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
80734         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
80736 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
80738         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
80740 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
80742         [BZ #11640]
80743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80744         Properly check family and model.
80746 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
80748         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
80750 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
80752         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
80754 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
80756         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
80757         symbol reference.
80759 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80761         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80762         symbol reference.
80764 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80766         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80767         and internal_recvmmsg.
80768         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80769         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80770         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80771         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80773         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80774         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80775         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80777 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80779         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80781 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80783         POWER7 optimizations.
80784         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80785         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80787 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80789         * version.h: Update for 2.13 development version.
80791 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80793         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80794         exceptions.  Return 0.
80796 2010-05-07  Roland McGrath  <roland@redhat.com>
80798         * elf/ldconfig.c (main): Add a const.
80800 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80802         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80803         (args_options): Add no-idn option.
80804         (ahosts_keys_int): Add idn_flags to ai_flags.
80805         (parse_option): Handle 'i' option to clear idn_flags.
80807         * malloc/malloc.c (_int_free): Possible race in the most recently
80808         added check.  Only act on the data if no current modification
80809         happened.
80811 See ChangeLog.17 for earlier changes.